Can't tell an application to open
Can't tell an application to open
- Subject: Can't tell an application to open
- From: Dave <email@hidden>
- Date: Sun, 20 Feb 2011 11:24:30 -0600
The following lines in a script handler:
tell application "TextWrangler" set textDocument to open theFile
-- Dave
I've tried all kinds of variations, including using the chevron notation for "open" («event aevtodoc» theFile) and having the tell on the same line as the open, but they all bomb the same way. AppleScript is always giving the open command to the script instead of TextWrangler. Other commands (activate etc.) to TextWrangler are work normally.
-- Dave
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
applescriptobjc-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden