AHK Script For Komplete Kontrol Stand Alone/VST Patch Saving.
Written by steve Spamer
Downloaded from: www.samplitudeaccess.org.uk

Note:
1. These scripts were written with AHK in Windows 10, with KompleteKontrol V1.81 X64  stand alone/VST and will hopefully work with other configurations, but there are no guarantees.
2. The VST keystroke has been tested in Windows 10 with the latest  Samplitude, as well as Reaper configured to use the in "Dedicated process per plugin" VST bridging compatibility mode, (Could possibly work with other VST configurations, but not tested).
You can change this at the following location in Reaper:
Options/Preferences/Compatibility/VST-Bridging-Firewalling.
Note: Sonar has currently only been tested in Windows 7.
3. This script uses SAPI 5X for speech output, it will probably not work if you don't have this installed for some reason, but Windows 7 and 10 have it by default.
4. They are presented "as is", but if you think further things could be added, then contact me:
stevespamer68@gmail.com
with your suggestions.
3. To access the controls the set was initially done to make accessible:
A. Run the "KK.exe" by entering on it.
B. Open Komplete Kontrol stand alone or insert the Komplete Kontrol VST and edit a patch, (if you want to save an edited patch).
C. Press control+comma to open the preferences dialog.
D. Press control+shift+6 for the libraries/User tabb, then control+shift+A, R and U are available to you to add a library, rescan or enable/disable automatic scan on start up respectively.  Note: control+shift+R for Rescan is also available  in the Libraries/Factory Tab by pressing control+shift+7.
E. If you want to save an edited patch in the VST, simply edit your patch, press control+shift+S to save it, enter a name for the patch and click OK.  SAPI will announce when the patch has been saved.  You will then find your edited patch in the user/specific synth you were using.

Keystrokes.
Exit the AHK app=Control+Shift+X

SAPI Speech Feedback (only available in KK stand alone):
Control+Shift+9=Decrease Speech Volume
Control+Shift+0=Increase Speech Volume
Control+Shift+Dash=Decrease Speech Rate
Control+Shift+Equals=Increase Speech Rate
Control+Shift+Backspace=Stop Speech

Any Tab:
Control+Comma=Toggle preferences open/close

Tab Keystrokes:
Control+Shift+1=Audio Tab
Control+Shift+2=Midi Tab
Control+Shift+3=General Tab
Control+Shift+4=Hardware Tab
Control+Shift+5=Plugins Tab
Control+Shift+6=Libraries/User Tab
Control+Shift+7=Libraries/Factory Tab

Libraries/User Tab:
Control+Shift+A=Add Library
Control+Shift+R=Rescan
Control+Shift+U=Toggle automatic scan on start up on/off

Libraries/Factory Tab:
Control+Shift+R=Rescan

When Komplete Kontrol is loaded as a VST:
Control+Shift+S=Save As, (for saving any edited patch in the user directory).
Note: After saving, it doesn't seem necessary to rescan, as in testing all saved patches show under User/Specific Synth when using the S controller.
