Code: Select all
w::
Sleep, 1000
Send, {Shift down}
KeyWait, w
Send, {Shift up}
return
Code: Select all
w::
Sleep, 1000
Send, {Shift down}
KeyWait, w
Send, {Shift up}
return
Code: Select all
+w::
SoundBeep, 900, 30
Send {Shift up}
Return
w::
SoundBeep, 1500, 30
Send {Shift down}
Return
Code: Select all
SetTitleMatchMode, 2
#IfWinActive ahk_exe GoldenDict.exe
Numpad4::
If A_Cursor=Unknown ; ;The hand-shaped cursors (pointing and grabbing) are classified as Unknown
{
Send, {sc1D Down}
Click
Send, {sc1D Up}
Sleep, 1000
MouseGetPos, xpos, ypos
MouseClick, left, 1691, 120, , 0 ; [WhichButton , X, Y, ClickCount, Speed, D|U, R]
MouseMove, xpos, ypos, 0
}
Else If A_Cursor=IBeam ; курсор как при впечатать текст
{
Send, {sc1D Down}
Click, 2
Send {sc1D Up}
Sleep, 1000
MouseGetPos, xpos, ypos
MouseClick, left, 1691, 120, , 0 ; [WhichButton , X, Y, ClickCount, Speed, D|U, R]
MouseMove, xpos, ypos, 0
}
#If
Return
; Обводка текства в Otter and Квизлет и поиск
#IfWinActive Quizlet ahk_exe chrome.exe
Numpad4::
Sleep 100
Send {LCtrl Down}{LShift Down}{LAlt Down}{LWin Down}{scB}{LCtrl Up}{LShift Up}{LAlt Up}{LWin Up}
sleep 2000
Send {LCtrl Down}{LShift Down}{LAlt Down}{LWin Down}{scB}{LCtrl Up}{LShift Up}{LAlt Up}{LWin Up}
sleep 100
/*
Winhide, ahk_exe chrome.exe ;Mozilla Firefox
*/
WinActivate, Engvidshortcut ahk_exe anki.exe
Send {Escape}
Sleep 500
Send, {scA}{sc1D Down}{sc2F}{sc1D Up}{sc1C} ; 9 - LCtrl вниз - v - LCtrl вверх - enter
#If
return
Code: Select all
+w::
SoundBeep, 900, 30
Send {Shift up}
Return
w::
SoundBeep, 1500, 30
Send {Shift down}
Return
Users browsing this forum: No registered users and 279 guests