Re: Image thumbnails question
Re: Image thumbnails question
- Subject: Re: Image thumbnails question
- From: "William M. Smith" <email@hidden>
- Date: Wed, 24 Sep 2003 21:55:02 -0500
On 9/24/03 5:45 PM, "Shane Stanley" <email@hidden> wrote:
>
On 25/9/03 12:22 AM +1000, William M. Smith, email@hidden, wrote:
>
>
> You can only insert one image into a picture box, but to script anything
>
> with the image you must know beforehand what kind of image it is: EPS, Tiff,
>
> etc., to call it as something like "EPS 1".
>
>
Not really -- you can just refer to it as "page item 1 of ..."
Hi Shane!
You've got my attention on this one.
I'm trying to get the file path of a placed image that is selected in
InDesign 2.0.2. How can I restate this without knowing the type of image
that is placed? (The placed image could either be an EPS or JPG in this
case.)
This works if the item is an EPS, but obviously doesn't work if it's not:
set imagePath to file path of item link of EPS 1 of item 1 of selection
This works if the item is a JPG, but won't work for EPS's:
set imagePath to file path of item link of image 1 of item 1 of
selection
I can't simply use:
set imagePath to file path of page item 1...
Your help is appreciated! bill
--
William Smith
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.