Coerce from string to application command
Coerce from string to application command
- Subject: Coerce from string to application command
- From: Jed Verity <email@hidden>
- Date: Thu, 09 Nov 2000 11:06:21 -0800
Hello again,
I tried to find this in the archives, to no avail. Is it possible to
translate a string into an application command? For example, without using
else ifs...
set doAction to "delete"
tell app "Finder" to doAction file "foo"
I'm using else ifs currently and would like to be able to avoid this for
future projects that involve applications with large volumes of commands. Is
it possible?
Many thanks,
Jed
P.S. Thanks to hcir for helping me with my Excel oversight.
~)~)~)~)~)~)~)~)~)~)~)~)~)
Jed Verity