rxhanson / RectanglePro-Community

Bug reports and discussion for the Rectangle Pro app
https://rectangleapp.com/pro
98 stars 1 forks source link

Feature request: duplicate custom shortcuts #153

Open mickimnet opened 1 year ago

mickimnet commented 1 year ago

Hello everybody,

With my new 40" UltraWide display, my requirements for new window placement and sizing changed. Therefore, I needed a new set of Custom Shortcuts (all of them use the repeat functionality). And, as I also use different keyboards, I like to have the same functionality on other keys--e. g. additionally on the NumPad.

If I were able to duplicate existing Custom Shortcuts, that would help me create the shortcuts faster. Independent of the duplication of the same functionality, most of my Custom Shortcuts follow the same scheme and would benefit from a duplicate as well.

Thanks for considering and take care Mick

rxhanson commented 1 year ago

I do have plans to add in copy/paste behavior to Custom Shortcuts & Applications, but it might be a while before I get to it.

In the meantime, if you're JSON savvy, you could try exporting your config, copying & pasting the right JSON elements and loading your config back in. Obviously not ideal and potentially more work, but it's an option.

mickimnet commented 1 year ago

I normally do fiddle around in JSON (configuration) files, but the value of manualSpecs is a string. There is an array with key-values in it, with escaped double-quotes. And I didn't find an easy way to prettify it😞