Skip to content

Instantly share code, notes, and snippets.

@gcjbr
Created March 23, 2025 19:43
Show Gist options
  • Select an option

  • Save gcjbr/94e76346a950bdc299e26ca384ed12e1 to your computer and use it in GitHub Desktop.

Select an option

Save gcjbr/94e76346a950bdc299e26ca384ed12e1 to your computer and use it in GitHub Desktop.
BetterTouchTool_Gmail_DeleteConversations.bttpreset
[
{
"BTTActionCategory" : 0,
"BTTLastUpdatedAt" : 1742674001.5388389,
"BTTTriggerType" : 0,
"BTTTriggerClass" : "BTTTriggerTypeKeyboardShortcut",
"BTTUUID" : "D81416CD-C426-4E89-B13F-843031740229",
"BTTPredefinedActionType" : 366,
"BTTPredefinedActionName" : "Empty Placeholder",
"BTTAdditionalConfiguration" : "1572904",
"BTTKeyboardShortcutKeyboardType" : 6905,
"BTTTriggerOnDown" : 1,
"BTTLayoutIndependentChar" : "g",
"BTTEnabled" : 1,
"BTTEnabled2" : 1,
"BTTShortcutKeyCode" : 5,
"BTTShortcutModifierKeys" : 1572864,
"BTTOrder" : 0,
"BTTAutoAdaptToKeyboardLayout" : 0,
"BTTAdditionalActions" : [
{
"BTTActionCategory" : 0,
"BTTLastUpdatedAt" : 1742674001.5388951,
"BTTTriggerParentUUID" : "D81416CD-C426-4E89-B13F-843031740229",
"BTTIsPureAction" : true,
"BTTTriggerClass" : "BTTTriggerTypeKeyboardShortcut",
"BTTUUID" : "486481BA-7F21-4FEB-84B7-6C06B4AE2E09",
"BTTLayoutIndependentActionChar" : ".",
"BTTShortcutToSend" : "47",
"BTTKeyboardShortcutKeyboardType" : 0,
"BTTEnabled" : 1,
"BTTEnabled2" : 1,
"BTTShortcutKeyCode" : -1,
"BTTOrder" : 0,
"BTTAutoAdaptToKeyboardLayout" : 0
},
{
"BTTActionCategory" : 0,
"BTTLastUpdatedAt" : 1742674001.5388689,
"BTTTriggerParentUUID" : "D81416CD-C426-4E89-B13F-843031740229",
"BTTIsPureAction" : true,
"BTTTriggerClass" : "BTTTriggerTypeKeyboardShortcut",
"BTTUUID" : "562F311A-98DD-41B8-9D73-8D1AE6468175",
"BTTLayoutIndependentActionChar" : "UP",
"BTTShortcutToSend" : "126",
"BTTKeyboardShortcutKeyboardType" : 0,
"BTTEnabled" : 1,
"BTTEnabled2" : 1,
"BTTShortcutKeyCode" : -1,
"BTTOrder" : 1,
"BTTAutoAdaptToKeyboardLayout" : 0
},
{
"BTTActionCategory" : 0,
"BTTLastUpdatedAt" : 1742674001.538882,
"BTTTriggerParentUUID" : "D81416CD-C426-4E89-B13F-843031740229",
"BTTIsPureAction" : true,
"BTTTriggerClass" : "BTTTriggerTypeKeyboardShortcut",
"BTTUUID" : "035FAC77-9588-4F9E-B7C5-5A453921296F",
"BTTLayoutIndependentActionChar" : "UP",
"BTTShortcutToSend" : "126",
"BTTKeyboardShortcutKeyboardType" : 0,
"BTTEnabled" : 1,
"BTTEnabled2" : 1,
"BTTShortcutKeyCode" : -1,
"BTTOrder" : 2,
"BTTAutoAdaptToKeyboardLayout" : 0
},
{
"BTTActionCategory" : 0,
"BTTLastUpdatedAt" : 1742674001.5389209,
"BTTTriggerParentUUID" : "D81416CD-C426-4E89-B13F-843031740229",
"BTTIsPureAction" : true,
"BTTTriggerClass" : "BTTTriggerTypeKeyboardShortcut",
"BTTUUID" : "6FA8D82B-1A6F-4C5B-A741-D825728C408D",
"BTTLayoutIndependentActionChar" : "UP",
"BTTShortcutToSend" : "126",
"BTTKeyboardShortcutKeyboardType" : 0,
"BTTEnabled" : 1,
"BTTEnabled2" : 1,
"BTTShortcutKeyCode" : -1,
"BTTOrder" : 3,
"BTTAutoAdaptToKeyboardLayout" : 0
},
{
"BTTActionCategory" : 0,
"BTTLastUpdatedAt" : 1742674001.53878,
"BTTTriggerParentUUID" : "D81416CD-C426-4E89-B13F-843031740229",
"BTTIsPureAction" : true,
"BTTTriggerClass" : "BTTTriggerTypeKeyboardShortcut",
"BTTUUID" : "75F14EBB-AE74-48E7-8328-F9C1F33D5DB6",
"BTTLayoutIndependentActionChar" : "RETURN",
"BTTShortcutToSend" : "36",
"BTTKeyboardShortcutKeyboardType" : 0,
"BTTEnabled" : 1,
"BTTEnabled2" : 1,
"BTTShortcutKeyCode" : -1,
"BTTOrder" : 4,
"BTTAutoAdaptToKeyboardLayout" : 0
},
{
"BTTActionCategory" : 0,
"BTTLastUpdatedAt" : 1742674001.5389791,
"BTTTriggerParentUUID" : "D81416CD-C426-4E89-B13F-843031740229",
"BTTIsPureAction" : true,
"BTTTriggerClass" : "BTTTriggerTypeKeyboardShortcut",
"BTTUUID" : "86F459E1-7645-4D65-AC10-D6ABEE5E4A30",
"BTTPredefinedActionType" : 129,
"BTTPredefinedActionName" : "Pause Execution or Delay Next Action (blocking)",
"BTTDelayNextActionBy" : "1",
"BTTKeyboardShortcutKeyboardType" : 0,
"BTTEnabled" : 1,
"BTTEnabled2" : 1,
"BTTShortcutKeyCode" : -1,
"BTTOrder" : 5,
"BTTAutoAdaptToKeyboardLayout" : 0
},
{
"BTTActionCategory" : 0,
"BTTLastUpdatedAt" : 1742674001.538908,
"BTTTriggerParentUUID" : "D81416CD-C426-4E89-B13F-843031740229",
"BTTIsPureAction" : true,
"BTTTriggerClass" : "BTTTriggerTypeKeyboardShortcut",
"BTTUUID" : "25137888-8353-4C46-9A92-DD1F6828EEB9",
"BTTLayoutIndependentActionChar" : "ESCAPE",
"BTTShortcutToSend" : "53",
"BTTKeyboardShortcutKeyboardType" : 0,
"BTTEnabled" : 1,
"BTTEnabled2" : 1,
"BTTShortcutKeyCode" : -1,
"BTTOrder" : 6,
"BTTAutoAdaptToKeyboardLayout" : 0
},
{
"BTTActionCategory" : 0,
"BTTLastUpdatedAt" : 1742674001.5387979,
"BTTTriggerParentUUID" : "D81416CD-C426-4E89-B13F-843031740229",
"BTTIsPureAction" : true,
"BTTTriggerClass" : "BTTTriggerTypeKeyboardShortcut",
"BTTUUID" : "85062CC2-2EE9-4700-8908-D52BFAE0F6BF",
"BTTShortcutToSend" : "53",
"BTTKeyboardShortcutKeyboardType" : 0,
"BTTEnabled" : 1,
"BTTEnabled2" : 1,
"BTTShortcutKeyCode" : -1,
"BTTOrder" : 7,
"BTTAutoAdaptToKeyboardLayout" : 0
},
{
"BTTActionCategory" : 0,
"BTTLastUpdatedAt" : 1742674007.062592,
"BTTTriggerParentUUID" : "D81416CD-C426-4E89-B13F-843031740229",
"BTTIsPureAction" : true,
"BTTTriggerClass" : "BTTTriggerTypeKeyboardShortcut",
"BTTUUID" : "827AB432-8BC1-4377-8699-5FE85A22608A",
"BTTLayoutIndependentActionChar" : ",",
"BTTAutoAdaptActionToKeyboardLayout" : true,
"BTTAdditionalActionData" : {
"sendCurrentModifiers" : true
},
"BTTGenericActionConfig" : "autoAdapt",
"BTTShortcutToSend" : "43",
"BTTKeyboardShortcutKeyboardType" : 0,
"BTTEnabled" : 1,
"BTTEnabled2" : 1,
"BTTShortcutKeyCode" : -1,
"BTTOrder" : 8,
"BTTAutoAdaptToKeyboardLayout" : 0
},
{
"BTTActionCategory" : 0,
"BTTLastUpdatedAt" : 1742673995.9386802,
"BTTTriggerParentUUID" : "D81416CD-C426-4E89-B13F-843031740229",
"BTTIsPureAction" : true,
"BTTTriggerClass" : "BTTTriggerTypeKeyboardShortcut",
"BTTUUID" : "03127737-DB75-4815-B511-CD4DFB7ED325",
"BTTPredefinedActionType" : 129,
"BTTPredefinedActionName" : "Pause Execution or Delay Next Action (blocking)",
"BTTDelayNextActionBy" : "1",
"BTTKeyboardShortcutKeyboardType" : 0,
"BTTEnabled" : 1,
"BTTEnabled2" : 1,
"BTTShortcutKeyCode" : -1,
"BTTOrder" : 9,
"BTTAutoAdaptToKeyboardLayout" : 0
},
{
"BTTActionCategory" : 0,
"BTTLastUpdatedAt" : 1742674001.5389349,
"BTTTriggerParentUUID" : "D81416CD-C426-4E89-B13F-843031740229",
"BTTIsPureAction" : true,
"BTTTriggerClass" : "BTTTriggerTypeKeyboardShortcut",
"BTTUUID" : "DEDF85A2-1391-452C-A5B6-DAC711B92D45",
"BTTLayoutIndependentActionChar" : "DOWN",
"BTTShortcutToSend" : "125",
"BTTKeyboardShortcutKeyboardType" : 0,
"BTTEnabled" : 1,
"BTTEnabled2" : 1,
"BTTShortcutKeyCode" : -1,
"BTTOrder" : 10,
"BTTAutoAdaptToKeyboardLayout" : 0
},
{
"BTTActionCategory" : 0,
"BTTLastUpdatedAt" : 1742674023.942364,
"BTTTriggerParentUUID" : "D81416CD-C426-4E89-B13F-843031740229",
"BTTIsPureAction" : true,
"BTTTriggerClass" : "BTTTriggerTypeKeyboardShortcut",
"BTTUUID" : "E2F8ABA0-5DB7-471A-9B9F-21E20F7C796B",
"BTTLayoutIndependentActionChar" : "RETURN",
"BTTShortcutToSend" : "36",
"BTTKeyboardShortcutKeyboardType" : 0,
"BTTEnabled" : 1,
"BTTEnabled2" : 1,
"BTTShortcutKeyCode" : -1,
"BTTOrder" : 11,
"BTTAutoAdaptToKeyboardLayout" : 0
},
{
"BTTActionCategory" : 0,
"BTTLastUpdatedAt" : 1742674032.3887792,
"BTTTriggerParentUUID" : "D81416CD-C426-4E89-B13F-843031740229",
"BTTIsPureAction" : true,
"BTTTriggerClass" : "BTTTriggerTypeKeyboardShortcut",
"BTTUUID" : "CA7148F4-A860-4FC5-8493-153DA53B3DF8",
"BTTLayoutIndependentActionChar" : "3",
"BTTShortcutToSend" : "60,20",
"BTTKeyboardShortcutKeyboardType" : 0,
"BTTEnabled" : 1,
"BTTEnabled2" : 1,
"BTTShortcutKeyCode" : -1,
"BTTOrder" : 12,
"BTTAutoAdaptToKeyboardLayout" : 0
}
]
}
]
@gcjbr
Copy link
Author

gcjbr commented Mar 23, 2025

This BetterTouchTool (BTT) preset contains a set of keyboard shortcuts designed to automate the process of filtering and deleting specific types of conversations in Gmail. By pressing a single keystroke, the preset triggers a series of actions that navigate through Gmail, select the desired conversations, and delete them efficiently.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment