QuarkXPress vs Adobe InDesign [AGAIN]
QuarkXPress vs Adobe InDesign [AGAIN]
- Subject: QuarkXPress vs Adobe InDesign [AGAIN]
- From: Luca BASSINI <email@hidden>
- Date: Thu, 16 Oct 2003 12:28:59 +0200
Hello all,
it's me again... Same problems trying to convert some scripts from
QuarkXPress to Adobe InDesign...
The actual script is this one:
tell application "QuarkXPress"
tell document 1
set theBox to last text box whose name of story 1 is Story_Name
tell story 1 of theBox
-- Applico la riduzione di track solo agli stili di testo prestabiliti
set copyFittingStyleList to {"Style1", "Style2"}
repeat with aStyle in copyFittingStyleList
try
set actualTrack to (track of first paragraph where style sheet is
aStyle) as real
set (track of every paragraph where style sheet is aStyle) to
(actualTrack + 1)
end try
end repeat
end tell
end tell
and now my InDesign script, that's not working... because I'm doing
something wrong :-(
tell application "InDesign 2.0.2"
tell document 1
set theBox to last text frame of (object reference of story 1 whose
label is Story_Name)
set theStory to (object reference of parent story of theBox)
tell theStory
-- Applico la riduzione di track solo agli stili di testo prestabiliti
set copyFittingStyleList to {"Style1", "Style2"}
repeat with aStyle in copyFittingStyleList
try
set actualTrack to (tracking of first paragraph where style name of
applied paragraph style is aStyle) as real
set (track of every paragraph where style name of applied paragraph
style is aStyle) to (actualTrack + 1)
end try
end repeat
end tell
end tell
Any help would be appreciated. Thanks,
Luca Bassini
_______________________________________________
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.