Re: Illustrator CS 3 'open' command sometimes throws error 8700
Re: Illustrator CS 3 'open' command sometimes throws error 8700
- Subject: Re: Illustrator CS 3 'open' command sometimes throws error 8700
- From: Simon Topliss <email@hidden>
- Date: Fri, 25 Sep 2009 13:18:57 +0100
On 25 Sep 2009, at 00:46, Shane Stanley wrote:
On 25/9/09 1:23 AM, "Simon Topliss" <email@hidden> wrote:
*The above is actually required in Snow Leopard. "open alias
filePathAsString" will always error in SL.*
Not here it isn't. Are you sure you're not mixing it up with the
problem of
making file references on the fly?
Nope, definitely errors here, just checked again. Try running the
following:
set f to (path to desktop as text) & "Yellowstone Map.ai"
tell application "Adobe Illustrator"
open alias f
--open (f as alias) -- Works
end tell
I get "AppleScript Runtime Error: Adobe Illustrator got an error:
Can’t make some data into the expected type. -1700."
The second option (commented out) works though.
What do you get?
Simon
_______________________________________________
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