Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

fastscripts crashing

edited September 2014 in FastScripts
I noticed that fastscripts is crashing even I invoke `do shell script` in the applescript

For example, I want to assign a global keyboard shortcut for the following applescript.

do shell script "/Applications/ -g"

Fastscript crashes whenever I execute this script. Please help.


  • Hi tjdoc - does FastScripts generate a crash log when the crash occurs?

    Would you mind taking a look in your crash reports folder and see if the system recorded any logs for FastScripts?

    [Home] -> Library -> Logs -> CrashReporter

    Note: If you are running on OS X Lion 10.7 or later, you can get to the "Library" folder by holding the option key while selecting Go -> Library from the Finder's menu bar.

    They would either start with "FastScripts" or "".

    You might want to send me the crash log to

  • edited September 2014
    There is no crash log generated by FastScripts. FastScripts simply hangs ("Not Responding" in the activity monitor app) with a spinning beachball whenever I invoke the previous command.

    Strange thing is, when I quit the process invoked by FastScript (in this case, quitting MacVim), FastScripts starts responding again.

  • Accepted Answer
    Ah thanks for that extra information. I think what must be happening in this case is AppleScript is literally waiting for the "do shell script" command to finish, but it never does because the app is still running. Normally a shell script is expected to run, finish running, then return a result.

    What if you change the line in your script to run the "open" tool instead of running the app itself directly? You could try:

    do shell script "open /Applications/ --args -g"

    I think that might get you the behavior you are looking for, which is to launch the app but then to return immediately to the calling script.
  • Yes, this works. Thanks for you help Daniel!
  • Glad to help! Let me know if there's anything else I can do.
Sign In or Register to comment.