Add baseline guide here? - Adobe Indesign
This is a discussion on Add baseline guide here? - Adobe Indesign ; A Badia extension for Quark lets me add a guide directly on a baseline by clicking anywhere on the line of text and choosing "Add a baseline guide" (or something like that) from a palette. Is there anything similar in ...
-
Add baseline guide here?
A Badia extension for Quark lets me add a guide directly on a baseline by clicking anywhere on the line of text and choosing "Add a baseline guide" (or something like that) from a palette. Is there anything similar in InDesign? or maybe a plug-in?
-
Re: Add baseline guide here?
Just a quick hack... you could try this script:
tell application "Adobe InDesign CS2"
set aDoc to active document
try
set aSel to selection
on error
return
end try
set aClass to class of item 1 of aSel
if aClass is insertion point then
set aYPoint to baseline of item 1 of aSel
else if aClass is text then
set aYPoint to baseline of first character of item 1 of aSel
end if
set aSpread to active spread of active window
tell aSpread to set aGuide to make guide with properties {orientation:horizontal, location:aYPoint}
end tell
Gerald
-
Re: Add baseline guide here?
Gerald,
Thanks, I'll give it a try and let you know how it went.
Similar Threads
-
By Application Development in forum Adobe Indesign
Replies: 1
Last Post: 01-12-2007, 07:38 AM
-
By Application Development in forum Adobe Indesign
Replies: 0
Last Post: 01-11-2007, 10:23 PM
-
By Application Development in forum Adobe Indesign
Replies: 0
Last Post: 01-11-2007, 10:22 PM
-
By Application Development in forum Adobe Indesign
Replies: 0
Last Post: 07-13-2006, 04:29 PM
-
By Application Development in forum Adobe Indesign
Replies: 6
Last Post: 07-04-2006, 02:45 AM