Skip to content

Commit

Permalink
optimize QuickEntry_Everything_Menu_Click
Browse files Browse the repository at this point in the history
  • Loading branch information
no5ix committed Apr 17, 2022
1 parent 8d6da8f commit a9317fa
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions source/quick_entry.ahk
Original file line number Diff line number Diff line change
Expand Up @@ -268,12 +268,15 @@ QuickEntry_ScreenShot_Suspend_Menu_Click:

QuickEntry_Everything_Menu_Click:
st := current_selected_text
if (!current_selected_text) {
if (!st) {
st := GetCurSelectedText()
}
Send, #!s
Sleep, 222
PasteContent(st)
Send, #!s
if (st) {
Sleep, 666
PasteContent(st)
}
Return


Expand Down

0 comments on commit a9317fa

Please sign in to comment.