| View previous topic :: View next topic |
| Author |
Message |
brotherS
Joined: 01 Jun 2005 Posts: 147
|
Posted: Fri Jan 05, 2007 12:20 pm Post subject: bring focus to part of IE but don't click it? |
|
|
Hi!
I'm using AHK so that I only have to type ".mail" to get "http://mail.google.com/mail/". This always used to work fine and still does.
What doesn't work anymore since a month or two is that I can use GoogleMail's keyboard shortcuts right after the page loaded. I now have to hit TAB three times to give focus to the main area of IE (the area where IE displays www content, no idea what the technical term for it is).
Since I don't want to use MouseClick - is there some better way than making AHK hit TAB three times to bring focus to that area?
(Firefox may not have this problem (I didn't check), but for several reasons I prefer to use IE for GoogleMail) _________________ DonationCoder.com brings AHK to the newbies!
Fan of AutoHotkey? Consider an occasional donation to its developer, Chris Mallett. |
|
| Back to top |
|
 |
PhiLho
Joined: 27 Dec 2005 Posts: 6721 Location: France (near Paris)
|
Posted: Fri Jan 05, 2007 12:28 pm Post subject: |
|
|
I would try something like ControlFocus Internet Explorer_Server1, ahk_class IEFrame _________________
vPhiLho := RegExReplace("Philippe Lhoste", "^(\w{3})\w*\s+\b(\w{3})\w*$", "$1$2") |
|
| Back to top |
|
 |
brotherS
Joined: 01 Jun 2005 Posts: 147
|
Posted: Tue Jan 09, 2007 11:06 am Post subject: |
|
|
Thanks, sounds like a good idea! Will try it later, it will be part of a bigger script. _________________ DonationCoder.com brings AHK to the newbies!
Fan of AutoHotkey? Consider an occasional donation to its developer, Chris Mallett. |
|
| Back to top |
|
 |
|