hello, there is a command in indesign for get the property “location”
of guide class?
bye
Hi Alberto
Are you looking for something like this…
tell application "Adobe InDesign CS2"
return location of every guide of document 1 -- turn location to properties for abit more info
end tell
cheers
hi, pidge1
yeah something like that…
but i want only guide with guide color:green
and i must set the return in a variable “x”
thx
cheers
Alberto
This will set a variable “x” to every guide in your doc thats green… Hopefully!
tell application "Adobe InDesign CS2"
--return properties of every guide of document 1 -- turn location to properties for abit more info
set props to properties of every guide of document 1
set x to guide color of every guide of document 1 whose guide color is green
end tell
x
This should get the location of that guide…
tell application "Adobe InDesign CS2"
--return properties of every guide of document 1 -- turn location to properties for abit more info
set props to properties of every guide of document 1
set x to location of every guide of document 1 whose guide color is green
end tell
x
cheers
That’s Great!
thank you so much man
cheers