Guest User

Untitled

a guest
Sep 16th, 2025
6
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 7.18 KB | None | 0 0
  1. {
  2.     "description": "Swap ⌘ and ctrl + conditional disable Control+Arrow in RDP apps",
  3.     "manipulators": [
  4.         {
  5.             "conditions": [
  6.                 {
  7.                     "bundle_identifiers": [
  8.                         "com\\.microsoft\\.rdc$",
  9.                         "com\\.microsoft\\.rdc\\.mac$",
  10.                         "com\\.microsoft\\.rdc\\.macos$",
  11.                         "com\\.microsoft\\.rdc\\.osx\\.beta$",
  12.                         "com\\.thinomenon\\.RemoteDesktopConnection$",
  13.                         "com\\.teamviewer\\.TeamViewer$",
  14.                         "com\\.ericom\\.blazeclient"
  15.                     ],
  16.                     "type": "frontmost_application_if"
  17.                 }
  18.             ],
  19.             "from": {
  20.                 "key_code": "left_control",
  21.                 "modifiers": { "optional": ["any"] }
  22.             },
  23.             "to": [{ "key_code": "left_command" }],
  24.             "type": "basic"
  25.         },
  26.         {
  27.             "conditions": [
  28.                 {
  29.                     "bundle_identifiers": [
  30.                         "com\\.microsoft\\.rdc$",
  31.                         "com\\.microsoft\\.rdc\\.mac$",
  32.                         "com\\.microsoft\\.rdc\\.macos$",
  33.                         "com\\.microsoft\\.rdc\\.osx\\.beta$",
  34.                         "com\\.thinomenon\\.RemoteDesktopConnection$",
  35.                         "com\\.teamviewer\\.TeamViewer$",
  36.                         "com\\.ericom\\.blazeclient"
  37.                     ],
  38.                     "type": "frontmost_application_if"
  39.                 }
  40.             ],
  41.             "from": {
  42.                 "key_code": "left_command",
  43.                 "modifiers": { "optional": ["any"] }
  44.             },
  45.             "to": [{ "key_code": "left_control" }],
  46.             "type": "basic"
  47.         },
  48.         {
  49.             "conditions": [
  50.                 {
  51.                     "bundle_identifiers": [
  52.                         "com\\.microsoft\\.rdc$",
  53.                         "com\\.microsoft\\.rdc\\.mac$",
  54.                         "com\\.microsoft\\.rdc\\.macos$",
  55.                         "com\\.microsoft\\.rdc\\.osx\\.beta$",
  56.                         "com\\.thinomenon\\.RemoteDesktopConnection$",
  57.                         "com\\.teamviewer\\.TeamViewer$",
  58.                         "com\\.ericom\\.blazeclient"
  59.                     ],
  60.                     "type": "frontmost_application_if"
  61.                 }
  62.             ],
  63.             "from": {
  64.                 "key_code": "right_control",
  65.                 "modifiers": { "optional": ["any"] }
  66.             },
  67.             "to": [{ "key_code": "right_command" }],
  68.             "type": "basic"
  69.         },
  70.         {
  71.             "conditions": [
  72.                 {
  73.                     "bundle_identifiers": [
  74.                         "com\\.microsoft\\.rdc$",
  75.                         "com\\.microsoft\\.rdc\\.mac$",
  76.                         "com\\.microsoft\\.rdc\\.macos$",
  77.                         "com\\.microsoft\\.rdc\\.osx\\.beta$",
  78.                         "com\\.thinomenon\\.RemoteDesktopConnection$",
  79.                         "com\\.teamviewer\\.TeamViewer$",
  80.                         "com\\.ericom\\.blazeclient"
  81.                     ],
  82.                     "type": "frontmost_application_if"
  83.                 }
  84.             ],
  85.             "from": {
  86.                 "key_code": "right_command",
  87.                 "modifiers": { "optional": ["any"] }
  88.             },
  89.             "to": [{ "key_code": "right_control" }],
  90.             "type": "basic"
  91.         },
  92.         {
  93.             "conditions": [
  94.                 {
  95.                     "bundle_identifiers": [
  96.                         "com\\.microsoft\\.rdc$",
  97.                         "com\\.microsoft\\.rdc\\.mac$",
  98.                         "com\\.microsoft\\.rdc\\.macos$",
  99.                         "com\\.microsoft\\.rdc\\.osx\\.beta$",
  100.                         "com\\.thinomenon\\.RemoteDesktopConnection$",
  101.                         "com\\.teamviewer\\.TeamViewer$",
  102.                         "com\\.ericom\\.blazeclient"
  103.                     ],
  104.                     "type": "frontmost_application_if"
  105.                 }
  106.             ],
  107.             "from": {
  108.                 "key_code": "left_arrow",
  109.                 "modifiers": {
  110.                     "mandatory": ["control"],
  111.                     "optional": []
  112.                 }
  113.             },
  114.             "to": [{ "key_code": "vk_none" }],
  115.             "type": "basic"
  116.         },
  117.         {
  118.             "conditions": [
  119.                 {
  120.                     "bundle_identifiers": [
  121.                         "com\\.microsoft\\.rdc$",
  122.                         "com\\.microsoft\\.rdc\\.mac$",
  123.                         "com\\.microsoft\\.rdc\\.macos$",
  124.                         "com\\.microsoft\\.rdc\\.osx\\.beta$",
  125.                         "com\\.thinomenon\\.RemoteDesktopConnection$",
  126.                         "com\\.teamviewer\\.TeamViewer$",
  127.                         "com\\.ericom\\.blazeclient"
  128.                     ],
  129.                     "type": "frontmost_application_if"
  130.                 }
  131.             ],
  132.             "from": {
  133.                 "key_code": "right_arrow",
  134.                 "modifiers": {
  135.                     "mandatory": ["control"],
  136.                     "optional": []
  137.                 }
  138.             },
  139.             "to": [{ "key_code": "vk_none" }],
  140.             "type": "basic"
  141.         },
  142.         {
  143.             "conditions": [
  144.                 {
  145.                     "bundle_identifiers": [
  146.                         "com\\.microsoft\\.rdc$",
  147.                         "com\\.microsoft\\.rdc\\.mac$",
  148.                         "com\\.microsoft\\.rdc\\.macos$",
  149.                         "com\\.microsoft\\.rdc\\.osx\\.beta$",
  150.                         "com\\.thinomenon\\.RemoteDesktopConnection$",
  151.                         "com\\.teamviewer\\.TeamViewer$",
  152.                         "com\\.ericom\\.blazeclient"
  153.                     ],
  154.                     "type": "frontmost_application_if"
  155.                 }
  156.             ],
  157.             "from": {
  158.                 "key_code": "up_arrow",
  159.                 "modifiers": {
  160.                     "mandatory": ["control"],
  161.                     "optional": []
  162.                 }
  163.             },
  164.             "to": [{ "key_code": "vk_none" }],
  165.             "type": "basic"
  166.         },
  167.         {
  168.             "conditions": [
  169.                 {
  170.                     "bundle_identifiers": [
  171.                         "com\\.microsoft\\.rdc$",
  172.                         "com\\.microsoft\\.rdc\\.mac$",
  173.                         "com\\.microsoft\\.rdc\\.macos$",
  174.                         "com\\.microsoft\\.rdc\\.osx\\.beta$",
  175.                         "com\\.thinomenon\\.RemoteDesktopConnection$",
  176.                         "com\\.teamviewer\\.TeamViewer$",
  177.                         "com\\.ericom\\.blazeclient"
  178.                     ],
  179.                     "type": "frontmost_application_if"
  180.                 }
  181.             ],
  182.             "from": {
  183.                 "key_code": "down_arrow",
  184.                 "modifiers": {
  185.                     "mandatory": ["control"],
  186.                     "optional": []
  187.                 }
  188.             },
  189.             "to": [{ "key_code": "vk_none" }],
  190.             "type": "basic"
  191.         }
  192.     ]
  193. }
Advertisement
Add Comment
Please, Sign In to add comment