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.
Window > Arrange > Match Zoom
app.runMenuItem(stringIDToTypeID ('matchZoom'));
Window > Arrange > Match All
app.runMenuItem(stringIDToTypeID ('matchZoomAndLocation'));
Copy link to clipboard
Copied
Copy link to clipboard
Copied
Hi
I've moved your post to the Photoshop Scripting forum
Dave
Copy link to clipboard
Copied
runMenuItem(stringIDToTypeID("matchZoom"/* + "AndLocation"*/))
Copy link to clipboard
Copied
Window > Arrange > Match Zoom
app.runMenuItem(stringIDToTypeID ('matchZoom'));
Window > Arrange > Match All
app.runMenuItem(stringIDToTypeID ('matchZoomAndLocation'));
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
Copy link to clipboard
Copied
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.