InDesign - coerce file ref to string
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