• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Can't tell an application to open
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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:27:26 -0600

The following lines in a script handler:

tell application "TextWrangler"
set textDocument to open theFile

always gets the error

<<script DebugLog>>  doesn't understand the open message   -1708

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

  • Prev by Date: Can't tell an application to open
  • Next by Date: Re: Can't tell an application to open
  • Previous by thread: Re: Can't tell an application to open
  • Next by thread: Trouble with preferences (using "ApplescriptObjC Explored")
  • Index(es):
    • Date
    • Thread