• 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: Gil Dawson <email@hidden>
  • Date: Sun, 7 Jan 2007 18:03:10 -0800

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!


Thanks, Luther!

--Gil

At 6:16 P -0600 1/7/07, Luther Fuller wrote:
This thread didn't catch my interest until just now. The problem with

	tell application "Grog"
		glog("xxx")
	end tell

is that you are telling the application "Grog" to run, which you don't want.
You want to open it without executing the run handler. You want to write this ...


	tell application "Grog"
		launch
		glog("xxx")
	end tell

Or, you may also write ...

	launch application "Grog"
	tell application "Grog"
		glog("xxx")
	end tell

I was trying to find a script where I think I used this once, but no luck. If my memory is correct, the command 'launch application ... ' allows you to use a full path to the application, which is nice if the application you are launching is stored in the calling application's bundle.

_______________________________________________
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

_______________________________________________ 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: Luther Fuller <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>)

  • Prev by Date: Re: AS and Unicode characters
  • Next by Date: cutting and pasting script for Indesign CS2
  • Previous by thread: Re: tell Grog to glog
  • Next by thread: Re: tell Grog to glog
  • Index(es):
    • Date
    • Thread