Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

thriftinkid

macrumors regular
Original poster
Mar 24, 2008
119
0
Hey guys quick question,

I made a workflow in automator using both automator actions and applescript. It runs perfectly when I run it as a workflow within automator. But when I save it as an application and run it separately, it gets sketchy. It will get to different random points in the script stop running. The problem is no error pops up, and there is no specific one place it stops running at, so I don't know why it would do this. Any ideas?
 

HiRez

macrumors 603
Jan 6, 2004
6,265
2,630
Western US
I can't give you a specific answer, but I've had many problems with Automator and AppleScript "flakiness", so much so that it's kind of a last resort now (I'll use Photoshop actions or write a Cocoa app instead if I can). Including infuriating random stops, and Folder Actions are useless. In Leopard they seem even more broken than they were in Tiger. It's pretty sad. Great technology in concept with so much potential, but poorly executed in some critical spots (stability, mostly).
 

thriftinkid

macrumors regular
Original poster
Mar 24, 2008
119
0
I can't give you a specific answer, but I've had many problems with Automator and AppleScript "flakiness", so much so that it's kind of a last resort now (I'll use Photoshop actions or write a Cocoa app instead if I can). Including infuriating random stops, and Folder Actions are useless. In Leopard they seem even more broken than they were in Tiger. It's pretty sad. Great technology in concept with so much potential, but poorly executed in some critical spots (stability, mostly).

I seem to be able to work around the issue if I save it as a finder plugin. Is there a simple applescript I could write to activate the plugin. I'm assuming it would be something like the following but Im doubt this is right:

Code:
tell application "finder" to run file "myplugin"
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.