2 Replies Latest reply on Aug 18, 2011 2:43 AM by Paul Riggott

    Converting simple AppleScript to JavaScript

    olivgor

      Hello to all,

       

      I need to convert a simple AppleScript to JavaScript, but as I don't know one bit about JavaScript, is there anyone willing to help me out ?

       

      Here is the AppleScript:

      tell application "Adobe Photoshop CS5"

           activate

                set display dialogs to never

                set thisdoc to current document

                tell thisdoc

                          resize image resolution 300 resample method none

                end tell

      end tell

       

      Very simple script to resize some low-res pictures without touching final resolution.

       

      Thanks !