| View previous topic :: View next topic |
| Author |
Message |
FriendRist Guest
|
Posted: Tue Oct 19, 2004 8:45 am Post subject: WinXP doesn't allow me to open AHK anymore |
|
|
I was trying to make the program alt tab between interval of 10 seconds.
So I start:
SetKeyDelay 10000
Send, {ALTDOWN}{TAB}{ALTUP}
Now. Everytime I try opening AHK windows doesn't let me, probably thinking it's a virus or something. How do I get around this? |
|
| Back to top |
|
 |
FriendRist Guest
|
Posted: Tue Oct 19, 2004 8:51 am Post subject: OK, better yet |
|
|
How do I alt tab?
I know it's Send {ALTDOWN}{TAB}{ALTUP}
but that doesn't work--it just lets the application selector tab stay open. I need something that will seemlessly switch to another program. Possible? |
|
| Back to top |
|
 |
Chris Site Admin
Joined: 02 Mar 2004 Posts: 10467
|
Posted: Tue Oct 19, 2004 12:12 pm Post subject: |
|
|
The following will alt-tab every 10 seconds until you exit the script via its tray icon: | Code: | Loop
{
Sleep, 10000
Send, !{tab}
} |
For something more custom, check out GroupAdd, which offers behavior similar to Alt-Tab.
Edit: Fixed typo.
Last edited by Chris on Tue Oct 19, 2004 10:30 pm; edited 1 time in total |
|
| Back to top |
|
 |
FriendRist Guest
|
Posted: Tue Oct 19, 2004 10:27 pm Post subject: |
|
|
| you're awesome thx =D |
|
| Back to top |
|
 |
|