InDesign 2.0 Questions
InDesign 2.0 Questions
- Subject: InDesign 2.0 Questions
- From: Jay Young <email@hidden>
- Date: Sun, 14 Apr 2002 13:33:05 -0500
Hi,
I have 2 InDesign 2.0 questions. First, is there an easier way to add a
character after another character without overwriting anything? I would
like to do something like:
-----------------------------------------
tell application "InDesign 2.0"
tell text frame 1 of document 1
copy return to after character -1 of last paragraph
end tell
end tell
-----------------------------------------
but it errors. But if I replace the last character with itself and then
add the new character it works (as in the code below). But there's got
to be a better way than this, I would think.
-----------------------------------------
tell application "InDesign 2.0"
tell text frame 1 of document 1
copy character -1 of last paragraph & return to character -1
of last paragraph
end tell
end tell
-----------------------------------------
My second question is:
Is there a way in InDesign 2.0 to set up something like a Delimit
Table? In Quark I can do something like:
----------------------------------------
tell application "QuarkXPress"
activate
set every delimit item of delimit table 1 to can be contained
in word set delimit item (ASCII character 9) of delimit table 1 to
not word member
--code stuff
end tell
---------------------------------------
This way I can make words split by tabs instead of spaces. A much
quicker way to set styles, etc. to certain words in the whole document
instead of going through each paragraph one at a time.
Thanks for your help!
Jay
_______________________________________________
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.