Re: set variable to a command?
Re: set variable to a command?
- Subject: Re: set variable to a command?
- From: Steven Majewski <email@hidden>
- Date: Wed, 19 Nov 2003 13:31:25 -0500
AppleScript does not have a lot of features to support indirect access.
(See the thread about "labels of records" for an example. )
Try something like:
set cmd to "tell application \"iTunes\" to "
set what to some item of {"play", "stop"}
run script cmd & what
what
-- Steve Majewski
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.