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

Photoshop - Script - How to script Window>Arrange>Match Zoom

New Here ,
Feb 26, 2018 Feb 26, 2018

Copy link to clipboard

Copied

Hi Everybody,

I am writing a very short script as a test script and I am stuck on the last command I would like to perform.

I can split my document in two windows:

app.runMenuItem(charIDToTypeID('NwVw'));

then I can Arrange as two vertical tiles:

app.runMenuItem(stringIDToTypeID ('tileVertically'));

then I can Zoom In or Out in the active window:

app.runMenuItem(charIDToTypeID('ZmOt'));  ( or 'ZmIn' )

but I cannot find the Menu ID for

Window > Arrange > Match Zoom

( or even Window > Arrange > Match All)

Does Anyone know how to script that menu action?

Many thanks for your help.

Regards,

Stephane.

TOPICS
Actions and scripting

Views

1.2K

Translate

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

correct answers 1 Correct answer

Community Expert , Feb 26, 2018 Feb 26, 2018

Window > Arrange > Match Zoom

app.runMenuItem(stringIDToTypeID ('matchZoom'));

Window > Arrange > Match All

app.runMenuItem(stringIDToTypeID ('matchZoomAndLocation'));

Votes

Translate

Translate
Adobe
Guest
Feb 26, 2018 Feb 26, 2018

Copy link to clipboard

Copied

Hi

Might be better for you to post your question on the Photoshop Scripting forum

Photoshop Scripting

Votes

Translate

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 ,
Feb 26, 2018 Feb 26, 2018

Copy link to clipboard

Copied

Hi

I've moved your post to the Photoshop Scripting forum

Dave

Votes

Translate

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
LEGEND ,
Feb 26, 2018 Feb 26, 2018

Copy link to clipboard

Copied

runMenuItem(stringIDToTypeID("matchZoom"/* + "AndLocation"*/))

Votes

Translate

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 ,
Feb 26, 2018 Feb 26, 2018

Copy link to clipboard

Copied

Window > Arrange > Match Zoom

app.runMenuItem(stringIDToTypeID ('matchZoom'));

Window > Arrange > Match All

app.runMenuItem(stringIDToTypeID ('matchZoomAndLocation'));

Votes

Translate

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
New Here ,
Feb 27, 2018 Feb 27, 2018

Copy link to clipboard

Copied

Many thanks to all, that was helpful and allowed me to go further in my whole project...

Have a very nice one.

Best regards,

Stephane

Votes

Translate

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
LEGEND ,
Feb 27, 2018 Feb 27, 2018

Copy link to clipboard

Copied

LATEST

Mine answer wasn't enough good to mark it as right solution though I posted it first? Jeff Arola​​​'s is the same I posted earlier.

Votes

Translate

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