Shortcuts question - Printable Version +- Gimp-Forum.net (https://www.gimp-forum.net) +-- Forum: GIMP (https://www.gimp-forum.net/Forum-GIMP) +--- Forum: Extending the GIMP (https://www.gimp-forum.net/Forum-Extending-the-GIMP) +--- Thread: Shortcuts question (/Thread-Shortcuts-question) |
Shortcuts question - tipsek - 11-24-2017 Hi fellow GIMPers! I'd like to set a custom shortcut and can't figure it out. So I have a script "Arrange Layers" which has a few options. It's annoying to make several clicks, I'd like it set to a shortcut (for example ALT + . or something) that would do all that in 1 action. THE SEQUENCE: (click) Image (mouse point) Arrange Layers -> Space (click) Horizontally [window pops up] (click) OK (or press Enter) So I'd like to assign a shortcut for the entire SEQUENCE. Could anyone help? RE: Shortcuts question - Ofnuts - 11-24-2017 Go to Edit>Keyboard shotcuts. In the search bar at the top, enter "-layers-" to restrict the list to possible candidates. Then select the one you want (one of the "python-fu-" ones), click on the line, and then enter the key combo you would like to use as a short-cut (caution: many are already used, so you get told about that, but you don't really know which important shortcut you'll override...). RE: Shortcuts question - tipsek - 11-24-2017 Hi Ofnuts, thanks for the suggestion! I tried, and set the shortcut for my desired action. But one "problem" is, it still brings up the confirmation dialogue box.. And I can't confirm it with enter (was always in my head I could) so I have to click OK still. It's better then before, but I'd love it if it would confirm the dialog automatically - or just skip it and apply. So now my improved sequence is: THE SEQUENCE: (click shortcut) CTRL + Ž [window pops up] (click) OK (pressing Enter don't work) Is there a way to merge the last step into first? RE: Shortcuts question - Ofnuts - 11-24-2017 If you want to repeat the execution of the script with the same parameters just use Filters>Repeat last (Ctrl-F)(if you didn't execute another script/plugin in between). Otherwise, like with all dialogs, you can move the keyboard focus from "widget" to "widget" using the tab key, so:
|