Code: Select all
LButton::
MouseMove, 0, -30, 0, R ; Ajustar el -30 a tus necesidades.
Click
Return
Code: Select all
LButton::
MouseMove, 0, -30, 0, R ; Ajustar el -30 a tus necesidades.
Click
Return
Code: Select all
F1::Send,
(
d:
cd \
cd emulators
cd mame
mameui64.exe roms\alien3.zip -skip_gameinfo
exit
)
Code: Select all
~w::Up
Code: Select all
#MaxThreadsPerHotkey, 2
SetBatchLines, -1
Toggle := 0
F1::
Toggle := !Toggle
While, (Toggle= 1)
{
SendInput, e
}
Return
Code: Select all
SSN := "123-45-6789"
^g::
Clipboard := StrReplace(Clipboard, " ", "")
Clipboard := StrReplace(Clipboard, "-", "")
Clipboard := RegExReplace(Clipboard, "\d{5}", "XXXXX")
Send, ^v
Return
Code: Select all
F1::
Toggle := !Toggle
Click
While, (Toggle = 1)
{
SendInput, {LControl down}v{LControl up}
Sleep, 1000
}
Return
Code: Select all
F2::Toggle := !Toggle
#If (Toggle = 1)
LButton::
while (GetKeyState("Lbutton", "P")
{
Click 2
}
return
RButton::
While (GetKeyState("Rbutton", "P")
{
Click 2
}
return
#If
Code: Select all
Run, SndVol.exe
Code: Select all
Lbutton::
LButton & LControl::
LButton & LShift::
Sleep, 3000
While, GetKeyState("LButton", "P")
{
Click
}
Return
Code: Select all
SetKeyDelay, 50, 50
<^<!F4::
While, GetKeyState("LControl", "P") && GetKeyState("LAlt", "P") && GetKeyState("F4", "P")
{
Send, xz
}
Return
Code: Select all
SetMouseDelay, 30
$LButton::
While, GetKeyState("LButton", "P")
{
Click
}
Return
Code: Select all
Variable := ""
; ou
Variable =
Code: Select all
LButton::
While, GetKeyState(A_ThisHotkey, "P")
{
;Commands to execute
}
Return
Easy with KeyWaitNaCloridium wrote: ↑20 Sep 2020, 05:21If F13 is pressed short (max. 50ms) it skips the track
If F13 is pressed long (more than 100ms) it plays the previous track
Code: Select all
F13::
KeyWait, % A_ThisHotKey, T0.5
If (Errorlevel = 1)
{
Send, {Media_Next}
}
Else if (ErrorLevel = 0)
{
Send, {Media_Prev}
}
Return