Re: tell app, name in string var
Re: tell app, name in string var
- Subject: Re: tell app, name in string var
- From: Luther Fuller <email@hidden>
- Date: Tue, 17 May 2011 07:44:18 -0500
On May 17, 2011, at 7:30 AM, Leonid Bogdanov wrote: I want to pass a name of an app to which tell a command in a string variable and then do some stuff.
Use this ...
set applID to "com.apple.TextEdit" tell application id applID activate end tell
The 'application id' is the value of the key 'Bundle identifier' or 'CFBundleIdentifier' found in the application's "Info.plist" file. Use 'Show Package Contents' to see this file and 'Property List Editor' to open it.
|
_______________________________________________
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