Re: tell Grog to glog
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