Re: tell Grog to glog
Re: tell Grog to glog
- Subject: Re: tell Grog to glog
- From: "J. Stewart" <email@hidden>
- Date: Thu, 11 Jan 2007 16:27:57 -0500
On 1/11/07 at -0600 Luther Fuller said this
<snip>
>I've just noticed something while taking my own advice ... and it's
>not perfect.
>
>'someHandler' is a handler in the application 'fullPathName' whose
>result I wanted, so I wrote in my script ...
>
> launch application fullPathName
> tell application fullPathName to set x to someHandler()
>
>It did work correctly, but has an unfortunate side-effect. The icon
>of 'fullPathName' appears in the Dock for just a second or two
>whenever I make this call. I find this distracting. Very distracting.
>One work-around is to make 'fullPathName' a background-only
>application. (I may do this.) Otherwise, you seem to be stuck with
>this distraction.
Luther,
If the app is a bundle try adding this in the <dict> section of the app bundle's info.plist
<key>LSUIElement</key>
<true/>
If the app has no user interaction then you may be able to use this instead:
<key>NSBGOnly</key>
<true/>
JBS
--
Any sufficiently advanced technology is indistinguishable from magic. - Arthur C. Clarke
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/mailman//archives/applescript-users
This email sent to email@hidden