Anyone have a script that will toggle the Pixel Grid?

Community Beginner ,
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

Views

73

Likes

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

Adobe Community Professional , 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:

Likes

Translate

Translate
Adobe Community Professional ,
Mar 11, 2022 Mar 11, 2022

Copy link to clipboard

Copied

 

app.runMenuItem (stringIDToTypeID('togglePixelGrid'))

 

Isn't it easier to assign a hotkey?

2022-03-11_12-44-26.png

You can also write a menu command to action:

2022-03-11_12-57-20.png

Likes

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 Beginner ,
Mar 11, 2022 Mar 11, 2022

Copy link to clipboard

Copied

LATEST

I didn't know you could add menu items to actions. That's great. Thank you for the detailed answer.

Likes

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 ,
Mar 11, 2022 Mar 11, 2022

Copy link to clipboard

Copied

By the way have you seen that: Mar 06, 2022?

Likes

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
Adobe Community Professional ,
Mar 11, 2022 Mar 11, 2022

Copy link to clipboard

Copied

Command/Control-'

Likes

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