• 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: Obtaining the file path of a document in FreeHand MX
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Obtaining the file path of a document in FreeHand MX


  • Subject: Re: Obtaining the file path of a document in FreeHand MX
  • From: Stan Cleveland <email@hidden>
  • Date: Tue, 28 Mar 2006 20:19:32 -0800
  • Thread-topic: Obtaining the file path of a document in FreeHand MX

Title: Re: Obtaining the file path of a document in FreeHand MX
On 3/28/06 8:13 PM, email@hidden wrote:

G'day,

Is there a way to get the file path of document 1 in FreeHand MX? The FH Dictionary doesn't show anything.

I've tried a few "guess" attempts but nothing works.

Doing it the long way around I could get the name of document 1 then tell Finder to look for it and check to see if it is open - probably slow too. I'd have to account for duplicate names... sounds messy.

Still a bit messy, but a godsend nonetheless, is Freehand’s “DocReport” command.

tell application “FreeHand MX”
    DocReport in file “Path:To Some:ReportFile.txt”
    DocReport document “MyFile.FH11” in file “Path:To Some:ReportFile_2.txt”
End tell

This generates a text file at the specified path that includes, among other things, the path to the document, which you’ll find in the fourth paragraph. By default, it reports on document 1, but you can specify any open document.

Stan Cleveland
Color Technology Inc.
Portland, Oregon

“G’night.”
 _______________________________________________
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

  • Follow-Ups:
    • Re: Obtaining the file path of a document in FreeHand MX
      • From: Brett Conlon/HU/AU/SonyDADC <email@hidden>
References: 
 >Obtaining the file path of a document in FreeHand MX (From: Brett Conlon/HU/AU/SonyDADC <email@hidden>)

  • Prev by Date: Obtaining the file path of a document in FreeHand MX
  • Next by Date: Re: Obtaining the file path of a document in FreeHand MX
  • Previous by thread: Obtaining the file path of a document in FreeHand MX
  • Next by thread: Re: Obtaining the file path of a document in FreeHand MX
  • Index(es):
    • Date
    • Thread