Re: delayDialog
Re: delayDialog
- Subject: Re: delayDialog
- From: Adam Bell <email@hidden>
- Date: Fri, 20 Jan 2006 19:27:25 -0400
Yes, without the parentheses. If I put them in it errors with «script» doesn't understand the q message.
A
On 1/20/06, jj <
email@hidden> wrote:> jj's example was missing some parentheses:
No, the original one was creating a kind-of constructor, so you were passing
to the related handler -foo- a "real handler", not the "result of executing
a handler"; and, as such, enclosing a new handler in the variable "q":
#################
on bar()
return "test"
end bar
on foo(x)
x
end foo
set q to foo(bar)
q() --> "test"
#################
Does this work for you?
jj
--
http://www.macscripter.net/
http://www.osaxen.com/
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
email@hidden
--
Some minds remain open long enough for a truth to both enter and leave without processing.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden