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 |