Page 1 of 1

[Added] Edit Shortcuts: Can now export and import

Posted: Wed Oct 26, 2022 7:34 pm
by porg
Edit Shortcuts offers:
✅ "Reset to Defaults"
✅ "Export List" which exports all (customized) shortcuts into a simple text file with one line per shortcut in the format: Menu→path→to→command TAB key-combo.
👉 Please also offer the complimentary "Import Shortcuts Backup" command.

~/Library/Application Support/GraphicConverter/Backup/Preferences.xml has:

Code: Select all

<key>GCCustomShortcuts_en-AT</key>
<data>YnBsaXN0MDDUAAE… very long encoded blob</data>
But I do not know how to encode my plain text menu command list into this data blob.

Benefits of this feature
+ Backup and restore
+ Create shortcuts.txt and assign shortcuts in that text file manually which fail assigning in the UI such as Edit Shortcuts: Cannot assign shortcut combo CTRL plus letter and then import the shortcut list.

Re: Edit Shortcuts: Please offer import as you already offer export

Posted: Thu Oct 27, 2022 6:27 am
by forum_adm
The export list uses the local language and is not designed for reimport.

I can add an export/import as data - so, it can i.e. used for sharing of shortcut settings.

Re: Edit Shortcuts: Please offer import as you already offer export

Posted: Thu Oct 27, 2022 10:27 pm
by porg
Export/Import as data-blob
- Certainly useful for sharing of shortcut settings
- But not useful for export to external config-file, edit config-file per hand (as alternative for assigning per UI), import.

Why is it not possible to import the exported plaintext config file?

Re: Edit Shortcuts: Please offer import as you already offer export

Posted: Tue Nov 01, 2022 4:27 pm
by porg
Initial issue (in separate post)

❌ 1) Assigning CTRL + single letter within the dialog "Edit Shortcuts" got marked as [Unfixable upstream bug] as Apple does not provide a keyDown method for the CTRL key.

✅ Closing this issue as [Added] after I tested build 5644

Nevertheless Export/Import is now working and provides a functioning workaround for the need to shortcuts with the CTRL key:

✅ 2) Export list. Works.

✅ 3) You can then insert the needed menu path and your desired shortcut combo (CTRL + single letter, e.g. "⌃Q" ) by help of a text editor.

✅ 4) Import list. Works.

ℹ️ I also do not see any parsing problems on the horizon: Or does any menu label contain a literal arrow-symbol "→" (used to separate menu path items) or TAB character (used to separate the shortcut) ?