• 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: Luther Fuller <email@hidden>
  • Date: Fri, 23 Mar 2007 09:42:40 -0500

I have now. All of these suggested variants also work correctly.

On Mar 23, 2007, at 9:15 AM, KOENIG Yvan wrote:

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

  • Prev by Date: Re: Scripting Sidebar Adding
  • Next by Date: Re: A method of using Power PC OSXEN in an Intel environment
  • Previous by thread: Re: Puzzling display dialog
  • Next by thread: Re: Puzzling display dialog
  • Index(es):
    • Date
    • Thread