From 8bb2d9e33b2c656549bd49e5c8e561d76c533363 Mon Sep 17 00:00:00 2001 From: Carlo van Wyk <5310264+thecarlo@users.noreply.github.com> Date: Sat, 15 Jun 2024 20:24:16 +1000 Subject: [PATCH] Premiere pro shortcuts --- public/extra_descriptions/premiere_pro.html | 29 ++++++ public/groups.json | 3 +- ...re_pro_scroll_timeline_mouse_button_3.json | 36 -------- public/json/premiere_pro.json | 90 +++++++++++++++++++ 4 files changed, 121 insertions(+), 37 deletions(-) create mode 100644 public/extra_descriptions/premiere_pro.html delete mode 100644 public/json/adobe_premiere_pro_scroll_timeline_mouse_button_3.json create mode 100644 public/json/premiere_pro.json diff --git a/public/extra_descriptions/premiere_pro.html b/public/extra_descriptions/premiere_pro.html new file mode 100644 index 000000000..0fbf905da --- /dev/null +++ b/public/extra_descriptions/premiere_pro.html @@ -0,0 +1,29 @@ + + +

+ Scroll the timeline with mouse button 3 +

+ + + + + + +
Mouse button 3 + Hold in button 3 to scroll the timeline horizontally. This automatically selects the hand tool. When you release button 3, it goes back to the selection tool. +
+ +

+ Faster editing with the mouse +

+ + + + + + + + + + +
Button 1 (left-click)Makes a cut on the timeline
Button 2 (right-click)Ripple edit to the previous cut on the timeline
diff --git a/public/groups.json b/public/groups.json index 6d8c27958..048417e56 100644 --- a/public/groups.json +++ b/public/groups.json @@ -474,7 +474,8 @@ "extra_description_path": "extra_descriptions/vs_code.html" }, { - "path": "json/adobe_premiere_pro_scroll_timeline_mouse_button_3.json" + "path": "json/premiere_pro.json", + "extra_description_path": "extra_descriptions/premiere_pro.html" }, { "path": "json/slack_left_option_search.json" diff --git a/public/json/adobe_premiere_pro_scroll_timeline_mouse_button_3.json b/public/json/adobe_premiere_pro_scroll_timeline_mouse_button_3.json deleted file mode 100644 index 564dfe5a4..000000000 --- a/public/json/adobe_premiere_pro_scroll_timeline_mouse_button_3.json +++ /dev/null @@ -1,36 +0,0 @@ -{ - "title": "Adobe Premiere Pro timeline: scroll timeline with mouse button 3 (hold button 3 to scroll; release to go back to selection tool)", - "maintainers": ["thecarlo"], - "rules": [ - { - "description": "Adobe Premiere Pro timeline: scroll timeline with mouse button 3 (hold button 3 to scroll; release to go back to selection tool)", - "manipulators": [ - { - "type": "basic", - "from": { - "pointing_button": "button3" - }, - "to": [ - { - "key_code": "h" - }, - { - "pointing_button": "button1" - } - ], - "to_after_key_up": [ - { - "key_code": "v" - } - ], - "conditions": [ - { - "type": "frontmost_application_if", - "bundle_identifiers": ["^com\\.adobe\\.PremierePro.23$", "^com\\.adobe\\.PremierePro.24$"] - } - ] - } - ] - } - ] -} diff --git a/public/json/premiere_pro.json b/public/json/premiere_pro.json new file mode 100644 index 000000000..bdb6f6152 --- /dev/null +++ b/public/json/premiere_pro.json @@ -0,0 +1,90 @@ +{ + "title": "Adobe Premiere Pro", + "maintainers": ["thecarlo"], + "rules": [ + { + "description": "Premiere Pro: scroll timeline with mouse button 3", + "manipulators": [ + { + "type": "basic", + "from": { + "pointing_button": "button3" + }, + "to": [ + { + "key_code": "h" + }, + { + "pointing_button": "button1" + } + ], + "to_after_key_up": [ + { + "key_code": "v" + } + ], + "conditions": [ + { + "type": "frontmost_application_if", + "bundle_identifiers": ["^com\\.adobe\\.PremierePro.23$", "^com\\.adobe\\.PremierePro.24$"] + } + ] + } + ] + }, + { + "description": "Premiere Pro: left shift + mouse button 1 → cut", + "manipulators": [ + { + "type": "basic", + "from": { + "pointing_button": "button1", + "modifiers": { + "mandatory": ["left_shift"], + "optional": [] + } + }, + "to": [ + { + "key_code": "k", + "modifiers": ["left_command"] + } + ], + "conditions": [ + { + "type": "frontmost_application_if", + "bundle_identifiers": ["^com\\.adobe\\.PremierePro.24$"] + } + ] + } + ] + }, + { + "description": "Premiere Pro: mouse button 2 → ripple trim to previous edit playhead", + "manipulators": [ + { + "type": "basic", + "from": { + "pointing_button": "button2", + "modifiers": { + "mandatory": [], + "optional": [] + } + }, + "to": [ + { + "key_code": "q", + "modifiers": [] + } + ], + "conditions": [ + { + "type": "frontmost_application_if", + "bundle_identifiers": ["^com\\.adobe\\.PremierePro.23$", "^com\\.adobe\\.PremierePro.24$"] + } + ] + } + ] + } + ] +}