Reply To: Polaroid Challenge

#50624

Hi, Adi!
Thank you for the script. I came accross one minor glitch: in case someone set different measurement units to vertical and horizontal rulers I suggest you would better add one line of code right after line 3:

 

myDocument.viewPreferences.horizontalMeasurementUnits = MeasurementUnits.MILLIMETERS;

if you don't the end result is not predictable.

Off topic:

One question to the admin (David?): how would I tag code in this forum to look like code? Say format one string of text to “Courier”?
I know that there is the HTML-button, where I can edit, but I could not figure out what kind of tags will work. Something like

Here comes my code

is ruled out. Or, I cannot see it in the preview. Let's try it. The line of code is tagged with

.

Cheers,
Uwe

//Edit: oh,

worked as expected.

This article was last modified on November 14, 2009

Comments (0)

Loading comments...