AutoHotkey Community

It is currently May 27th, 2012, 2:52 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: September 1st, 2005, 3:11 pm 
Offline

Joined: August 15th, 2005, 2:57 pm
Posts: 57
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


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: September 1st, 2005, 3:36 pm 
Offline

Joined: January 31st, 2005, 9:50 am
Posts: 3910
Location: Bremen, Germany
It is not a bug.
The "+" is shift. Please read the manual on send.
to send Ctrl+Tab you have to use
Code:
Send, ^{Tab}


To avoid the sleep, you could use StatusBarWait

_________________
Ciao
toralf
Image


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: September 1st, 2005, 3:37 pm 
Offline

Joined: August 15th, 2005, 2:57 pm
Posts: 57
Thanks for your quick (as usual) help toralf! Sorry I missed that!


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group