(AS) Select Paragraph Text without highlighting carriage return character.
I need help with selecting a paragraph located in a story.
The selection should not contain a "hard return" (ASCII number 13")
My current sample is shown below:
-- sample assumes that insertion point is already placed within a specific paragraph...
tell application "Adobe InDesign CS3"
set theDoc to active document
select paragraph 1 of selection
end tell --theDoc
end tell --app
It seems simple... The above sample will select my chosen paragraph,
but it also selects the carriage return also. How would I go about doing this?
Any advice would be helpful!
select text from character 1 to character -2 of paragraph 1 of selection
Thank You sstanleyau !
Your answer was more than simple! It was complete.