Application vs workflow issue

Discussion in 'Mac Programming' started by thriftinkid, Jun 17, 2008.

  1. macrumors regular

    Joined:
    Mar 24, 2008
    #1
    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?
     
  2. macrumors 601

    HiRez

    Joined:
    Jan 6, 2004
    Location:
    Western US
    #2
    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).
     
  3. thread starter macrumors regular

    Joined:
    Mar 24, 2008
    #3
    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"
     

Share This Page