Go Back   MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Reply
 
Thread Tools Search this Thread Display Modes
Old Oct 22, 2004, 08:31 PM   #1
bklopfer
macrumors newbie
 
Join Date: Oct 2004
A little tweak in AppleScript

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!

Ben
bklopfer is offline   0 Reply With Quote
Old Oct 22, 2004, 09:29 PM   #2
Sayer
macrumors 6502a
 
Sayer's Avatar
 
Join Date: Jan 2002
Location: Austin, TX
Easy

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.
__________________
Obama is a true statesman whose experience as a state senator, half-term US Senator & guest lecturer in a Constitutional Law class has fully prepared him to take control of our nuclear arsenal.-Me
Sayer is offline   0 Reply With Quote

Reply
MacRumors Forums > Apple Systems and Services > Programming > Mac Programming


Similar Threads
thread Thread Starter Forum Replies Last Post
I need help finding a cydia tweak that'll tweak Find My iPhone Applefan6558 Jailbreaks and iOS Hacks 8 Feb 21, 2014 12:36 AM
AppleScript: How do I save multiple Excel sheets to one pdf using Applescript sbtaylor1 Mac Programming 0 Oct 29, 2013 12:38 AM
AppleScript: How do I save multiple Excel sheets to one pdf using Applescript sbtaylor1 Mac Applications and Mac App Store 0 Oct 29, 2013 12:32 AM
iPhone: Jailbreak tweak idea: tweak to prevent kids from dialing 911 without an emergency moonman239 Jailbreaks and iOS Hacks 22 Apr 5, 2013 01:30 AM
iPhone: SwitcherCleaner tweak, best Auxo alternative and most underrated tweak in Cydia!!! corey407woc Jailbreaks and iOS Hacks 0 Feb 19, 2013 12:31 AM

Forum Jump

All times are GMT -5. The time now is 10:07 AM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC