Double Tell - Tell by Variable Question
Double Tell - Tell by Variable Question
- Subject: Double Tell - Tell by Variable Question
- From: Dave <email@hidden>
- Date: Thu, 25 Jun 2015 14:19:28 +0100
Hi,
How do I do this:
on doSomething(theAppName)
tell application theAppName activate
— — Code for theAppName Goes Here —
return myWindowTitle end tell
end doSomething
I’ve looked at this:
But you still need to hardwire a String into the Script, is there anyway of avoiding this?
I’m calling the Script via the AppleScriptObjC Bridge, and I’m like to pass in the App Name. I could pass in the process ID if this would help?
Thanks a lot, All the Best Dave |
_______________________________________________
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