Re: launch/activate application from variable
Re: launch/activate application from variable
- Subject: Re: launch/activate application from variable
- From: Emmanuel <email@hidden>
- Date: Wed, 14 May 2003 11:47:17 +0200
At 9:30 AM +0200 14/05/03, peter wrote:
>
what syntax should be used to launch or activate an application from a
>
variable?
>
ie if my application is a variable contained within the field "name" of
>
a record called "this_record"
>
can I do something along the lines of:
>
>
tell application (name of this_record)
>
activate
>
end tell
Yes you can. OMM the following works.
--------------------
set this_record to {name:"Safari"}
tell application (name of this_record)
activate
end tell
--------------------
Emmanuel
_______________________________________________
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.