• 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 CS3: Loading the PLace Cursor with Multiple Files
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

INDESIGN CS3: Loading the PLace Cursor with Multiple Files


  • Subject: INDESIGN CS3: Loading the PLace Cursor with Multiple Files
  • From: Rick Gordon <email@hidden>
  • Date: Fri, 28 Dec 2007 15:01:36 -0800

Title: INDESIGN CS3: Loading the PLace Cursor with Multiple Files
Is it possible to script InDesign CS3 to pass the Finder selection (of images) to InDesign, resulting in a loaded place cursor ready for the user to place?

I've just tried a short experiment, but don't have time to get into it much now.

tell application "Finder"
       set vFinderSelectionList to selection
end tell

tell application "Adobe InDesign CS3"
      tell active document
            tell active spread
                      place (item 1 of vFinderSelectionList as alias) --FAILS
        end tell
        end tell
end tell

The "place" line fails with the error "alias \"<WHATEVER>.psd\" doesn't understand the place message.""

Obviously that's just a test for the first image in a list anyway, but can I assume:

1) I'd need to provide more attributes, and what would result is a placed image, not a loaded place cursor ready for user interaction

2) It may not be possible anyway, as the dictionary suggests that the object of a place command should be an alias or a string, and does not mention a list?

place alias or string : The file to place. Supported by the following objects: spread, page, master spread, page item, oval, rectangle, graphic line, polygon, image, EPS, PDF, WMF, PICT, graphic, imported page.

        [on reference] : Where to place the file. Can accept: spread, page, master spread, page item or graphic.
        [place point number or string] : The point at which to place (only applicable if you are telling a page or spread to place)
        [destination layer layer] : The layer on which to place (only applicable if you are telling a page or spread to place)
  [showing options boolean] : Whether to display the import options dialog
        [autoflowing boolean] : Whether to autoflow placed text
[with properties record] : Initial values for properties of the new object
        ? list of reference : The placed file. Can return: list of page items, graphics, movies, sounds, stories or texts.
--
 
___________________________________________________

RICK GORDON
EMERALD VALLEY GRAPHICS AND CONSULTING
___________________________________________________
WWW:   http://www.shelterpub.com
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

  • Follow-Ups:
    • Re: INDESIGN CS3: Loading the PLace Cursor with Multiple Files
      • From: Shane Stanley <email@hidden>
  • Prev by Date: Re: Safari Scripting Help (Newbie stuff) Complete!
  • Next by Date: Re: To Stay Open
  • Previous by thread: Re: [OT] list search engine problems (was: Re: AppleScript-Users Digest, Vol 4, Issue 557)
  • Next by thread: Re: INDESIGN CS3: Loading the PLace Cursor with Multiple Files
  • Index(es):
    • Date
    • Thread