AppleScript version of Automator's Safari Actions
I am building an AppleScript studio app and really need some help on how to do applescript versions of Automator's "Get Link URLs from Webpages" and "Get Image URLs from Webpage" actions. I would love to use curl or some other way to prevent the user from actually seeing the webpage.
Thanks for your help
Thanks,
LX-88
"Get Image URLs from Webpage" action
There is a perl script buries inside this AM action:
'/System/Library/Automator/Get Image URLs from Webpage.action/Contents/Resources/images'
You can run that from AS, it gives you links to the images. Then, you step thru the list and curl the images. Here is one to get link to images at Apple site:
set _URL to "apple.com" -- change this to your site
set images_pl to "/System/Library/Automator/Get Image URLs from Webpage.action/Contents/Resources/images"
set site_images to do shell script (quoted form of images_pl & space & quoted form of _URL)
Similar Messages
-
Need help creating applescript to perform automator actions.
Hi,
I am looking for help with an applescript the will tell automator to execute the steps of a workflow. I'm aware that I coud just run a workflow or even tell applescript to instruct automator to run the workflow, however, I am looking to make this part of a larger workflow and this method would save the hassel of having to create a new workflow outside of applescript each time.
I would like automator to "get folder contents" then "extract pdf text" to a "new file" with the "same name as original file" in the "same location as original" and "save as txt". This doesnt seem to difficult to me, however, I have limited knowledge of scripting at this time.
I appreciate anyones help...Hi,
I'd say on a difficulty scale of 1-10, what you're asking for is a seven.
Automator is scriptable, but when you run a basic AppleScript like
tell application "Automator" to make new workflow
you immediately get taken to the dialog asking you to choose a type for your document (app, calendar plugin etc). So that's going to stop the AppleScript dead in its tracks. It might be possible to move on with GUI scripting (using AppleScript to click the buttons) but it would be a ferocious cludge.
I think the best approach would be to manually create an empty action as a starting point. You would then need an AppleScript that would duplicate the workflow file (so you've got a fresh one to duplicate next time), open it in Automator, add the appropriate actions, set the settings etc.
It all sounds a bit too complicated
HD -
Automating using Photoshop Actions & Excel document??
Hi - I'm new to automator and I wanted to know if it was possible to have automator run photoshop actions and also pull info from an excel document. Here is ideally what I’d like to do:
I receive hundreds of images (book covers & interiors) that I’d like to resize and rename automatically when they are Dropped into a folder.
There are 3 different resizes that I’d like to be done. I have the resizing actions in photoshop already. I run the automate>batch command in photoshop, but I’d still like to make it simpler.
Original files – These are how I receive the files and I clean them up to look like this.
- COVERS – i.e. 140394877213_ccvr.tif
- SPREADS – i.e. 140394877213_csp1.tif, 140394877213_csp2.tif, etc.
Here are the different folders
Folder 1(sized for catalog use) – action set up in photoshop cs2 that will size covers, another action to size spreads at a different size.
- covers – bookname.tif
- spreads – 140394877213_csp1.tif
Folder 2 (smallest sized cover) – action in photoshop to resize cover
- covers – 140394877213.tif
Folder 3(sized for powerpoint presentation) – action in photoshop that will resize covers to a certain size, and a separate action that will size spreads to another size.
- covers – bookname.tif
- spreads – bookname_csp1.tif, etc.
5 photoshop actions in total
When the original files are dropped into the specified folders (folder 1, folder 2, folder 3), a photoshop action is run that resizes all the files in the folder and also renames the files.
Can I do this? I have all the books and isbns in an excel document that I’d like automator or applescript to pull the information from the excel doc to rename the files accordingly.
Also, is there a way to record the names of the files I receive in an excel document?
Or even better, after the images are placed in the folder, can a script check the excel document (that has the listing of the booknames and isbns) and mark off which files where received and placed in the folder. I hope that was clear.
Any help or advice would be much appreciated!
MacBook Mac OS X (10.4.8)ngb111,
I know this is possible through AppleScript as I just finished off a script that renames files based on an Excel list.
http://discussions.apple.com/thread.jspa?threadID=871047&tstart=0
It might be also be possible using Automator through some third-party Automator actions.
http://www.hanaan.com/Automatorbookonline/Automator%20Actions%20Download.html -
HELP, My SWF doesn´t work in latest versions of IE and Safari
I have a swf made in Flash CS4. It works fine in firefox and older versions of flash player in IE, but it doesn't work in recent versions of IE and Safari In this case just I can hear the music.
Could help me please, my URL is:
http://www.quecolor.com.mx/UAT/Hi,
Did you try embedding swf using SWFObject via JavaScript ? Here is more information on how to embed swf using swfobject. http://code.google.com/p/swfobject/wiki/documentation
Thanks,
Karthikeyan R. -
I use "element 12" and want like in the old PS version due Automating and Contact II upload multiple filesand print them with any columns and rows on the same page . How does it work?
Can you supply a link?
-
HT1349 New software versions of iTunes and Safari hanging my XP system.
I have updated my software versions of iTunes and Safari in response to update message. Upgraded software is now causing my XP system to hang. It looks as if neither of the new versions can access the internet.
In the course of your troubleshooting to date, have you worked through the following document?
Apple software on Windows: May see performance issues and blank iTunes Store -
Mac os x version 10.5.8 safari not working
mac os x version 10.5.8 safari not working Process: Safari [665]
Path: /Applications/Safari.app/Contents/MacOS/Safari
Identifier: com.apple.Safari
Version: 5.0.6 (5533.22.3)
Build Info: WebBrowser-75332203~3
Code Type: X86 (Native)
Parent Process: launchd [102]
Interval Since Last Report: 4171 sec
Crashes Since Last Report: 9
Per-App Interval Since Last Report: 134 sec
Per-App Crashes Since Last Report: 9
Date/Time: 2012-01-08 12:12:31.000 +0000
OS Version: Mac OS X 10.5.8 (9L31a)
Report Version: 6
Anonymous UUID: 5E58B04C-DC4D-4A2D-A13F-FA5897F030C1
Exception Type: EXC_BAD_ACCESS (SIGBUS)
Exception Codes: KERN_PROTECTION_FAILURE at 0x00000000006b2ffc
Crashed Thread: 3
Thread 0:
0 libSystem.B.dylib 0x907e8166 mach_msg_trap + 10
1 libSystem.B.dylib 0x907ef95c mach_msg + 72
2 com.apple.CoreFoundation 0x96983e7e CFRunLoopRunSpecific + 1790
3 com.apple.CoreFoundation 0x96984aa8 CFRunLoopRunInMode + 88
4 com.apple.HIToolbox 0x961d12ac RunCurrentEventLoopInMode + 283
5 com.apple.HIToolbox 0x961d10c5 ReceiveNextEventCommon + 374
6 com.apple.HIToolbox 0x961d0f39 BlockUntilNextEventMatchingListInMode + 106
7 com.apple.AppKit 0x937f26d5 _DPSNextEvent + 657
8 com.apple.AppKit 0x937f1f88 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 128
9 com.apple.Safari 0x000166ad 0x1000 + 87725
10 com.apple.AppKit 0x937eaf9f -[NSApplication run] + 795
11 com.apple.AppKit 0x937b81d8 NSApplicationMain + 574
12 com.apple.Safari 0x0000acee 0x1000 + 40174
Thread 1:
0 libSystem.B.dylib 0x907ef34e __semwait_signal + 10
1 libSystem.B.dylib 0x90819ccd pthread_cond_wait$UNIX2003 + 73
2 com.apple.JavaScriptCore 0x92da7d58 ***::TCMalloc_PageHeap::scavengerThread() + 824
3 com.apple.JavaScriptCore 0x92da7d8f ***::TCMalloc_PageHeap::runScavengerThread(void*) + 15
4 libSystem.B.dylib 0x90819055 _pthread_start + 321
5 libSystem.B.dylib 0x90818f12 thread_start + 34
Thread 2:
0 libSystem.B.dylib 0x907ef34e __semwait_signal + 10
1 libSystem.B.dylib 0x90819ccd pthread_cond_wait$UNIX2003 + 73
2 com.apple.WebCore 0x9506b587 WebCore::IconDatabase::syncThreadMainLoop() + 279
3 com.apple.WebCore 0x95068e19 WebCore::IconDatabase::iconDatabaseSyncThread() + 761
4 libSystem.B.dylib 0x90819055 _pthread_start + 321
5 libSystem.B.dylib 0x90818f12 thread_start + 34
Thread 3 Crashed:
0 libSystem.B.dylib 0xffff0f20 __memcpy + 1920 (cpu_capabilities.h:246)
1 libsqlite3.0.dylib 0x97224652 allocateBtreePage + 1810
2 libsqlite3.0.dylib 0x97227a83 incrVacuumStep + 851
3 libsqlite3.0.dylib 0x972716ce sqlite3VdbeExec + 2606
4 libsqlite3.0.dylib 0x9727cea2 sqlite3Step + 386
5 libsqlite3.0.dylib 0x9725d624 sqlite3_exec + 260
6 com.apple.CFNetwork 0x9003019e __CFURLCache::ExecSQLStatement(sqlite3*, char const*, int (*)(void*, int, char**, char**), void*, long) + 64
7 com.apple.CFNetwork 0x9000cb05 ProcessCacheTasks(__CFURLCache*) + 1433
8 com.apple.CFNetwork 0x9000629f CFURLCacheTimerCallback(__CFRunLoopTimer*, void*) + 165
9 com.apple.CoreFoundation 0x969848f5 CFRunLoopRunSpecific + 4469
10 com.apple.CoreFoundation 0x96984aa8 CFRunLoopRunInMode + 88
11 com.apple.CFNetwork 0x9000618c CFURLCacheWorkerThread(void*) + 388
12 libSystem.B.dylib 0x90819055 _pthread_start + 321
13 libSystem.B.dylib 0x90818f12 thread_start + 34
Thread 4:
0 libSystem.B.dylib 0x907ef34e __semwait_signal + 10
1 libSystem.B.dylib 0x90819ccd pthread_cond_wait$UNIX2003 + 73
2 com.apple.JavaScriptCore 0x92bfc6b1 ***::ThreadCondition::timedWait(***::Mutex&, double) + 81
3 com.apple.WebCore 0x9508477c WebCore::LocalStorageThread::threadEntryPoint() + 188
4 libSystem.B.dylib 0x90819055 _pthread_start + 321
5 libSystem.B.dylib 0x90818f12 thread_start + 34
Thread 5:
0 libSystem.B.dylib 0x907e8166 mach_msg_trap + 10
1 libSystem.B.dylib 0x907ef95c mach_msg + 72
2 com.apple.CoreFoundation 0x96983e7e CFRunLoopRunSpecific + 1790
3 com.apple.CoreFoundation 0x96984aa8 CFRunLoopRunInMode + 88
4 com.apple.Safari 0x0002f33d 0x1000 + 189245
5 com.apple.Safari 0x0002f08a 0x1000 + 188554
6 com.apple.Safari 0x0002f023 0x1000 + 188451
7 libSystem.B.dylib 0x90819055 _pthread_start + 321
8 libSystem.B.dylib 0x90818f12 thread_start + 34
Thread 6:
0 libSystem.B.dylib 0x907ef34e __semwait_signal + 10
1 libSystem.B.dylib 0x90819ccd pthread_cond_wait$UNIX2003 + 73
2 com.apple.JavaScriptCore 0x92bfc6b1 ***::ThreadCondition::timedWait(***::Mutex&, double) + 81
3 com.apple.Safari 0x001ae478 0x1000 + 1758328
4 com.apple.Safari 0x00044cdd 0x1000 + 277725
5 com.apple.Safari 0x00044c2d 0x1000 + 277549
6 libSystem.B.dylib 0x90819055 _pthread_start + 321
7 libSystem.B.dylib 0x90818f12 thread_start + 34
Thread 7:
0 libSystem.B.dylib 0x907e8166 mach_msg_trap + 10
1 libSystem.B.dylib 0x907ef95c mach_msg + 72
2 com.apple.CoreFoundation 0x96983e7e CFRunLoopRunSpecific + 1790
3 com.apple.CoreFoundation 0x96984aa8 CFRunLoopRunInMode + 88
4 com.apple.Foundation 0x9181a520 +[NSURLConnection(NSURLConnectionReallyInternal) _resourceLoadLoop:] + 320
5 com.apple.Foundation 0x917b6dfd -[NSThread main] + 45
6 com.apple.Foundation 0x917b69a4 __NSThread__main__ + 308
7 libSystem.B.dylib 0x90819055 _pthread_start + 321
8 libSystem.B.dylib 0x90818f12 thread_start + 34
Thread 8:
0 libSystem.B.dylib 0x9083760a select$DARWIN_EXTSN + 10
1 libSystem.B.dylib 0x90819055 _pthread_start + 321
2 libSystem.B.dylib 0x90818f12 thread_start + 34
Thread 9:
0 libSystem.B.dylib 0x907ef34e __semwait_signal + 10
1 libSystem.B.dylib 0x90819ccd pthread_cond_wait$UNIX2003 + 73
2 com.apple.JavaScriptCore 0x92bfc6b1 ***::ThreadCondition::timedWait(***::Mutex&, double) + 81
3 com.apple.WebCore 0x9508477c WebCore::LocalStorageThread::threadEntryPoint() + 188
4 libSystem.B.dylib 0x90819055 _pthread_start + 321
5 libSystem.B.dylib 0x90818f12 thread_start + 34
Thread 3 crashed with X86 Thread State (32-bit):
eax: 0xffff07a0 ebx: 0x97270cc4 ecx: 0x00000038 edx: 0xffbc33c0
edi: 0x00b6e670 esi: 0x00aefc74 ebp: 0xb0183dc8 esp: 0xb0183dc0
ss: 0x0000001f efl: 0x00010286 eip: 0xffff0f20 cs: 0x00000017
ds: 0x0000001f es: 0x0000001f fs: 0x0000001f gs: 0x00000037
cr2: 0x006b2ffc
Binary Images:
0x1000 - 0x5d3ffc com.apple.Safari 5.0.6 (5533.22.3) <79731a26a77704fb4831e3adc020a381> /Applications/Safari.app/Contents/MacOS/Safari
0x644000 - 0x64ffff libxar.1.dylib ??? (???) /usr/lib/libxar.1.dylib
0x657000 - 0x681fe8 com.apple.framework.Apple80211 5.2.8 (528.1) <97dfd0c2d44d3c5839dd96f74e43d9c2> /System/Library/PrivateFrameworks/Apple80211.framework/Versions/A/Apple80211
0x692000 - 0x6a1ffc SyndicationUI ??? (???) <4cb2f7ffaf3185ff4e036082064e7121> /System/Library/PrivateFrameworks/SyndicationUI.framework/Versions/A/Syndicatio nUI
0x11d30000 - 0x11f38fef + ??? (???) <ef9996f5ec0caf58dc832a4153196a1e>
0x14fdb000 - 0x14fe0ff3 libCGXCoreImage.A.dylib ??? (???) <30bd95e38c8a203ee387013527cfd9d0> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ CoreGraphics.framework/Versions/A/Resources/libCGXCoreImage.A.dylib
0x175dc000 - 0x175ddfff com.apple.JavaPluginCocoa 12.9.0 (12.9.0) <5451adf6a77e3088b1a096fe1e16b189> /System/Library/Frameworks/JavaVM.framework/Versions/A/JavaPluginCocoa.bundle/C ontents/MacOS/JavaPluginCocoa
0x175e3000 - 0x175e7ffd JavaLaunching ??? (???) <41aa04fadb9589ab9c249284090b2ef7> /System/Library/PrivateFrameworks/JavaLaunching.framework/Versions/A/JavaLaunch ing
0x8fe00000 - 0x8fe2db43 dyld 97.1 (???) <458eed38a009e5658a79579e7bc26603> /usr/lib/dyld
0x90003000 - 0x900aafec com.apple.CFNetwork 438.16 (438.16) <0a2f633dc532b176109547367f209ced> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CFNetwo rk.framework/Versions/A/CFNetwork
0x900c3000 - 0x900d2ffe com.apple.DSObjCWrappers.Framework 1.3 (1.3) <a2f7a163a74c134f6f17d497423436fe> /System/Library/PrivateFrameworks/DSObjCWrappers.framework/Versions/A/DSObjCWra ppers
0x900d3000 - 0x905a4fbe libGLProgrammability.dylib ??? (???) <d5cb4e7997a873cd77523689e6749acd> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLProgramma bility.dylib
0x90613000 - 0x90664ff7 com.apple.HIServices 1.7.1 (???) <ba7fd0ede540a0da08db027f87efbd60> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ HIServices.framework/Versions/A/HIServices
0x906cd000 - 0x9070dfef com.apple.CoreMedia 0.484.2 (484.2) <a3f49c4ac23e1e4ff60061ef279e367c> /System/Library/PrivateFrameworks/CoreMedia.framework/Versions/A/CoreMedia
0x9070e000 - 0x9074dfef libTIFF.dylib ??? (???) <2afd7f6079224311d67ab427e10bf61c> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/Resources/libTIFF.dylib
0x9074e000 - 0x9077fffb com.apple.quartzfilters 1.5.0 (1.5.0) <22581f8fe9dd2cb261f97a897407ec3e> /System/Library/Frameworks/Quartz.framework/Versions/A/Frameworks/QuartzFilters .framework/Versions/A/QuartzFilters
0x90780000 - 0x907cefe3 com.apple.AppleVAFramework 4.1.17 (4.1.17) /System/Library/PrivateFrameworks/AppleVA.framework/Versions/A/AppleVA
0x907cf000 - 0x907e4ffb com.apple.ImageCapture 5.0.2 (5.0.2) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/ImageCapture. framework/Versions/A/ImageCapture
0x907e5000 - 0x907e5fff com.apple.Carbon 136 (136) <a668670c206841fdcb893bfacddfd4b9> /System/Library/Frameworks/Carbon.framework/Versions/A/Carbon
0x907e6000 - 0x907e6ffa com.apple.CoreServices 32 (32) <2fcc8f3bd5bbfc000b476cad8e6a3dd2> /System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices
0x907e7000 - 0x9094eff3 libSystem.B.dylib ??? (???) <be7a9fa5c8a925578bddcbaa72e5bf6e> /usr/lib/libSystem.B.dylib
0x9094f000 - 0x90d0dfea libLAPACK.dylib ??? (???) /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.fr amework/Versions/A/libLAPACK.dylib
0x90d0e000 - 0x90d0eff8 com.apple.ApplicationServices 34 (34) <8f910fa65f01d401ad8d04cc933cf887> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Application Services
0x90d0f000 - 0x90d1bffe libGL.dylib ??? (???) /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib
0x90dd3000 - 0x90ddaffe libbsm.dylib ??? (???) <d25c63378a5029648ffd4b4669be31bf> /usr/lib/libbsm.dylib
0x90ddb000 - 0x91178fef com.apple.QuartzCore 1.5.8 (1.5.8) <18113e06d296230d63a63b58baf35f55> /System/Library/Frameworks/QuartzCore.framework/Versions/A/QuartzCore
0x91179000 - 0x91185fff libbz2.1.0.dylib ??? (???) <d355415c89c383330697a7b73d6dbc2e> /usr/lib/libbz2.1.0.dylib
0x912ea000 - 0x91344ff7 com.apple.CoreText 2.0.5 (???) <5483518a613464d043455ac661a9dcbe> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ CoreText.framework/Versions/A/CoreText
0x91345000 - 0x913d2ff7 com.apple.framework.IOKit 1.5.2 (???) <7a3cc24f78f93931731203854ae0d891> /System/Library/Frameworks/IOKit.framework/Versions/A/IOKit
0x913d3000 - 0x9141eff7 com.apple.CoreMediaIOServices 140.0 (1492) <3fd3879b31be7659c1008e8991e9f69b> /System/Library/PrivateFrameworks/CoreMediaIOServices.framework/Versions/A/Core MediaIOServices
0x9142b000 - 0x914a8fef libvMisc.dylib ??? (???) /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.fr amework/Versions/A/libvMisc.dylib
0x914a9000 - 0x914b9ffc com.apple.LangAnalysis 1.6.5 (1.6.5) <d057feb38163121ffd871c564c692804> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ LangAnalysis.framework/Versions/A/LangAnalysis
0x914ba000 - 0x914f8fff libGLImage.dylib ??? (???) <2e570958595e0c9c3a289158223b39ee> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLImage.dyl ib
0x914f9000 - 0x915a0feb com.apple.QD 3.11.57 (???) <35f058678972d42b88ebdf652df79956> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ QD.framework/Versions/A/QD
0x915a1000 - 0x915c5fff libxslt.1.dylib ??? (???) <c372568bd2f7169efa0faee6546eead3> /usr/lib/libxslt.1.dylib
0x915f0000 - 0x91631fe7 libRIP.A.dylib ??? (???) <cd04df9e8993c51312c8cbcfe2539914> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ CoreGraphics.framework/Versions/A/Resources/libRIP.A.dylib
0x91632000 - 0x91632ffc com.apple.audio.units.AudioUnit 1.5 (1.5) /System/Library/Frameworks/AudioUnit.framework/Versions/A/AudioUnit
0x91633000 - 0x916e4fff edu.mit.Kerberos 6.0.15 (6.0.15) <28005ea82ba82307f185c255c25bfdd3> /System/Library/Frameworks/Kerberos.framework/Versions/A/Kerberos
0x916e5000 - 0x91778ff3 com.apple.ApplicationServices.ATS 3.8 (???) <e61b0945da6ab368348a927f7428ad67> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ATS.framework/Versions/A/ATS
0x91779000 - 0x917abfff com.apple.LDAPFramework 1.4.5 (110) <bb7a3e5d66f00d1d1c8a40569b003ba3> /System/Library/Frameworks/LDAP.framework/Versions/A/LDAP
0x917ac000 - 0x91a28fe7 com.apple.Foundation 6.5.9 (677.26) <c68b3cff7864959becfc7fd1a384f925> /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation
0x91a29000 - 0x91a37ffd libz.1.dylib ??? (???) <5ddd8539ae2ebfd8e7cc1c57525385c7> /usr/lib/libz.1.dylib
0x91a38000 - 0x920d8fff com.apple.CoreGraphics 1.409.8 (???) <25020feb388637ee860451c19b613c48> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ CoreGraphics.framework/Versions/A/CoreGraphics
0x920d9000 - 0x920e2fff com.apple.speech.recognition.framework 3.7.24 (3.7.24) <17537dd39882e07142db9e5c2db170b8> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SpeechRecogni tion.framework/Versions/A/SpeechRecognition
0x920e3000 - 0x920e8fff com.apple.DisplayServicesFW 2.0.2 (2.0.2) <cb9b98b43ae385a0f374baabe2b71764> /System/Library/PrivateFrameworks/DisplayServices.framework/Versions/A/DisplayS ervices
0x921cc000 - 0x92316feb com.apple.QTKit 7.7 (1680.28) <c03868cba11c22743a5d68e1b0184399> /System/Library/Frameworks/QTKit.framework/Versions/A/QTKit
0x92317000 - 0x923f8ff7 libxml2.2.dylib ??? (???) <f274ba384fb55203873f9c17569ef131> /usr/lib/libxml2.2.dylib
0x924f8000 - 0x924f8ffd com.apple.Accelerate 1.4.2 (Accelerate 1.4.2) /System/Library/Frameworks/Accelerate.framework/Versions/A/Accelerate
0x924f9000 - 0x924fdfff libmathCommon.A.dylib ??? (???) /usr/lib/system/libmathCommon.A.dylib
0x924fe000 - 0x924feffd com.apple.Accelerate.vecLib 3.4.2 (vecLib 3.4.2) /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.fr amework/Versions/A/vecLib
0x924ff000 - 0x924ffffb com.apple.installserver.framework 1.0 (8) /System/Library/PrivateFrameworks/InstallServer.framework/Versions/A/InstallSer ver
0x92500000 - 0x92500ffd com.apple.vecLib 3.4.2 (vecLib 3.4.2) /System/Library/Frameworks/vecLib.framework/Versions/A/vecLib
0x92501000 - 0x92511fff com.apple.speech.synthesis.framework 3.7.1 (3.7.1) <9a71429c74ed6ca43eb35e1f78471b2e> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ SpeechSynthesis.framework/Versions/A/SpeechSynthesis
0x92512000 - 0x9253dfe7 libauto.dylib ??? (???) <4f3e58cb81da07a1662c1f647ce30225> /usr/lib/libauto.dylib
0x9253e000 - 0x9259bffb libstdc++.6.dylib ??? (???) <04b812dcec670daa8b7d2852ab14be60> /usr/lib/libstdc++.6.dylib
0x9259c000 - 0x926eeff3 com.apple.audio.toolbox.AudioToolbox 1.5.3 (1.5.3) /System/Library/Frameworks/AudioToolbox.framework/Versions/A/AudioToolbox
0x926ef000 - 0x92782fff com.apple.ink.framework 101.3 (86) <bf3fa8927b4b8baae92381a976fd2079> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Ink.framework /Versions/A/Ink
0x92783000 - 0x92954fef com.apple.security 5.0.7 (1) <44e26a9c40630a54d5a9f70c18483411> /System/Library/Frameworks/Security.framework/Versions/A/Security
0x92955000 - 0x92957fff com.apple.securityhi 3.0 (30817) <8c9db9ce1626eff2aff002549fb58d7d> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SecurityHI.fr amework/Versions/A/SecurityHI
0x92958000 - 0x9295fff7 libCGATS.A.dylib ??? (???) <8875cf11c0de0579423ac6b6ce80336d> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ CoreGraphics.framework/Versions/A/Resources/libCGATS.A.dylib
0x92960000 - 0x9297bff3 libPng.dylib ??? (???) <e0c3bdc3144e1ed91f1e4d00d147ff3a> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/Resources/libPng.dylib
0x9297c000 - 0x92983fff com.apple.agl 3.0.9 (AGL-3.0.9) <5a57ce58f8adb7825e1adb9f7cdea151> /System/Library/Frameworks/AGL.framework/Versions/A/AGL
0x92984000 - 0x92a72fef com.apple.PubSub 1.0.5 (65.23) <7d496f89df21f6b9ecf99a7727469c2a> /System/Library/Frameworks/PubSub.framework/Versions/A/PubSub
0x92a73000 - 0x92a73ff8 com.apple.Cocoa 6.5 (???) <e064f94d969ce25cb7de3cfb980c3249> /System/Library/Frameworks/Cocoa.framework/Versions/A/Cocoa
0x92a79000 - 0x92aebfff com.apple.PDFKit 2.1.2 (2.1.2) /System/Library/Frameworks/Quartz.framework/Versions/A/Frameworks/PDFKit.framew ork/Versions/A/PDFKit
0x92b3e000 - 0x92b5aff3 com.apple.CoreVideo 1.6.1 (48.6) <e1eea31edd855f3e739202eb18ac8312> /System/Library/Frameworks/CoreVideo.framework/Versions/A/CoreVideo
0x92b5b000 - 0x92b65feb com.apple.audio.SoundManager 3.9.2 (3.9.2) <0f2ba6e891d3761212cf5a5e6134d683> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/CarbonSound.f ramework/Versions/A/CarbonSound
0x92b66000 - 0x92bf0ff7 com.apple.DesktopServices 1.4.9 (1.4.9) <f5e51a76d315798371b3dd35a4d46d6c> /System/Library/PrivateFrameworks/DesktopServicesPriv.framework/Versions/A/Desk topServicesPriv
0x92bf1000 - 0x92e08ff7 com.apple.JavaScriptCore 5534 (5534.49) <b6a2c99482d55a354e6281cd4dd82518> /System/Library/Frameworks/JavaScriptCore.framework/Versions/A/JavaScriptCore
0x92e09000 - 0x92e88ff5 com.apple.SearchKit 1.2.2 (1.2.2) <3b5f3ab6a363a4d8a2bbbf74213ab0e5> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/SearchK it.framework/Versions/A/SearchKit
0x92e89000 - 0x92eadfeb libssl.0.9.7.dylib ??? (???) <5b29af782be5894be8b336c9c73c18b6> /usr/lib/libssl.0.9.7.dylib
0x92eae000 - 0x92ecdffa libJPEG.dylib ??? (???) <6d61215d5adfd74f75fed2e4db29a21c> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/Resources/libJPEG.dylib
0x92f1d000 - 0x92f22fff com.apple.CommonPanels 1.2.4 (85) <ea0665f57cd267609466ed8b2b20e893> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/CommonPanels. framework/Versions/A/CommonPanels
0x92f23000 - 0x92f5afff com.apple.SystemConfiguration 1.9.2 (1.9.2) <41d5aeffefc6d19d471f51ae0b15024f> /System/Library/Frameworks/SystemConfiguration.framework/Versions/A/SystemConfi guration
0x92f5b000 - 0x92f62fe9 libgcc_s.1.dylib ??? (???) <f53c808e87d1184c0f9df63aef53ce0b> /usr/lib/libgcc_s.1.dylib
0x92f68000 - 0x92fe5feb com.apple.audio.CoreAudio 3.1.2 (3.1.2) <782a08c44be4698597f4bbd79cac21c6> /System/Library/Frameworks/CoreAudio.framework/Versions/A/CoreAudio
0x92fe6000 - 0x930a1fe3 com.apple.CoreServices.OSServices 228.1 (228.1) <9c640e79ad97f335730d8a49f6cb2032> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/OSServi ces.framework/Versions/A/OSServices
0x930a2000 - 0x930affe7 com.apple.opengl 1.5.10 (1.5.10) <e7d1198d869f45f09251f9697cbdd192> /System/Library/Frameworks/OpenGL.framework/Versions/A/OpenGL
0x930b0000 - 0x930d8ff7 com.apple.shortcut 1.0.1 (1.0) <37e4b08cfaf9edb08b8682a06c4ec844> /System/Library/PrivateFrameworks/Shortcut.framework/Versions/A/Shortcut
0x930d9000 - 0x931a0ff2 com.apple.vImage 3.0 (3.0) /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vImage.fr amework/Versions/A/vImage
0x931a1000 - 0x931b7fff com.apple.DictionaryServices 1.0.0 (1.0.0) <ad0aa0252e3323d182e17f50defe56fc> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Diction aryServices.framework/Versions/A/DictionaryServices
0x93271000 - 0x93280fff libsasl2.2.dylib ??? (???) <0ae9f3c08d8508d9dba56324c60ceb63> /usr/lib/libsasl2.2.dylib
0x93281000 - 0x93282ffc libffi.dylib ??? (???) <a3b573eb950ca583290f7b2b4c486d09> /usr/lib/libffi.dylib
0x93283000 - 0x933a0ff7 com.apple.WebKit 5534 (5534.50.2) <643ffe6446c331210a74f896f0804eb2> /System/Library/Frameworks/WebKit.framework/Versions/A/WebKit
0x933a1000 - 0x937b1fef libBLAS.dylib ??? (???) /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.fr amework/Versions/A/libBLAS.dylib
0x937b2000 - 0x93fb0fef com.apple.AppKit 6.5.9 (949.54) <4df5d2e2271175452103f789b4f4d8a8> /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
0x93fb1000 - 0x93fceff7 com.apple.QuickLookFramework 1.3.1 (170.9) /System/Library/Frameworks/QuickLook.framework/Versions/A/QuickLook
0x93fcf000 - 0x93fcfffe com.apple.quartzframework 1.5 (1.5) <4b8f505e32e4f2d67967a276401f9aaf> /System/Library/Frameworks/Quartz.framework/Versions/A/Quartz
0x93fd0000 - 0x93feeff3 com.apple.DirectoryService.Framework 3.5.7 (3.5.7) <b4cd561d2481c4162ecf0acdf8cb062c> /System/Library/Frameworks/DirectoryService.framework/Versions/A/DirectoryServi ce
0x93ff4000 - 0x94ef4fe6 com.apple.QuickTimeComponents.component 7.7 (1680.28) /System/Library/QuickTime/QuickTimeComponents.component/Contents/MacOS/QuickTim eComponents
0x94ef5000 - 0x94efbfff com.apple.print.framework.Print 218.0.3 (220.2) <8c541d587e4068a5fe5a5ce8ee208516> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Print.framewo rk/Versions/A/Print
0x94efc000 - 0x94f29feb libvDSP.dylib ??? (???) <f39d424bd56a0e75d5c7a2280a25cd76> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.fr amework/Versions/A/libvDSP.dylib
0x94f2a000 - 0x94f35fe7 libCSync.A.dylib ??? (???) <f3228c803584320fde5e1bb9f04b4d44> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ CoreGraphics.framework/Versions/A/Resources/libCSync.A.dylib
0x94f36000 - 0x94f85fff com.apple.QuickLookUIFramework 1.3.1 (170.9) /System/Library/PrivateFrameworks/QuickLookUI.framework/Versions/A/QuickLookUI
0x94f86000 - 0x94fa4fff libresolv.9.dylib ??? (???) <0e26b308654f33fc94a0c010a50751f9> /usr/lib/libresolv.9.dylib
0x94fa5000 - 0x94fe7fef com.apple.NavigationServices 3.5.2 (163) <7f4f1766414a511bf5bc68920ac85a88> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/NavigationSer vices.framework/Versions/A/NavigationServices
0x94fe8000 - 0x95062ff8 com.apple.print.framework.PrintCore 5.5.4 (245.6) <9ae833544b8249984c07544dbe6a97fa> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ PrintCore.framework/Versions/A/PrintCore
0x95063000 - 0x95dd1fe3 com.apple.WebCore 5534 (5534.50.1) <bef6f01e56834f2498918b264f0acbf7> /System/Library/Frameworks/WebKit.framework/Versions/A/Frameworks/WebCore.frame work/Versions/A/WebCore
0x95dd2000 - 0x95dd4ffd com.apple.CrashReporterSupport 10.5.7 (161) <ccdc3f2000afa5fcbb8537845f36dc01> /System/Library/PrivateFrameworks/CrashReporterSupport.framework/Versions/A/Cra shReporterSupport
0x95dd5000 - 0x96191ff4 com.apple.VideoToolbox 0.484.2 (484.2) <f8e0dbf848f7441bc31428305a2f65bf> /System/Library/PrivateFrameworks/VideoToolbox.framework/Versions/A/VideoToolbo x
0x96192000 - 0x9619afff com.apple.DiskArbitration 2.2.1 (2.2.1) <ba64dd6ada417b5e7be736957f380bca> /System/Library/Frameworks/DiskArbitration.framework/Versions/A/DiskArbitration
0x961a1000 - 0x964a9fe7 com.apple.HIToolbox 1.5.6 (???) <eece3cb8aa0a4e6843fcc1500aca61c5> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.fra mework/Versions/A/HIToolbox
0x964aa000 - 0x96575fef com.apple.ColorSync 4.5.4 (4.5.4) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ColorSync.framework/Versions/A/ColorSync
0x9667d000 - 0x966acfe3 com.apple.AE 402.3 (402.3) <dba512e47f68eea1dd0ab35f596edb34> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/AE.fram ework/Versions/A/AE
0x966ad000 - 0x966c5fff com.apple.openscripting 1.2.8 (???) <a888b18c8527f71629702ed8dce9c877> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/OpenScripting .framework/Versions/A/OpenScripting
0x966da000 - 0x966dcff5 libRadiance.dylib ??? (???) <73169d8c3fc31df4005e8eaa0d16bde5> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/Resources/libRadiance.dylib
0x966dd000 - 0x96728fe1 com.apple.securityinterface 3.0.4 (37213) <16de57ab3e3f85f3b753f116e2fa7847> /System/Library/Frameworks/SecurityInterface.framework/Versions/A/SecurityInter face
0x96729000 - 0x9678fffb com.apple.ISSupport 1.8 (38.3) /System/Library/PrivateFrameworks/ISSupport.framework/Versions/A/ISSupport
0x96790000 - 0x96910fff com.apple.AddressBook.framework 4.1.2 (702) <f9360f9926ccd411fdf7550b73034d17> /System/Library/Frameworks/AddressBook.framework/Versions/A/AddressBook
0x96911000 - 0x96a44fe7 com.apple.CoreFoundation 6.5.7 (476.19) <a332c8f45529ee26d2e9c36d0c723bad> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
0x96a45000 - 0x96aa1ff7 com.apple.htmlrendering 68 (1.1.3) <fe87a9dede38db00e6c8949942c6bd4f> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HTMLRendering .framework/Versions/A/HTMLRendering
0x96aa2000 - 0x96c5eff3 com.apple.QuartzComposer 2.1 (106.13) <dc04566811ab9c5316d1a622f42da8ba> /System/Library/Frameworks/Quartz.framework/Versions/A/Frameworks/QuartzCompose r.framework/Versions/A/QuartzComposer
0x96c5f000 - 0x96c99ffe com.apple.securityfoundation 3.0.2 (36131) <dd2a4d1a4f50b82923d7cfc5df10455d> /System/Library/Frameworks/SecurityFoundation.framework/Versions/A/SecurityFoun dation
0x96c9a000 - 0x96d4cffb libcrypto.0.9.7.dylib ??? (???) <d02f7e5b8a68813bb7a77f5edb34ff9d> /usr/lib/libcrypto.0.9.7.dylib
0x96d4d000 - 0x96edcfe7 com.apple.CoreAUC 3.08.0 (3.08.0) <ce8da72493f7ad2bcb13130e6d0eca54> /System/Library/PrivateFrameworks/CoreAUC.framework/Versions/A/CoreAUC
0x96edd000 - 0x97061fef com.apple.MediaToolbox 0.484.2 (484.2) <03c5c5966a91ad3ae9c825340fa21970> /System/Library/PrivateFrameworks/MediaToolbox.framework/Versions/A/MediaToolbo x
0x9707f000 - 0x97167ff3 com.apple.CoreData 100.2 (186.2) <44df326fea0236718f5ed64084e82270> /System/Library/Frameworks/CoreData.framework/Versions/A/CoreData
0x97168000 - 0x971a2fe7 com.apple.coreui 1.2 (62) /System/Library/PrivateFrameworks/CoreUI.framework/Versions/A/CoreUI
0x971a3000 - 0x971fcff7 libGLU.dylib ??? (???) <64d010e31d7596bd8f9edc6e027d1d0c> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLU.dylib
0x971fd000 - 0x97284ff7 libsqlite3.0.dylib ??? (???) <aaaf72c093e13f34b96e2688b95bdb4a> /usr/lib/libsqlite3.0.dylib
0x97285000 - 0x973beff7 libicucore.A.dylib ??? (???) <f2819243b278259b9a622ea111ea5fd6> /usr/lib/libicucore.A.dylib
0x973bf000 - 0x97408fef com.apple.Metadata 10.5.8 (398.26) <e4d268ea45379200f03cdc7c8bedae6f> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Metadat a.framework/Versions/A/Metadata
0x97409000 - 0x97734ff6 com.apple.QuickTime 7.7 (1680.28) <df75ea1435dadaf44ffde0924bc67ec4> /System/Library/Frameworks/QuickTime.framework/Versions/A/QuickTime
0x97735000 - 0x97738fff com.apple.help 1.1 (36) <b507b08e484cb89033e9cf23062d77de> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Help.framewor k/Versions/A/Help
0x979a2000 - 0x97a2fff7 com.apple.LaunchServices 292 (292) <a41286c7c1eb20ffd5cc796f791070f0> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchS ervices.framework/Versions/A/LaunchServices
0x97a30000 - 0x97a35fff com.apple.backup.framework 1.0 (1.0) /System/Library/PrivateFrameworks/Backup.framework/Versions/A/Backup
0x97a36000 - 0x97a36ffe com.apple.MonitorPanelFramework 1.2.0 (1.2.0) <a2b462be6c51187eddf7d097ef0e0a04> /System/Library/PrivateFrameworks/MonitorPanel.framework/Versions/A/MonitorPane l
0x97a3a000 - 0x97a63fff libcups.2.dylib ??? (???) <2b0ab6b9fa1957ee940835d0cfd42894> /usr/lib/libcups.2.dylib
0x97a64000 - 0x97b9cfe7 com.apple.imageKit 1.0.2 (1.0) <00d03cf7f26e1b6023efdc4bd15dd52e> /System/Library/Frameworks/Quartz.framework/Versions/A/Frameworks/ImageKit.fram ework/Versions/A/ImageKit
0x97b9d000 - 0x97c7dfff libobjc.A.dylib ??? (???) <3ca288b625a47bbcfe378158e4dc328f> /usr/lib/libobjc.A.dylib
0x97c7e000 - 0x97c8aff9 com.apple.helpdata 1.0.1 (14.2) /System/Library/PrivateFrameworks/HelpData.framework/Versions/A/HelpData
0x97c8b000 - 0x97f65ff3 com.apple.CoreServices.CarbonCore 786.16 (786.16) <d2af3f75c3500c518c39fd00aed7f9b9> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonC ore.framework/Versions/A/CarbonCore
0x97f66000 - 0x97f6afff libGIF.dylib ??? (???) <ade6d93abe118569a7a39d11f81eb9bf> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/Resources/libGIF.dylib
0x97f6b000 - 0x980b4ff7 com.apple.ImageIO.framework 2.0.9 (2.0.9) <717938c4837f88bbe8ec613d4d25bc52> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/ImageIO
0x980e5000 - 0x9811bfef libtidy.A.dylib ??? (???) <7f0b8a7837bd7f8039d06fc042acf85b> /usr/lib/libtidy.A.dylib
0xfffe8000 - 0xfffebfff libobjc.A.dylib ??? (???) /usr/lib/libobjc.A.dylib
0xffff0000 - 0xffff1780 libSystem.B.dylib ??? (???) /usr/lib/libSystem.B.dylibHi..
Try uninstalling the current Flash plugin then reinstalling new.
Troubleshoot Flash Player | Mac OS
Then quit and relaunch Safari -
mac os x version 10.5.8 - safari version 5.0.6 safari will shut down sometimes, a small window pops up, it reads your adobe flash player 10.4/10.5 may be the problem. i've been to adobe for help & got nowhere, any help on this matter would be great, thank-you.
Hi..
Try uninstalling the current Flash plugin then reinstalling new.
Troubleshoot Flash Player | Mac OS
Then quit and relaunch Safari -
Making automator repeat an action every 30 minutes
Hi is there any way you can make automator repeat an action e.g. click a web page button, every 30 minutes. I can make it push the button but can't do the timing part
red_menace wrote:
You can also use the sleep shell script in a loop.
I'm also going to have to start counting the number of times V.K. recommends Lingon.
Message was edited by: red_menace -
When I load up some sites like Facebook with the desktop version so I can have all the options that the app and mobile site doesn't have Safari blacks out and takes me to my main front page on my iPhone 4S and it also happens when I'm using some apps. Why is this? I'm upto date with iOS 7.0.4. Is there a way to stop this happening? Clearing up etc?
ThanksI spoke to ipod tech support and was told "We do not support itunes. It is only a web based support" Which apparently does not exist.
-
Applescript to skip Automator step
I'm trying to create a workflow to sync two folder with some option, such as "Sync even the icon" or "Sync remote folders".
What I need to do is put an Applescript on the top of the workflow to ask these options and then if, for example, the option "Sync the icon" is enabled, the applescript must run only determined actions that I specify.
My current Automator workflow:
- Ask for finder items
- Set value of variable 1
- Ask for finder items
- Set value of variable 2
- Ask for confirmation
- Get value of variable 1
- Get value of variable 2
- Run script shell
What I want to do:
- Run Applescript to ask options and then depending on the option chosen run determined actions
- Ask for finder items
- Set value of variable 1
- Ask for finder items
- Set value of variable 2
- Ask for confirmation
- Get value of variable 1
- Get value of variable 2
- Run script shell - this if the options chosen are "Sync the icon" and "Sync local folders"
- Run script shell - this if the options chosen are "Don't sync the icon" and "Sync local folders"
- Run script shell - this if the options chosen are "Sync the icon" and "Sync remote folders"
- Run script shell - this if the options chosen are "Don't sync the icon" and "Sync remote folder"
If isn't possible to do this, is it possible to convert actions to applescript?I don't understand what 'sync the icon' means but that may be irrelevant?
Personally I'd start by keeping it simple – split it into 2 (or even 4) workflows…
Sync local folders (icons)
Sync local folders (no icons)
Sync remote folders (icons)
Sync remote folder (no icons)
The remote & local version could be a single workflow with a choice of 'icon' or 'no icons'.
That way you can keep the logic to a minimum inside Automator or Applescript.
If it must all be inside one Application/workflow you could try something inside a "Run Applescript" action…
on run {input, parameters}
set choice to choose from list {"Sync local folders (icons)", "Sync local folders (no icons)", "Sync remote folders (icons)", "Sync remote folder (no icons)"}
return choice
end run
Then you need to decide if an Applescript action or a shell script action is handling all the logic…
For example a "Run shell script" action will speak the you the result of the Applescript choice via…
say "$@"
It gets complex as you start handling all the variables. I'm unsure if you would be better with an Applescript or even a shell script - it really depends on what your overall aim is and how the sync is being performed. Are you making this for others to use?
P.S. You may want to explain what exactly you are syncing - it may be easier (and more logical to manage) by using an Application like Chronosync which can save 'sync jobs'. -
Applescript works in Automator but not as Application workflow
I have a pretty simple Application workflow in automator that runs this applescript:
set front_app to (path to frontmost application as Unicode text)
tell application front_app
activate
set bounds of window 1 to {0, 0, 1280, 800}
end tell
as you can see all it does is it maximizes the current window. it works when I run the script from within automator, but when i save it as an application and run that it says the applescript errored.
Why is my simple automator not working as an application?
Message was edited by: PyrolisticalWhen you run that script as an application it comes to the front and is therefore the frontmost application: it doesn't have a window to be maximised.
You would need to specify the actual application to have its window maximised:
tell application "Safari"
activate
set bounds of window 1 to {0, 0, 1280, 800}
end tell
Trying to find out which was the frontmost application before you launched the AppleScript application is going to to be difficult. -
Good evening,
I am new to applescript and have a newbie question regarding the following code. I am making a simple automator program to pull songs from iTunes to practice dancing to. I've started the program with a script that lets the user choose which dances (s)he wants to be played. Then I use applescript to run if statements for each dance, checking whether the dance was selected (and is therefore in "danceList"). If so, I call a separate app to handle finding and playing that dance. The whole thing runs perfectly once opened in automator.
The problem is when I try to open the app for the first time, whether in finder or in automator -- it calls every single one of the if-statement applications, all at once, before anything else has happened, and thus crashes itself. I have no idea why. I have searched various help sites, tried multiple variations of the if statement code (waltz is an example, below) and making the sub-applications into workflows, but that didn't help.
Any advice or pointers in the right direction/to appropriate resources would be greatly appreciated.
Here is a snippet from the relevant code: (didn't include it all, it's the same thing with more if statements)
on run {danceList}
if danceList is not null then
if danceList contains "Waltz" then
tell application "waltz"
run
end tell
delay 110
else
tell application "waltz"
quit
end tell
end if
if danceList contains "Tango" then
tell application "tango"
run
end tell
delay 110
end if
if danceList contains "Viennese Waltz" then
tell application "viennese"
run
end tell
delay 110
end if
... and so forth ...
end if
return danceList
end runOk, let me try to do a better job explaining.
I am making this app to simulate the rounds used in competitive ballroom dancing. It lets the user select the dances they will participate in, and then, for each dance, the program reads out the dance title, chooses all songs in iTunes with that genre, selects one at random, starts playing it, waits ninety seconds, and then stops the music. Then a twenty second pause before the next dance. I have made eleven apps for this; one is the main app that calls the others; the others are identical and handle the individual dances.
Here is all the code I have:
1. Ask for confirmation - dialogue box explaining app
2. Get specified text - list of all dances, passed to first section of applescript
3. First section of script - found on internet, altered for multiple selection; lets user choose multiple dances from a list (code is below pic)
on run {input, parameters}
choose item(s) from text
input: text - items are delimited by paragraphs (returns/newlines)
output: a list of paragraphs selected
set output to {}
set NameList to {}
set NameList to paragraphs of (input as text)
activate me
set TheChoice to (choose from list NameList with title "Choose Dances" with empty selection allowed and multiple selections allowed)
if TheChoice is false then
error number -128 -- cancel
else
set output to TheChoice
end if
return the output -- pass the result to the next action
end run
4. Store value of variable as "danceList" - probably unnecessary but gave it a name
5. Second section of applescript - what's been discussed previously, here's the full code:
on run {danceList}
if danceList is not "" then
if danceList contains "Waltz" then
tell application "waltz"
run
end tell
delay 110
end if
if danceList contains "Tango" then
tell application "tango"
run
end tell
delay 110
end if
if danceList contains "Viennese Waltz" then
tell application "viennese"
run
end tell
delay 110
end if
if danceList contains "Foxtrot" then
tell application "foxtrot"
run
end tell
delay 110
end if
if danceList contains "Quickstep" then
tell application "quickstep"
run
end tell
delay 110
end if
if danceList contains "Samba" then
tell application "samba"
run
end tell
delay 110
end if
if danceList contains "Cha cha" then
tell application "chacha"
run
end tell
delay 110
end if
if danceList contains "Rumba" then
tell application "rumba"
run
end tell
delay 110
end if
if danceList contains "Paso Doble" then
tell application "paso"
run
end tell
delay 110
end if
if danceList contains "Jive" then
tell application "jive"
run
end tell
delay 110
end if
end if
return danceList
end run
Here is the code for the waltz app. All the other dance apps are identical; they just search for different terms and have a different introduction spoken.
1. Get specified text - "Next Round is the Waltz, etc."
2. Speak text - reads text out loud so people know what's next
3. Find iTunes tracks where genre is "Waltz" or "waltz"
4. select these tracks
5. store all these in variable "tracks"
6. applescript to pick a random track from "tracks":
on run {tracks}
set maxNumber to count of tracks
set randy to random number from 1 to maxNumber
set chosenTrack to item randy of tracks
return chosenTrack
end run
7. 3 second pause between speech and music
8. Start playing the chosen track
9. 90 second wait while track plays
10. pause itunes (stop music)
11. end app
Again, my concern here is why the program runs fine once it has already been opened in automator (say second or third time running it there) but when run from finder, or first opened in automator, it calls all the dance apps at once. Then they give error messages because the speech section is first, and this can't be done simultaneously:
Also, not sure if this is relevant, but I have a spinning gear in the corner of my mac that I believe is automator launcher, and it's showing all the apps as running even after I've ok'd their error messages and they have disappeared from the dock. I can exit waltz and danceApp, which are the two actually running, but the others won't stop until I've ended automator launcher in activity monitor.
Hopefully this is more helpful. Thanks again. -
Automator. Safari downloaded file
Hi everybody, first of all, thank you for your time.
I would like to use automator to do the following action
1/ When I am on safari visiting 9gag, sometime I download some picture or .gif because they are good.
2/ I would like automator to transfer any downloaded file from a specific website to go to a specific folder. (in my case "image/-")
I hope I am clear enough, and I am looking forward to hear your answer.
Kind regards,
JulesWhy not just right click (option-click) on the image and choose Save Image As…
-
Applescript, iMovie and Automator problem
Hi,
Sorry for reposting from another area, but maybe this will fair better in the right section.
I'm trying to convert a .mov file to .mp4 using Visualhub and automator, but a step in my automator file uses an applescript step that just causes the automator flow to stop and the end and not gon one with the rest of the actions.
More specifically:-
1. I use my HD camera to film something.
2. Connect the camera to my mac.
3. Import the video using iMovie.
4. My Automator actions ask me to confirm that iMovie has finished the import
5. Then Ask for finder items, which is get the newly imported .mov into VisualHub
6. Run the problematic Applescript:-
on run {input, parameters}
--we need to unset the default timeout length of two minutes, we'll make it 45
with timeout of (45 * 60) seconds
tell application "VisualHub" to set VisualHub to load script (scripts path of main bundle & "/automation.scpt" as POSIX file)
tell VisualHub
LoadSettings("/Volumes/MyBook/hd.cam.settings.vhub")
--SetSaveLocation("YOURHARDDRIVE:Users:YOURNAME:Desktop:iphonemovies:temp")
AddFiles(input)
StartConversion()
QuitApp()
end tell
end timeout
return input
--delay 15
end run
Which I've used from this site (http://professafresh.wordpress.com/2007/10/18/fun-with-automator/) and just stopped the two lines with a comment marker.
What is supposed to happen after that is that
7. Automator asks to confirm that VisualHub has finished.
8. VisualHub quits
9. Finder finds the .mov that was created when the film was imported
10. Finder then moves the item to the trash.
So there is something going on with the applescript that causes the process to stop after the conversion.
Some points:-
1. I have used the VisualHub import and convert script step but the default settings are not what I'm after as I want the video resized to 960x540.
2. iMovie recognizes and keeps all the head info as long as the file name is the same. So if you skip over the thumbnail in iMovie the timestamp changes to reflect the time that the video was taken. If you convert the .mov to .mp4 the info is retained but with a much smaller video size.
I've tried to give as much info as possible, sorry if it's too much.
Regards,You can do that all in iMovie
Select 300 photos set the length to 3:15 - Import
Select all in the timeline. Pick your transition. Set it to .29. Apply.
Daniel C. Slagle - Keeper of the "Unofficial" iMovie FAQ
http://iMovie.danslagle.com
Quad - 2.5 Ghz G5 Mac OS X (10.4) GeForce 7800 GT, 3G RAM, 250GB & 500GB internals
Maybe you are looking for
-
Xerox Phaser 8860 on Network-How to turn off popup print job confirmations?
I recently upgraded to OS 10.6.4 and as expected I needed to reinstall the drivers for a few peripherals. One of which was the Xerox Phaser 8860 which is on the network. Everything works, but now after each print job prints out a window pops up in th
-
1080 + photoshop + motion = headache
alright i am making a 1080 hi def video and i want to add a photoshop file to it. i made a 1920 X 1080 canvas in photoshop with 72, and i also tried 300....(both didnt work in the end but here is what happens).....when i drop it into motion, it looks
-
How to edit fluid grid layout in Dreamweaver CS6
Hi all I am a designer at the company I work for and we've been building repsonsive designs for the past 12months. I've decided that it would be good for me to try out the new fluid grid layout tool in Dreamweaver CS6 to see if we can improve the des
-
Iv looked all over the web and cant find anywhere to buy a Male to Male thunderbolt cable. Has it been released yet? Thanks 4 the help -Ryan
-
Hi, I want to know how i can redirect a page from a jsp page. It's a simple question but i'm beginnner... Best regards...