Reputation: 23
I have an application were the user chooses an application to send a command to. but I keep getting an error message when I run it.
set setApp to choose file
tell application [setApp]
end tell
Upvotes: 1
Views: 53
Reputation: 1548
There's a special dialog for choosing an application:
set theApp to choose application
tell theApp to activate
Upvotes: 2