Click here to Skip to main content
15,889,834 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
Hi,
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.


Regards.
Posted
Comments
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?
http://www.codeproject.com/Questions/412297/Photoshop-scripting-with-Javascript
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.
[no name] 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)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900