• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: tell Grog to glog
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: tell Grog to glog


  • Subject: Re: tell Grog to glog
  • From: Luther Fuller <email@hidden>
  • Date: Thu, 11 Jan 2007 10:41:20 -0600

On Jan 7, 2007, at 8:03 PM, Gil Dawson wrote:

That's perfect!

At 6:16 P -0600 1/7/07, Luther Fuller wrote:
	tell application "Grog"
		launch
		glog("xxx")
	end tell

A second execution while Grog is still running apparently does nothing. This works exactly as I was looking for!

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.

_______________________________________________
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
  • Follow-Ups:
    • Re: tell Grog to glog
      • From: "J. Stewart" <email@hidden>
References: 
 >RE: AS and Unicode characters (From: KOENIG Yvan <email@hidden>)
 >Re: AS and Unicode characters (From: "Mark J. Reed" <email@hidden>)
 >Re: AS and Unicode characters (From: KOENIG Yvan <email@hidden>)
 >tell Grog to glog (From: Gil Dawson <email@hidden>)
 >Re: tell Grog to glog (From: Axel Luttgens <email@hidden>)
 >Re: tell Grog to glog (From: Gil Dawson <email@hidden>)
 >Re: tell Grog to glog (From: Axel Luttgens <email@hidden>)
 >Re: tell Grog to glog (From: Gil Dawson <email@hidden>)
 >Re: tell Grog to glog (From: Luther Fuller <email@hidden>)
 >Re: tell Grog to glog (From: Gil Dawson <email@hidden>)

  • Prev by Date: Re: how to get OS version with Shell script?
  • Next by Date: Re: PhotoShop Clear Guidelines
  • Previous by thread: Re: tell Grog to glog
  • Next by thread: Re: tell Grog to glog
  • Index(es):
    • Date
    • Thread