Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Is there a shortcut to the preferences for proportional grid?

  • Is there a shortcut to the preferences for proportional grid?

    Posted by Tl Westgate on September 19, 2020 at 5:28 pm

    I find myself changing the proportional grid a lot. It’s tedious to have to go to File / Preferences / Grids and Guides every time. But there seems to be no shortcut to get to that page of settings quickly. Ideally, it would be nice if an Edit option were in the pop up menu when you click on Choose Grid and Guide options.

    Is there some hidden shortcut I’m missing?

    TIA!

    Tl Westgate replied 5 years, 11 months ago 2 Members · 6 Replies
  • 6 Replies
  • Filip Vandueren

    September 20, 2020 at 11:13 am

    This script should be able to set it for you after a prompt.

    {
    var input = Window.prompt("Enter the desired subdivisions for Proportional grid (H,V)", "8,6");
    var dims = dim.split(",");
    if (parseFloat(dims[0])>0) app.preferences.savePrefAsFloat("Main Pref Section v2", "Pref_ANIMGRID_CELLS_HORIZ",dims[0]);
    if (parseFloat(dims[1])>0) app.preferences.savePrefAsFloat("Main Pref Section v2", "Pref_ANIMGRID_CELLS_VERT v2",dims[1]);
    }
  • Tl Westgate

    September 20, 2020 at 1:41 pm

    I thank you for that. But where do I type that in?

  • Filip Vandueren

    September 20, 2020 at 5:20 pm

    Sorry! You should save that script as a text-file with a .jsx extension inside of the scripts folder best to the app.

    Then run the script from the file -> scripts menu.

    Scripts can also be assigned a keyboard shortcut in the key command editor

  • Tl Westgate

    September 20, 2020 at 5:52 pm

    Thank you. I did that but get this error.

  • Filip Vandueren

    September 20, 2020 at 6:10 pm

    Oops, second line was wrong:

    {
    var input = Window.prompt("Enter the desired subdivisions for Proportional grid (H,V)", "8,6");
    var dims = input.split(",");
    if (parseFloat(dims[0])>0) app.preferences.savePrefAsFloat("Main Pref Section v2", "Pref_ANIMGRID_CELLS_HORIZ",dims[0]);
    if (parseFloat(dims[1])>0) app.preferences.savePrefAsFloat("Main Pref Section v2", "Pref_ANIMGRID_CELLS_VERT v2",dims[1]);
    }
  • Tl Westgate

    September 20, 2020 at 6:58 pm

    Thanks work! It should save a lot of time. Thank you!

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy