Re: How to simulate C's function pointer in AppleScript?
Re: How to simulate C's function pointer in AppleScript?
- Subject: Re: How to simulate C's function pointer in AppleScript?
- From: Philip Aker <email@hidden>
- Date: Thu, 23 Oct 2008 04:22:42 -0700
On Oct 23, 2008, at 3:58 AM, André Berg wrote:
The question now is how can I correctly pass, from the top-level script, myHandlerToTime() in the statement property of the Timer script so that it gets used as the direct parameter to the run script command inside the Timer script?
on doHandlerToTime() display dialog "beep" end doHandlerToTime
script Timer property procedure : missing value on timeit() run script procedure end timeit end script
set Timer's procedure to doHandlerToTime Timer's timeit()
Passing parameters is a different story ;-)
Philip Aker
Democracy: Two wolves and a sheep voting on lunch.
|
_______________________________________________
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/archives/applescript-users
This email sent to email@hidden