Click here to Skip to main content
13,146,498 members (48,568 online)
Rate this:
Please Sign up or sign in to vote.
See more:
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 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 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 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)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy |
Web03 | 2.8.170915.1 | Last Updated 29 Jun 2012
Copyright © CodeProject, 1999-2017
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