Ask a Question related to Adobe Indesign Macintosh, Design and Development.
-
Gerd_Kalesse@adobeforums.com #1
Re: Change ruler guides into lines?
Thanx Rob, tried to implement your script, got the following error message:
JavaScript Error!
Error Number 25
Error String: Expected: :
Line: 1
Source: tell application %Design CS” activate set
myOoc to active document tell myDoc set zero point
to [Of 01 set myviewpreferences to view preferences
set ruler origin of rnyViewPreferences to page origin
set myBlack to swatch “8lack”of myDoc set
myOocPrefs to document preferences set myPageH to
page height of rnyDocPrefs set myPageW to page
width of rnyOocPrefs set myCuidePrefs toguide
preferences set mySel to selection if my5el is fl then
displaydialog “lease select aguide and try again”
else set myCuide to object reference of selection if
class of myCuide is guide then set myOientatton to
orientation of mfiuide set myLoc to location of
myCuide set mypage to parent of myCuide set
myPageNo to name of myPage if mgientation is
horizontal then make graphic line in page rnyPageNo
with properties{geometric bounds:{my^oc, 0, myLoc,
myPageWl, stroke weight0.5, stroke color:myElacki
else make graphic line in page myPageNo with
properties ]geometric bounds:{O, myLoc, myPageH,
myLocJ, stroke weight:O.S, stroke color:rnyBlack} end
if else display dialog ^Please select aguide and try
again” end if end if end tell end tell
Offending Text: application
Sorry, just took a screen shot and OCRed it.
Not good at doing scripts myself. Perhaps you can help with a compiled version to my email address. You find that with my name. Thanx.
All the folk who are curious as to why I would want this feature right now.
I am doing design guides for a whole range of credit cards. Really anal stuff. Back and front sit lined up on a page. Ruler guides very handy to precisely snap things to, but not all vertical guides are required on back AND front.
So after setting it all up, it would be great to be able to say: Convert ruler guides into lines, cut them and delete what not needed. Just seems easier and more precise than redrawing all ruler guides. This version would then be used for presentation purposes.
Make sense?
Gerd
Gerd_Kalesse@adobeforums.com Guest
-
Change color of lines
When you state the line tool - do you mean via the comment and markup toolbar? If so then hit apple-E and you can access the properties and change... -
page ruler settings don't change
Another question today.... If I (windows FH11) change at the page ruler settings for instance: 1 inch equals 5 inch, then the rulers don't ... -
Guides - Placing multiple Guides at exact locations
I want to be able to add guides to my artboard in exact locations via a numeric value say 1.56 inches. Am i able to do this? And how? Im prety... -
Can I change the color of the guides?
I'm working in Illustrator 10, and editing a large-format graphic that needs to bleed over the edges. Problem is, I can't see the edges! The guides... -
Change Ruler Position
Hi, Is there a way to change where '0' begins on the rulers at the top and left of the document? At the moment it's set to start at -20cm at the... -
Tom_L@adobeforums.com #2
Re: Change ruler guides into lines?
while we are on the subject, is there any way to do the reverse, ie, turn a line into a guide. I seem to remember you could do this in freehand. Quite handy if you have a circle with a stroke and want objects to snap to it.
Tom
Tom_L@adobeforums.com Guest
-
rob_day@adobeforums.com #3
Re: Change ruler guides into lines?
It's an Apple not Java script, so it needs to be compiled in script editor. Here's the compiled version—it's for CS1 but should also work with CS2.
<http://www.evansday.com/scripts/GuidestoRules.hqx>
I also included a version that will repeat through all the guides in the doc.
rob_day@adobeforums.com Guest
-
Gerd_Kalesse@adobeforums.com #4
Re: Change ruler guides into lines?
Works like a charm Rob!
Thanx a ton! B-)
Gerd
Gerd_Kalesse@adobeforums.com Guest



Reply With Quote

