• 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
Opening documents in App via Finder?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Opening documents in App via Finder?


  • Subject: Opening documents in App via Finder?
  • From: Shay Telfer <email@hidden>
  • Date: Fri, 24 Aug 2007 01:33:02 +0800

Hi...

When I do:

tell application "Finder" to open file "Macintosh HD:Users:blah:Scans:2007_08_22_00_20_27.pdf" using file "Macintosh HD:Applications:Readiris Pro 11.5"

I get:

Finder got an error: Can't get file "Macintosh HD:Users:blah:Scans:2007_08_22_00_20_27.pdf"

Any ideas? Yes, the file exists at that location (telling the Finder to just open it works, but not if I specify the application)

Telling Readiris to open the file results in an open Readiris, but it does not open the file. Dragging the file onto Readiris on the Dock works, but I'm unsure how to emulate that from AppleScript :(

Any suggestions appreciated.

Thanks,
Shay
--
=========================== Shay  Telfer ================================
 Perth, Western Australia   Technomancer  The love of liberty is the love
 Opinions for hire              [POQ]     of others; the love of power is
 http://newtonslore.com/        fnord     the love of ourselves - Hazlitt
_______________________________________________
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: Opening documents in App via Finder?
      • From: Joe <email@hidden>
    • Re: Opening documents in App via Finder?
      • From: Shane Stanley <email@hidden>
    • Re: Opening documents in App via Finder?
      • From: KOENIG Yvan <email@hidden>
  • Prev by Date: Re: it's late in the afternoon.. but
  • Next by Date: Re: Opening documents in App via Finder?
  • Previous by thread: Re: it's late in the afternoon.. but
  • Next by thread: Re: Opening documents in App via Finder?
  • Index(es):
    • Date
    • Thread