Code:
^!g::
Run iexplore.exe
Sleep, 3000
Send, {control}+{tab}
Send, www.
Return
I was helping someone with a script that opens IE and types "www." in the address bar. My homepage is
www.google.com. The search box on Google's page has the initial focus. When you manually hold control and press tab you are taken backwards to the address bar in IE.
The above script (with {control}+{tab}) takes you to one of the options above the search box. You can duplicate this by pressing shift+tab on the Google page.
It seems to me in the above code that {control}+{tab} is acting like {shift}+{tab}. If you insert {shift}+{tab} into the above code you will get the same results.
Edit:
Running XP with SP2 and AHK v1.0.37.07