• 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
Freehand MX Scripting Problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Freehand MX Scripting Problem


  • Subject: Freehand MX Scripting Problem
  • From: Rob Stott <email@hidden>
  • Date: Fri, 17 Mar 2006 09:28:32 +0000

Hi all,

I'm trying to export a report for a heap of Freehand MX documents. The chunk of script I use is this;

tell application "FreeHand MX"
activate
set ptd to path to desktop folder as string
save front document in file (ptd & "report.txt") as ASCII
close front document saving no
end tell

...for most of the documents I get the report I'm after, but for certain documents I get the error message;

FreeHand MX got an error: An error of type 2 has occurred.

...can anyone shed any light on this for me? Firstly, what the error message means and secondly whether something I've done (or not done) in my script is causing the error.

In fact, any help/advice appreciated!

Cheers
Rob
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Re: List Folders bug? (From: John Baltutis <email@hidden>)

  • Prev by Date: Re: Photoshop Apple Event timeouts...
  • Next by Date: InDesign XiNet Picture Wrangler GUI scripting
  • Previous by thread: Re: List Folders bug?
  • Next by thread: AW: List Folders bug?
  • Index(es):
    • Date
    • Thread