Restore BTT config from time machine backup?

Somehow I've lost my previously configured F19 key which I used to open Calculator. I'm unable to figure out how to set this up again and am wondering if it is possible to restore the BTT configuration files from time machine backup? I tried restoring the app from a time machine backup but that didn't change anything. I need to locate the BTT config files, can anyone tell me where they may be found? Or any other ideas to recover my previous configuaration?? Thank you

You could restore the ~/Library/Application Support/BetterTouchTool folder.
However if all you want is F19 to launch Calculator, just copy this JSON and paste it right into the keyboard shortcuts section in BetterTouchTool:

    "BTTLastUpdatedAt" : 1695308812.369734,
    "BTTTriggerType" : 0,
    "BTTTriggerClass" : "BTTTriggerTypeKeyboardShortcut",
    "BTTPredefinedActionType" : 366,
    "BTTPredefinedActionName" : "Empty Placeholder",
    "BTTAdditionalConfiguration" : "8388608",
    "BTTKeyboardShortcutKeyboardType" : 1118,
    "BTTUUID" : "A0AD4E97-CE41-467F-85B0-27B114214FA2",
    "BTTTriggerOnDown" : 1,
    "BTTLayoutIndependentChar" : "F19",
    "BTTEnabled" : 1,
    "BTTEnabled2" : 1,
    "BTTShortcutKeyCode" : 80,
    "BTTShortcutModifierKeys" : 8388608,
    "BTTOrder" : 11,
    "BTTAutoAdaptToKeyboardLayout" : 0,
    "BTTAdditionalActions" : [
        "BTTLastUpdatedAt" : 1695308819.9876609,
        "BTTTriggerType" : -1,
        "BTTTriggerClass" : "BTTTriggerTypeKeyboardShortcut",
        "BTTPredefinedActionType" : 49,
        "BTTPredefinedActionName" : "Launch Application \/ Open File \/ Start Apple Script …",
        "BTTLaunchPath" : "\/System\/Applications\/",
        "BTTKeyboardShortcutKeyboardType" : 0,
        "BTTUUID" : "575458CD-73AF-44D4-B322-7349FF94891E",
        "BTTEnabled" : 1,
        "BTTEnabled2" : 1,
        "BTTShortcutKeyCode" : -1,
        "BTTShortcutModifierKeys" : -1,
        "BTTOrder" : 82,
        "BTTAutoAdaptToKeyboardLayout" : 0

Wow thank you for the fast reply. I've checked and do not have a ~/Library/Application Support/BetterTouchTool folder on my imac or on the backups. This is my ~/Library/Application Support/folder:

Thank you for the script but as I'm quite the novice could you please indicate with a screen shot exactly where to paste the script? Is it here somewhere?

Thanks again for your help! Love BTT and have been happily using it many years!

Just paste it where you are :wink:

The screenshot shows your "/Library/Application Support/" folder, not your "~/Library/Application Support/" folder. The tilde is a little but important difference. You can go there via Finder => Go => Go To Folder

Hi Andreas,
Thanks again but I really don't know where to paste it and would really appreciate it if you could clarify that for me. Do I click the "+" and then where please? Apologies but I need a bit of hand holding here :slight_smile:

Thanks for the help with the folder, have located it on my mac but can't seem to find the same folder on the backup...

many thanks! Rich

In your screenshot, where you have selected the F19 (highlighted blue), just press cmd+v to paste. That should add the configured trigger.

Brilliant and thank you - all good and have backed up my config. It was a crazy little thing driving me nuts so thanks again!