Shortcut «Cmd+v» (paste) stopped working after last update

Hi,

I have quite a few BTT scripts ending up on a simple keyboard shortcut, «Cmd+v», to paste the clipboard contents (edited with Python scripts) in my current document.

Since the last update, this simple keyboard shortcut, «Cmd+v», stopped working.

The previous steps work as expected: if I manually trigger «Cmd+v», the pasted contents is indeed correct.

Any idea why «Cmd+v» would stop working?
Or any workaround to trigger a paste?


Affected input device (e.g. MacBook Trackpad, Magic Mouse/Trackpad, Touch Bar, etc.):

MacBook Pro


Device information:

  • Type of Mac: MacBook Pro (15-inch, 2019), 2,6 GHz 6-Core Intel Core i7, 16 GB 2400 MHz DDR4
  • macOS version: 12.7
  • BetterTouchTool version: 4.289

could you post a full example of such a script? I can't seem to reproduce it yet, maybe it's something specific to that setup.

Hey Andreas,
Thanks for your reply.
Here is one example - I copied the contents of the relevant file.
It's really simple:

  • wait (I noticed it helps prevents bugs)
  • run some python script (which pastes a string to memory)
  • wait
  • cmd+v (paste)

It has worked for years...

Best,
Alexandre

[
  {
    "BTTLastUpdatedAt" : 1697882470.0589771,
    "BTTTriggerType" : 629,
    "BTTTriggerTypeDescription" : "Touch Bar button",
    "BTTTriggerParentUUID" : "5064AB1E-DAB2-4924-B2C5-127A299A232F",
    "BTTTriggerClass" : "BTTTriggerTypeTouchBar",
    "BTTPredefinedActionType" : 129,
    "BTTPredefinedActionName" : "Delay Next Action (blocking)",
    "BTTDelayNextActionBy" : "0.4",
    "BTTUUID" : "47E780CD-FA84-4DFF-A29F-1338B0BDA40D",
    "BTTEnabled" : 1,
    "BTTEnabled2" : 1,
    "BTTOrder" : 6,
    "BTTMergeIntoTouchBarGroups" : 0,
    "BTTAdditionalActions" : [
      {
        "BTTLastUpdatedAt" : 1697882470.058856,
        "BTTTriggerType" : 629,
        "BTTTriggerTypeDescription" : "Touch Bar button",
        "BTTTriggerParentUUID" : "47E780CD-FA84-4DFF-A29F-1338B0BDA40D",
        "BTTIsPureAction" : true,
        "BTTTriggerClass" : "BTTTriggerTypeTouchBar",
        "BTTPredefinedActionType" : 206,
        "BTTPredefinedActionName" : "Execute Shell Script \/ Task",
        "BTTGenericActionConfig2" : ":::-c:::-:::PYTHONPATH=\/Library\/Frameworks\/Python.framework\/Versions\/3.10\/lib\/python3.10\/site-packages\/",
        "BTTShellTaskActionScript" : "python3 \/Volumes\/Coding\/BasicMacOS\/db_tools\/random_foonote_id.py",
        "BTTShellTaskActionConfig" : ":::-c:::-:::PYTHONPATH=\/Library\/Frameworks\/Python.framework\/Versions\/3.10\/lib\/python3.10\/site-packages\/",
        "BTTUUID" : "EA5D68FD-8A77-4EA0-9420-86EA3F1E14C1",
        "BTTEnabled" : 1,
        "BTTEnabled2" : 1,
        "BTTMergeIntoTouchBarGroups" : 0,
        "BTTAdditionalActions" : [
          {
            "BTTLastUpdatedAt" : 1685535252.501718,
            "BTTTriggerType" : -1,
            "BTTTriggerParentUUID" : "EA5D68FD-8A77-4EA0-9420-86EA3F1E14C1",
            "BTTIsPureAction" : true,
            "BTTTriggerClass" : "BTTTriggerTypeTouchBar",
            "BTTLayoutIndependentActionChar" : "c",
            "BTTAutoAdaptActionToKeyboardLayout" : true,
            "BTTGenericActionConfig" : "autoAdapt",
            "BTTShortcutToSend" : "55,8",
            "BTTUUID" : "5BB28E13-2005-4E76-ACBC-C077F83D143F",
            "BTTEnabled" : 1,
            "BTTEnabled2" : 1,
            "BTTOrder" : 7,
            "BTTMergeIntoTouchBarGroups" : 0
          }
        ],
        "BTTTouchBarButtonName" : "«   »",
        "BTTTriggerConfig" : {
          "BTTTouchBarButtonColor" : "75.323769, 75.323769, 75.323769, 255.000000",
          "BTTTouchBarIconInvert" : false,
          "BTTTouchBarItemPlacement" : 0,
          "BTTTouchBarAlwaysShowButton" : false,
          "BTTTouchBarButtonHoverColor" : "248.880000, 146.115000, 128.010000, 181.050000",
          "BTTTouchBarButtonHeight" : 15,
          "BTTTouchBarButtonWidth" : 85,
          "BTTTouchBarItemIconHeight" : 22,
          "BTTTouchBarButtonTextAlignment" : 0,
          "BTTTouchBarButtonUseFixedWidth" : 1,
          "BTTTouchBarAlternateBackgroundColor" : "75.323769, 75.323769, 75.323769, 255.000000",
          "BTTTBWidgetWidth" : 400,
          "BTTTouchBarBorderColor" : "255.000000, 255.000000, 255.000000, 255.000000",
          "BTTTouchBarItemIconWidth" : 22,
          "BTTTouchBarFreeSpaceBeforeButton" : 0,
          "BTTTouchBarButtonFontSize" : 15,
          "BTTTouchBarIconTextOffset" : 5,
          "BTTTouchBarOnlyShowIcon" : false,
          "BTTTouchBarFreeSpaceAfterButton" : 20,
          "BTTTouchBarItemPadding" : 0
        }
      },
      {
        "BTTLastUpdatedAt" : 1697882470.0588369,
        "BTTTriggerType" : -1,
        "BTTTriggerParentUUID" : "47E780CD-FA84-4DFF-A29F-1338B0BDA40D",
        "BTTIsPureAction" : true,
        "BTTTriggerClass" : "BTTTriggerTypeTouchBar",
        "BTTPredefinedActionType" : 129,
        "BTTPredefinedActionName" : "Delay Next Action (blocking)",
        "BTTDelayNextActionBy" : "1",
        "BTTUUID" : "828ABE05-1AFA-43DF-8D68-E16DEE462265",
        "BTTEnabled" : 1,
        "BTTEnabled2" : 1,
        "BTTOrder" : 1,
        "BTTMergeIntoTouchBarGroups" : 0,
        "BTTTouchBarButtonName" : "fn",
        "BTTTriggerConfig" : {
          "BTTTouchBarButtonColor" : "75.323769, 75.323769, 75.323769, 255.000000",
          "BTTTouchBarIconInvert" : false,
          "BTTTouchBarItemPlacement" : 0,
          "BTTTouchBarAlwaysShowButton" : false,
          "BTTTouchBarButtonHoverColor" : "248.880000, 146.115000, 128.010000, 181.050000",
          "BTTTouchBarButtonHeight" : 15,
          "BTTTouchBarButtonWidth" : 70,
          "BTTTouchBarItemIconHeight" : 22,
          "BTTTouchBarButtonTextAlignment" : 0,
          "BTTTouchBarButtonUseFixedWidth" : 1,
          "BTTTouchBarAlternateBackgroundColor" : "75.323769, 75.323769, 75.323769, 255.000000",
          "BTTTBWidgetWidth" : 400,
          "BTTTouchBarBorderColor" : "255.000000, 255.000000, 255.000000, 255.000000",
          "BTTTouchBarItemIconWidth" : 22,
          "BTTTouchBarFreeSpaceBeforeButton" : 0,
          "BTTTouchBarButtonFontSize" : 15,
          "BTTTouchBarFontColor" : "237.000000, 231.000000, 221.000000, 255.000000",
          "BTTTouchBarIconTextOffset" : 5,
          "BTTTouchBarOnlyShowIcon" : false,
          "BTTTouchBarFreeSpaceAfterButton" : 15,
          "BTTTouchBarItemPadding" : 0
        }
      },
      {
        "BTTLastUpdatedAt" : 1697882466.729027,
        "BTTTriggerType" : -1,
        "BTTTriggerParentUUID" : "47E780CD-FA84-4DFF-A29F-1338B0BDA40D",
        "BTTIsPureAction" : true,
        "BTTTriggerClass" : "BTTTriggerTypeTouchBar",
        "BTTLayoutIndependentActionChar" : "v",
        "BTTAutoAdaptActionToKeyboardLayout" : true,
        "BTTGenericActionConfig" : "autoAdapt",
        "BTTShortcutToSend" : "55,9",
        "BTTUUID" : "744C4A0D-51EF-4B8C-BC46-F0ACC8347F4B",
        "BTTEnabled" : 1,
        "BTTEnabled2" : 1,
        "BTTOrder" : 2,
        "BTTMergeIntoTouchBarGroups" : 0
      }
    ],
    "BTTTouchBarButtonName" : "fn",
    "BTTTriggerConfig" : {
      "BTTTouchBarButtonColor" : "75.323769, 75.323769, 75.323769, 255.000000",
      "BTTTouchBarIconInvert" : false,
      "BTTTouchBarItemPlacement" : 0,
      "BTTTouchBarAlwaysShowButton" : false,
      "BTTTouchBarButtonHoverColor" : "248.880000, 146.115000, 128.010000, 181.050000",
      "BTTTouchBarButtonHeight" : 15,
      "BTTTouchBarButtonWidth" : 80,
      "BTTTouchBarItemIconHeight" : 22,
      "BTTTouchBarButtonTextAlignment" : 0,
      "BTTTouchBarButtonUseFixedWidth" : 1,
      "BTTTouchBarAlternateBackgroundColor" : "75.323769, 75.323769, 75.323769, 255.000000",
      "BTTTBWidgetWidth" : 400,
      "BTTTouchBarBorderColor" : "255.000000, 255.000000, 255.000000, 255.000000",
      "BTTTouchBarItemIconWidth" : 75,
      "BTTTouchBarFreeSpaceBeforeButton" : 0,
      "BTTTouchBarButtonFontSize" : 15,
      "BTTTouchBarFontColor" : "237.000000, 231.000000, 221.000000, 255.000000",
      "BTTTouchBarIconTextOffset" : 5,
      "BTTTouchBarOnlyShowIcon" : false,
      "BTTTouchBarFreeSpaceAfterButton" : 15,
      "BTTTouchBarItemPadding" : 0
    }
  }
]

Thanks! With that I was able to find the issue. It's fixed in 4.299 alpha (currently uploading).
It should now also not be necessary to have the delays anymore.

Thank very much Andreas, all good now (actually, better).
What a first-class support.
Have a great day,
A.-

1 Like