0
Contributor
,
/t5/photoshop-ecosystem-discussions/anyone-have-a-script-that-will-toggle-the-pixel-grid/td-p/12806222
Mar 11, 2022
Mar 11, 2022
Copy link to clipboard
Copied
I frequently toggle the pixel grid on and off as I zoom in and out in compositions. It would be enormously handy to have a script that does this.
Anyone know how?
TOPICS
Actions and scripting
,
Windows
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
1 Correct answer
Guide
,
Mar 11, 2022
Mar 11, 2022
app.runMenuItem (stringIDToTypeID('togglePixelGrid'))
Isn't it easier to assign a hotkey?
You can also write a menu command to action:
Explore related tutorials & articles
4
Replies
4
Guide
,
/t5/photoshop-ecosystem-discussions/anyone-have-a-script-that-will-toggle-the-pixel-grid/m-p/12806296#M628689
Mar 11, 2022
Mar 11, 2022
Copy link to clipboard
Copied
app.runMenuItem (stringIDToTypeID('togglePixelGrid'))
Isn't it easier to assign a hotkey?
You can also write a menu command to action:
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
futuremotion
AUTHOR
Contributor
,
LATEST
/t5/photoshop-ecosystem-discussions/anyone-have-a-script-that-will-toggle-the-pixel-grid/m-p/12806877#M628766
Mar 11, 2022
Mar 11, 2022
Copy link to clipboard
Copied
I didn't know you could add menu items to actions. That's great. Thank you for the detailed answer.
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
LEGEND
,
/t5/photoshop-ecosystem-discussions/anyone-have-a-script-that-will-toggle-the-pixel-grid/m-p/12806338#M628696
Mar 11, 2022
Mar 11, 2022
Copy link to clipboard
Copied
By the way have you seen that: Mar 06, 2022?
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
LEGEND
,
/t5/photoshop-ecosystem-discussions/anyone-have-a-script-that-will-toggle-the-pixel-grid/m-p/12806757#M628748
Mar 11, 2022
Mar 11, 2022
Copy link to clipboard
Copied
Command/Control-'
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more