Copy link to clipboard
Copied
I want to hidden the selecttion,but it didn't work when i add this code to my scripts.
Make me confusing is it work in this single code.
Please help me,thanks to much!
runMenuItem( app.stringIDToTypeID("toggleShowExtras"));
Copy link to clipboard
Copied
On my Windows machine it produces a script error is CS2. runMenuItem is not in the version of Photoshop scripting. It works in CS6, CC, CC2014, CC 2015, CC 2015.5 and CC 2017 on my machine.
Copy link to clipboard
Copied
Copy link to clipboard
Copied
That link does not work for me that script statement seems to work on my machine. If it does not for you have tried replacing it with Action Manager code that also works on my machine.
Copy link to clipboard
Copied
Copy link to clipboard
Copied
It is a toggle. Could it be that code is being executed more than one time in your combined code. Its seems the code also works for you.