• 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
InDesign - coerce file ref to string
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

InDesign - coerce file ref to string


  • Subject: InDesign - coerce file ref to string
  • From: Mahlon Lovett <email@hidden>
  • Date: Mon, 01 May 2006 17:07:21 -0400
  • Thread-topic: InDesign - coerce file ref to string

Sorry to ask what is surely an obvious question, but...

Ask InDesign for the properties of an 'item link' for a 'graphic' and, among
other handy tidbits, you get

    {..., file path:file "Volume:folder:folder:folder:filename.ext", ...}

Trouble is, I don't want to use this item as a file reference, I want simply
to use the "Volume:folder:folder:folder:filename.ext" portion as text. (I've
got a handy script that generates a table of linked items; it's more
convenient that the overly verbose InDesign preflight report).

So, how to coerce it into a string? I'm stumped.

set x to file path of recordcontainingtheproperties
-- file "Volume:folder:folder:folder:filename.ext"

set x to x as string
-- error


Thanks,
Mahlon Lovett
Princeton NJ

 _______________________________________________
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: InDesign - coerce file ref to string
      • From: Luca Pozzato <email@hidden>
  • Prev by Date: "Send to iWeb" using AppleScript
  • Next by Date: Re: InDesign - coerce file ref to string
  • Previous by thread: "Send to iWeb" using AppleScript
  • Next by thread: Re: InDesign - coerce file ref to string
  • Index(es):
    • Date
    • Thread