Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Puzzling display dialog




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:
http://lists.apple.com/mailman/options/applescript-users/email@hidden
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden
References: 
 >Re: Puzzling display dialog (From: Luther Fuller <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.