Need some help please

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Dr. Hackenbush

    Need some help please

    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)=="u ndefined"){

    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


  • Dr. Hackenbush

    #2
    Re: Need some help please


    "Dr. Hackenbush" <bazwillrunREMO VE@yahooCRAP.co .ukwrote in message
    news:02ee89be$0 $18312$c3e8da3@ news.astraweb.c om...
    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)=="u ndefined"){
    >
    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


    Comment

    • The Magpie

      #3
      Re: Need some help please

      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)=="u ndefined"){
      >
      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.

      Comment

      Working...