• 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: Indesign CS asset problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Indesign CS asset problem


  • Subject: Re: Indesign CS asset problem
  • From: Götz Verdieck <email@hidden>
  • Date: Fri, 13 Feb 2004 07:26:01 +0100

> What are you targeting? You need to post more than one line of code.
> This works fine here:
>
> tell application "InDesign CS"
> tell page 1 of document 1
> select every page item
> end tell
> end tell
>

So this the function worked in ID 2.02:

on GroupItems()
tell application "InDesign CS"
tell active document

select every item of active document -- will not work in ID CS
set mySelection to items of selection

if (count of mySelection) is greater than 1 then
set myGroup to make group with data mySelection
set label of myGroup to "CopyGroup"

-- save page items as asset
set myLibrary to open file (pIDBiblioPath & pBiblioName)
store myGroup using myLibrary
tell myLibrary
--Change the asset's properties
set description of last asset to "Tempordre
Seitenelemente"
set name of last asset to "Gruppe_Seite1"
end tell
else
display dialog "Es ist nur ein Objekt angewdhlt"
end if
select nothing
end tell
end tell
end GroupItems


Thanks in advance for another hint.

Goetz
_______________________________________________
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.

  • Follow-Ups:
    • Re: Indesign CS asset problem
      • From: Shane Stanley <email@hidden>
References: 
 >Re: Indesign CS asset problem (From: Shane Stanley <email@hidden>)

  • Prev by Date: FileMaker question
  • Next by Date: Re: delay 1 millisecond in Panther
  • Previous by thread: Re: Indesign CS asset problem
  • Next by thread: Re: Indesign CS asset problem
  • Index(es):
    • Date
    • Thread