Click here to Skip to main content
Rate this: bad
Please Sign up or sign in to vote.
See more: Javascript
I am using ExtendScriptToolkit 1.0.3 and running script using Javascript.
I am getting error in following line :
var strtRulerUnits = preferences.rulerUnits
that preferences is undefined.
Please let me know why I am getting this error?
Any Help would be appreciated.

Posted 28-Jun-12 23:40pm
Sandeep Mewara at 29-Jun-12 7:23am
Why to repost the same thing you did yesterday? You had an answer and follow up discussion but you still post the same question?
akkanshagupta at 29-Jun-12 7:30am
Its not the same question Mr Sandeep Mewara. Kindly look the scenarios where I am running these scripts.
Yesterday it was through HTML file, but today, i am running through Adobe ExtendScript Toolkit, which should not show this error.
Kindly read the questions completely before commenting.
Wes Aday at 29-Jun-12 9:03am
The wording is not the same but it's the same question. With the exact same followup: Where is "preferences" defined?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Advertise | Privacy | Mobile
Web01 | 2.8.140721.1 | Last Updated 29 Jun 2012
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100