Code:
ExitKey=Escape ; Key to use to quit script - change to whatever you need.
Hotkey, %ExitKey% , EndRoutine,
IfWinExist Google - Mozilla Firefox
{
WinActivate
}
else
{
Run C:\Program Files\Mozilla Firefox\firefox.exe
WinWait Google - Mozilla Firefox
WinActivate
}
loop
{
Send, {F6}
Sleep, 100
Send, www.google.com
Sleep, 100
Send, {ENTER}
Sleep, 2000
Send, {F6}
Sleep, 100
Send, www.yahoo.com
Sleep, 100
Send, {ENTER}
Sleep, 2000
}
EndRoutine:
ExitApp
return
thats the best i can do w/ my noobish ahk script knowledge
the codes work, thx for the little tip PhiLho
(f6 shortcut)
and thx to enrica too for helping
