Skip to content

Commit

Permalink
Update KK Save as dialog for latest KK version
Browse files Browse the repository at this point in the history
  • Loading branch information
MatejGolian committed Aug 3, 2024
1 parent 042c11d commit 797eef5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Includes/Overlays/KompleteKontrol.ahk
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ Class KompleteKontrol {
Plugin.Register("Komplete Kontrol Save As Dialog", "^NIChildWindow[0-9A-F]{17}$",, False, False, False, ObjBindMethod(KompleteKontrol, "CheckPluginSaveAsDialog"))

PluginSaveAsOverlay := AccessibilityOverlay()
PluginSaveAsOverlay.AddOCREdit("Save Preset, Name:", 28, 76, 500, 88)
PluginSaveAsOverlay.AddOCREdit("Save Preset, Name:", 24, 72, 500, 88)
PluginSaveAsOverlay.AddCustomButton("Save",, ObjBindMethod(KompleteKontrol, "SaveOrClosePluginSaveAsDialog"))
PluginSaveAsOverlay.AddCustomButton("Cancel",, ObjBindMethod(KompleteKontrol, "SaveOrClosePluginSaveAsDialog"))
Plugin.RegisterOverlay("Komplete Kontrol Save As Dialog", PluginSaveAsOverlay)
Expand Down Expand Up @@ -101,7 +101,7 @@ Class KompleteKontrol {
Standalone.Register("Komplete Kontrol Save As Dialog", "ahk_class #32770 ahk_exe Komplete Kontrol.exe", ObjBindMethod(KompleteKontrol, "FocusStandaloneSaveAsDialog"), False, False, ObjBindMethod(KompleteKontrol, "CheckStandaloneSaveAsDialog"))

StandaloneSaveAsOverlay := AccessibilityOverlay()
StandaloneSaveAsOverlay.AddOCREdit("Save Preset, Name:", 28, 76, 500, 88)
StandaloneSaveAsOverlay.AddOCREdit("Save Preset, Name:", 24, 72, 500, 88)
StandaloneSaveAsOverlay.AddHotspotButton("Save", 219, 135)
StandaloneSaveAsOverlay.AddCustomButton("Cancel",, ObjBindMethod(KompleteKontrol, "CloseStandaloneSaveAsDialog"))
Standalone.RegisterOverlay("Komplete Kontrol Save As Dialog", StandaloneSaveAsOverlay)
Expand Down

0 comments on commit 797eef5

Please sign in to comment.