-
Notifications
You must be signed in to change notification settings - Fork 0
Install AHK Repo
-
..\at the beginning of a path (ie...\Support Files\) means the chosen installation directory for the ahk repo - Install these vscode extensions if you haven't already;
Backup the following files somewhere;
..\Support Files\KSA\Keyboard Shortcuts.ini..\Support Files\Streamdeck Files\options.ini- My Documents Folder
\tomshi\settings.ini
- Delete old installation of my ahk repo (the
Tomshi AHKfolder) - Download the latest version of my scripts
- Run the installation process
- You do not need to reinstall the
PremiereRemoteaddon that appears at the end of the installation process. That is already done (unless you've wiped your pc or something)
- You do not need to reinstall the
- Open VSCode
- If there are any folders open in the workspace (on the left) remove them by right clicking on the top most item in the dropdown tree and selecting
Remove Folder from Workspace

- Drag the new ahk installation into VSCode (the
Tomshi AHKfolder) to allow for more easily following the below instructions
As your setup contains a few changes, you need to do a couple of things to get it back to working properly;
- Pull up the backed up version of
Keyboard Shortcuts.iniand the new version in VSCode side by side. (by simply dragging them next to each other)
Tip
You can rename the old file so it doesn't get too confusing having two of the same filename open in vscode. Maybe something simple like ksa_backup.ini will make it stand out more
- Check to see if anything has been changed/added (chances are if the amount of lines on the left is the same on both should be fine)
If they're the same;
- Override the new version with the backed up version by copy pasting the old stuff over.
If they're different;
- Copy over any new additions to your backed up version then override it by copy pasting the old stuff over.
Important
In your code specifically you use a different mouse button to me to drag the timeline. In the Keyboard Shortcuts.ini file ensure that DragKeywait equals XButton1 and NOT XButton2
- Similarly to KSA above, pull them up next to each other and check for any additions/removals
- As this is a smaller file either copy over your old entries or follow similar steps to those listed above
I personally have an additional hotkey to move the playhead at any time that I have set to one of my side mouse buttons. In the past you have asked me to disable this. You can do so by;
- Opening the file
..\lib\Classes\Editors\Premiere_RightClick.ahk - Searching for the line
XButton1::rbuttonPrem().movePlayhead(false)and putting a;at the beggining of the line- it should now read
;XButton1::rbuttonPrem().movePlayhead(false)and turn grey
- it should now read
If you instead wish to use this instead of disabling it, as you already have the drag timeline script on XButton1, you'll need to instead change the line to;
XButton2::rbuttonPrem().movePlayhead(false)- While you can follow similar steps to above, I don't really recommend doing so, just take the few seconds to open up the settings GUI (using Win + F1 once you rerun your script) and adjust your settings. I only included it in the backup process earlier so you can reference your previous settings without needing to remember them.
- Including correctly setting your
Premiere&After Effectsversions in theEditorsmenu. While I have code to set the version numbers automatically, the correctYearversion still needs to be manually set for this code to work correctly.
- Including correctly setting your
Rerun your alex ahk script, change any settings in the GUI window as mentioned above, and then everything should now be complete.