By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,818 Members | 2,089 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,818 IT Pros & Developers. It's quick & easy.

Need some help please

P: n/a
would anybody be kind enough to try and help me here please.

i have a javascript that is for use in Adobe Photoshop to perform various
actions and when i try to run it i get the following error message

Error 2: self is undefined
Line:48
-if(typeof(self.ywzXinited)=="undefined"){

as i have no knowledge about Javascript this means nothing to me, can you
help me out please.
if needed i can post the whole script

many thanks
Jul 16 '08 #1
Share this Question
Share on Google+
2 Replies


P: n/a

"Dr. Hackenbush" <ba**************@yahooCRAP.co.ukwrote in message
news:02**********************@news.astraweb.com...
would anybody be kind enough to try and help me here please.

i have a javascript that is for use in Adobe Photoshop to perform various
actions and when i try to run it i get the following error message

Error 2: self is undefined
Line:48
-if(typeof(self.ywzXinited)=="undefined"){

as i have no knowledge about Javascript this means nothing to me, can you
help me out please.
if needed i can post the whole script

many thanks
fixed the problem, changed the extension from .js to .jsx and it now works
Jul 16 '08 #2

P: n/a
Dr. Hackenbush wrote:
[snip]
i have a javascript that is for use in Adobe Photoshop to perform various
actions and when i try to run it i get the following error message

Error 2: self is undefined
Line:48
-if(typeof(self.ywzXinited)=="undefined"){

as i have no knowledge about Javascript this means nothing to me, can you
help me out please.
if needed i can post the whole script
Since it is for Photoshop and Adobe have this habit of using
ActionScript where they can, try changing the extension from ".js" to
".jsx" first. It may work, but no promises.
Jul 16 '08 #3

This discussion thread is closed

Replies have been disabled for this discussion.