• 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: deivy petrescu <email@hidden>
  • Date: Sun, 7 Jan 2007 15:04:47 -0500


On Jan 7, 2007, at 14:25, Axel Luttgens wrote:

On 7/01/07 19:55, Gil Dawson wrote:

Thanks, Axel--

At 10:50 A +0100 1/7/07, Axel Luttgens wrote:

The "Connection is invalid" message indicates that the caller script was still expecting something from Grog when the latter quit.


That explains the message, thanks.

It's strange that you got it to work on your machine, but it didn't work on mine, even after I enclosed the top-level statements in an on run ... end run block.


Sorry if my cosmetic changes somehow have hidden the important piece.
It works here because of the "ignoring application responses" block in the calling script...



Apologies, Axel

Actually Axel, it does not work here even with the "ignoring application responses" block.
The Connection error is due to user interaction, at least that is what I get when I run the script in a try block (error number -609).
I did get the script to return the right answer, but it never runs, it launches.
This gets the dialog:
"Grog called with xxx as a parameter."
but not the dialog:
"Grog launched."




<script>
tell application "Grog"
	launch
	glog("xxx")
end tell
</script>


Deivy _______________________________________________ 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
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>)

  • Prev by Date: Re: tell Grog to glog
  • Next by Date: Re: Mail.app "reply" verb returning nothing
  • Previous by thread: Re: tell Grog to glog
  • Next by thread: Re: tell Grog to glog
  • Index(es):
    • Date
    • Thread