• 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
Re: Open using
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Open using


  • Subject: Re: Open using
  • From: Paul Berkowitz <email@hidden>
  • Date: Sun, 09 Nov 2008 12:56:52 -0800
  • Thread-topic: Open using

On 11/9/08 12:06 PM, "Luther Fuller" <email@hidden> wrote:

> tell application "Finder" to open docFile using "Help Viewer"
>
> Which returns the message ...
>
> Finder got an error: Can't make "Help Viewer" into type application
> file.

That's because it's just a string. Just a slip on your part.

Did you try


tell application "Finder" to open docFile using application "Help Viewer"


I don't have a suitable file to test on but when I try running

    application "Help Viewer"

I get

--> Macintosh HD:System:Library:CoreServices:Help Viewer.app


which looks encouraging. If it *can* open the file in the UI, this should
also work via AppleScript.

--
Paul Berkowitz


 _______________________________________________
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

  • Follow-Ups:
    • Re: Open using
      • From: Luther Fuller <email@hidden>
    • Re: Open using
      • From: KOENIG Yvan <email@hidden>
References: 
 >Open using (From: Luther Fuller <email@hidden>)

  • Prev by Date: Open using
  • Next by Date: Re: Open using
  • Previous by thread: Open using
  • Next by thread: Re: Open using
  • Index(es):
    • Date
    • Thread