Hi im new to Autoit and i working on a project. I created something really simple where i put macros containing mouseclicks and keyboard presses to specific hotkeys while im working on webpages in firefox. Something like this :
HotKeySet("{0}","g")
Func q()
MouseClick("left",126,29,1,2)
MouseClick("left",28,314,1,2)
Send("{PGDN}{PGDN}{UP}{UP}{UP}{UP}{UP}{UP}{UP}{UP}")
MouseClick("left",208,294,1,4)
MouseClick("left",205,399,1,2)
EndFunc
But i always wondered if there is a way to automate that in a way. For example if a specific website opens up (http://www.autoitscript.com/forum) then it should execute the above, and so on with other websites. (Note i dont mean in a malicious way, i just wanted to keep it abstract)
So if website 1 turns up execute script a, website 2 execute script b etc. Is this Possible ?
I use SciTE Version 3.4.1 with au3recorder. I looked at the Help file mentioned but i dont actually know what to look for :/