Dynamic Handler Call
Dynamic Handler Call
- Subject: Dynamic Handler Call
- From: Gary Beberman <email@hidden>
- Date: Sat, 8 Apr 2006 09:01:35 -0700
I would like to create a list of records in which each record has a
text string and a handler name associated with the string. So, it
would look like:
set hlist to {{searchtext: "text string 1", hname: "handler1()},
{searchtext: "text string 2", hname: "handler2()}, . . . }
A user selects the text from a list, the script finds the associated
hname and calls the handler.
The problem is I don't know if there's a way to call a handler whose
name is embedded in another object. Is there something like "run
handler (hname of item 3 of hlist)"?
Thanks,
Gary
_______________________________________________
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