Skip to content

Commit

Permalink
fix ControlSend in v2
Browse files Browse the repository at this point in the history
  • Loading branch information
spyoungtech committed Sep 21, 2023
1 parent 2d70afb commit becba02
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions ahk/_constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -5264,9 +5264,9 @@
try {
if (ctrl != "") {
ControlSendText(keys, ctrl, title, text, extitle, extext)
ControlSend(keys, ctrl, title, text, extitle, extext)
} else {
ControlSendText(keys,, title, text, extitle, extext)
ControlSend(keys,, title, text, extitle, extext)
}
}
finally {
Expand Down
4 changes: 2 additions & 2 deletions ahk/templates/daemon-v2.ahk
Original file line number Diff line number Diff line change
Expand Up @@ -2366,9 +2366,9 @@ AHKControlSend(command) {

try {
if (ctrl != "") {
ControlSendText(keys, ctrl, title, text, extitle, extext)
ControlSend(keys, ctrl, title, text, extitle, extext)
} else {
ControlSendText(keys,, title, text, extitle, extext)
ControlSend(keys,, title, text, extitle, extext)
}
}
finally {
Expand Down

0 comments on commit becba02

Please sign in to comment.