1 Reply Latest reply on Oct 1, 2013 6:05 AM by cbuliarca

    How to set hotkey for my extension


      I have found "Extensions" in "Keyboard Shortcuts", but it's empty:


        • 1. Re: How to set hotkey for my extension
          cbuliarca Level 3

          You can create a javascript in your presets>scripts directory and create a shortcut for this script.


          Here is the js code that you will need to open a panel:


          function openPanel(Name) {

              var desc1 = new ActionDescriptor();

                  var ref1 = new ActionReference();

                  ref1.putName( charIDToTypeID('Mn  '), Name);

              desc1.putReference( charIDToTypeID('null'), ref1 );


              executeAction( charIDToTypeID('slct'), desc1, DialogModes.NO );




          openPanel("your panel name");