• 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: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

  • Follow-Ups:
    • Re: Can't tell an application to open
      • From: Shane Stanley <email@hidden>
    • Re: Can't tell an application to open
      • From: Alex Zavatone <email@hidden>
  • Prev by Date: Re: Posix file?
  • Next by Date: Can't tell an application to open
  • Previous by thread: Re: AppleScriptObjC Explored Chapter 3 - no animation from indeterminate progress bar
  • Next by thread: Re: Can't tell an application to open
  • Index(es):
    • Date
    • Thread