Répondre à la discussion

Bonjour,


Je n'ai pas photoshop 2022, mais essai ça

[CODE]set mon_image to choose file with prompt "Image source"

set lefichier to mon_image as string


tell application "Adobe Photoshop 2022"

  

    activate

  

    set ruler units of settings to pixel units

    open file lefichier

  

    set theDocument to current document

  

  

end tell


display dialog "Fin"[/CODE]


Et ceci devrais suffire pour ouvrir un fichier.

[CODE]set mon_image to choose file with prompt "Image source"

set lefichier to mon_image as string


tell application "Adobe Photoshop 2022"

    activate

    open file lefichier

end tell


display dialog "Fin"[/CODE]