A little tweak in AppleScript

Discussion in 'Mac Programming' started by bklopfer, Oct 22, 2004.

  1. bklopfer macrumors newbie

    Oct 22, 2004
    I have some applescript applets I have written, but I don't want the little applescript icon popping up in my dock every time the script is launched. The script takes about 1 second to run, and every time it is launched the applescript icon for it appears, then immediately disappears. I don't want it to appear at all! Please let me know if there is a way to get around this! I have Xtools installed on my machine in hopes that I can do it with that, but I haven't figured out a way yet. Someone help, cause it is a great annoyance!

  2. Sayer macrumors 6502a


    Jan 4, 2002
    Austin, TX

    Save the script as an "Application Bundle" first, if it isn't already. Don't check "Stay Open" or "Startup Screen" options.

    In the Finder open the script's bundle using right-click or control-click and select "Show Package Contents."

    Find and open the "Info.plist" file.

    Add a "New Child" and enter: LSBackgroundOnly

    For a value select a String or Number and enter 1. Or select Boolean and True.

    That will make the icon not appear in the Dock when it is launched.

Share This Page