Re: Indesign CS asset problem
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.