Following script does not work in my environment (Mac OS X 10.5.5, Japanese user environment). This works in Mac OS X 10.4.
I don't know the difference between "Automator Launcher" and "Automator Runner". They seems to be a same program.
<AppleScript>
set aWorkflow to choose file set aRes to executeAutomatorWorkflow(aWorkflow) of me
--Don't work in Mac OS X 10.5.5 on executeAutomatorWorkflow(aWorkflow) try with timeout of 3600 seconds using terms from application "Automator Runner" tell application "Automator Runner" open aWorkflow end tell end using terms from end timeout on error display dialog "Error: in executing Automator Workflow" buttons {"OK"} default button 1 return false end try return true end executeAutomatorWorkflow
</AppleScript> Free AppleScript Library "AS Hole"
|