Code: Select all
SetTitleMatchMode,1
:*:z::
IfWinActive,ahk_class Opera.exe
{
Loop
{
WinActivate
SendPlay,{LAlt down}
sleep 500
SendPlay,{f}
}
Sendplay,{LAlt up}
}
else
MsgBox opera not open
Return
Im tired of having to do endless pressings of f while keeping the LAlt down because im playing Tribal wars.
P.S sorry for my english , hope it isnt so hard to understand what i meant