• 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: Puzzling display dialog
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Puzzling display dialog


  • Subject: Re: Puzzling display dialog
  • From: KOENIG Yvan <email@hidden>
  • Date: Fri, 23 Mar 2007 15:15:34 +0100


Le 23 mars 07 à 14:32:12, Luther Fuller a écrit : …

When I replaced the "open file ..." line with this ... open file (selfRef as text) & "Contents:Resources:My Doc.pdf" the dreaded "cancel button" error message appeared.

I then replaced this with ...
	(selfRef as text) & "Contents:Resources:My Doc.pdf"
	open file the result
and the script again behaved correctly.
…

Have you tested:

open file ((selfRef as text) & "Contents:Resources:My Doc.pdf")

or

open file (get (selfRef as text) & "Contents:Resources:My Doc.pdf")

or

open  ((selfRef as text) & "Contents:Resources:My Doc.pdf") as alias

Yvan KOENIG _______________________________________________
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: Puzzling display dialog
      • From: Luther Fuller <email@hidden>
References: 
 >Re: Puzzling display dialog (From: Luther Fuller <email@hidden>)

  • Prev by Date: Re: Two quick questions
  • Next by Date: Re: Scripting Sidebar Adding
  • Previous by thread: Re: Puzzling display dialog
  • Next by thread: Re: Puzzling display dialog
  • Index(es):
    • Date
    • Thread