-
Notifications
You must be signed in to change notification settings - Fork 0
/
evio.ahk
52 lines (39 loc) · 1.01 KB
/
evio.ahk
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
; #Warn ; Enable warnings to assist with detecting common errors.
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
^+x::
OldClipboard:= Clipboard
Clipboard:= ""
Send, ^c ;copies selected text
ClipWait
Run https://www.google.com/search?q=%Clipboard%
Sleep 200
Clipboard:= OldClipboard
return
^+z::
OldClipboard:= Clipboard
Clipboard:= ""
Send, ^c ;copies selected text
ClipWait
Run https://www.google.com/search?q="%Clipboard%"
Sleep 200
Clipboard:= OldClipboard
return
^+a::
OldClipboard:= Clipboard
Clipboard:= ""
Send, ^c ;copies selected text
ClipWait
Run https://www.google.com/search?tbm=bks&q="%Clipboard%"
Sleep 200
Clipboard:= OldClipboard
return
;Window always on Top
^SPACE:: Winset, Alwaysontop, , A ; Ctrl + SpaceMouseClick, left
return
^+p::
SendMode, Event
SetKeyDelay, 30,30
Send, %Clipboard%
return