*.js scripts

  • This topic has 2 replies, 1 voice, and was last updated 2 months ago by Miklos.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #7178 Reply
    Miklos
    Guest

    hi Thomas,
    is it also possible to add *.js custom scripts to a container?
    well, I am not a javascript expert so I tried to change the extension of my scripts from *.js to *.jsx (like a caveman:) and in most cases it works fine but in others I encounter some errors while running them.
    looking forward to hearing from you,
    regards,
    Miklos

    #7181 Reply
    thomas
    Keymaster

    Hi Miklos,

    *.jsx files contain ExtendScript and are similar to Javascript (*.js) but not the same. ExtendScript is an Adobe specific programming language. So normal Javascript files aren’t intended to run.

    https://en.wikipedia.org/wiki/ExtendScript

    Thomas

    #7182 Reply
    Miklos
    Guest

    I might be not on the same page with you but PS allows *.jsx, *.js and *.jsxbin files to be executed via Files>Scripts>Browse…
    All my scripts with *.js extension works fine in PS whatever language they were scripted in.
    Anyway, I can deal with it.

Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: *.js scripts
Your information:




Pin It on Pinterest