• 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: Illustrator CS 3 'open' command sometimes throws error 8700
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
  • Follow-Ups:
    • Re: Illustrator CS 3 'open' command sometimes throws error 8700
      • From: Shane Stanley <email@hidden>
References: 
 >Re: Illustrator CS 3 'open' command sometimes throws error 8700 (From: Shane Stanley <email@hidden>)

  • Prev by Date: Re: Cron still playing games
  • Next by Date: Re: Photoshop CS3 and CS4 [was Re: AppleScript & inDesign CS4 & 10.6]
  • Previous by thread: Re: Illustrator CS 3 'open' command sometimes throws error 8700
  • Next by thread: Re: Illustrator CS 3 'open' command sometimes throws error 8700
  • Index(es):
    • Date
    • Thread