Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
0

Photoshop - Move & Resize Window

New Here ,
Jul 08, 2023 Jul 08, 2023

Copy link to clipboard

Copied

Hi there,

 

I am using PhotoShop 2023 on Apple Mac. Both latest version.

I sometimes take screenshots of the steps I am doing and save them in powerpoint,
so I can follow these steps next time.

I resize the window to a smaller size, to focus my screenshot.

 

For couple month ago I was using apple script to move and resize the photoshop window.

 

With this code I can move and resize the Text editor window on Mac. This still works.

 

tell application "TextEdit"
activate
set the bounds of the first window to {0, 0, 800, 600}
end tell

 

 

However adapted code for Adobe Photoshop

tell application "Adobe Photoshop 2023"
activate
set the bounds of the first window to {0, 0, 800, 600}
end tell

 

does not work anymore.

 

My Goal:
When I run Photshop, it opens full screen.

When I run a script such apple script or run another workflow, etc.

I want to move  photoshop window on a exact position such (0,0) and resize such (800,600)

 

What I do not want is:  each time manually resize via mouse (drag & move).

- I need a quick & exact move & resize.

 

How can I do this - is there a built-in function within photoshop ?

 

Thanks,
Aykut

TOPICS
macOS

Views

102
Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe
Community Expert ,
Jul 16, 2023 Jul 16, 2023

Copy link to clipboard

Copied

AppleScript is platform-dependent and therefore unpopular for Photoshop-Scripting. 

I would recommend using JavaScript instead (though I have not needed to automate setting the window bounds yet and therefore am not sure if it is possible in JavaScript) and starting a new thread with the topic »Actions and scripting«. 

Votes

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jul 17, 2023 Jul 17, 2023

Copy link to clipboard

Copied

LATEST

Sorry, I have to correct myself; I think I did look into Scripting window positions a while back (in the context of storing and restoring sessions) and did not get far with JavaScript. 

The scale and the position of the image in the window worked out but the window-position and -size not so much. 

 

So a shell-Script may be unavoidable but hopefully someone else has more insight to offer. 

Votes

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines