AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Translate Alt-Tab to Alt-F1

 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help
View previous topic :: View next topic  
Author Message
glang



Joined: 10 Mar 2005
Posts: 2

PostPosted: Thu Mar 10, 2005 5:52 pm    Post subject: Translate Alt-Tab to Alt-F1 Reply with quote

I'm a new user and need help!

We have HP thin clients with XPe and need the ability to remap Alt-Tab to Alt-F1. The unit does not process Alt-Tab correctly, I can setup the client to correcly work with Alt-F1. What I want to do is, when the user presses Alt-Tab convert it to Alt-F1. This way I don't have to retrain hundreds of users.

I've loaded AutoHotKey on the thin client and the utility seems to work just fine. All I need is the proper script command to remap this simple task (I hope it's simple). I've tried and tried, unable to make it work.\

Can any please help me????

Thanks!
Back to top
View user's profile Send private message
Titan



Joined: 11 Aug 2004
Posts: 5068
Location: imaginationland

PostPosted: Thu Mar 10, 2005 6:37 pm    Post subject: Reply with quote

This could be something you want, it makes Alt+Tab send Alt+F1:
Code:
Alt & Tab::
Send, {Alt & F1}
Return

See: Hotkey, Send
_________________

RegExReplace("irc.freenode.net/ahk", "^(?=(.(?=[\0-r\[]*((?<=\.).))))(?:[c-\x73]{2,8}(\S))+((2)|\b[^\2-]){2}\D++$", "$u3$1$3$4$2")
Back to top
View user's profile Send private message Visit poster's website
jonny



Joined: 13 Nov 2004
Posts: 3004
Location: Minnesota

PostPosted: Thu Mar 10, 2005 6:47 pm    Post subject: Reply with quote

Actually, this would probably work better:

Code:
!tab::send,!{F1}
Back to top
View user's profile Send private message
glang



Joined: 10 Mar 2005
Posts: 2

PostPosted: Thu Mar 10, 2005 7:12 pm    Post subject: Reply with quote

Thank you very much for replying.

It partially works. It does switch between two windows but if I have more than two active windows it doesn't switch to the third, forth, and so on. I would like the “Cool Switching” window to pop-up so users don't see any differences.

When you hold Alt down, you’re able to repeatedly press the Tab key to allow “Cool Switching” between all current windows. The Citrix client allows this same feature but when you press Alt-F1 or repeatedly press the F1 while holding down the Alt key it allows you to “Cool Switch” between all windows (same as Alt-Tab). Is there any way that we can simulate this process?
Back to top
View user's profile Send private message
jonny



Joined: 13 Nov 2004
Posts: 3004
Location: Minnesota

PostPosted: Thu Mar 10, 2005 8:28 pm    Post subject: Reply with quote

There are some special actions that can do this; go to this page and search for AltTab. The reason I didn't suggest it in the first place is that the AltTab actions only work on NT/2000/XP, so I don't know if they'd work on your system or not.
Back to top
View user's profile Send private message
Chris
Site Admin


Joined: 02 Mar 2004
Posts: 10467

PostPosted: Fri Mar 11, 2005 1:47 am    Post subject: Reply with quote

glang wrote:
It partially works. It does switch between two windows but if I have more than two active windows it doesn't switch to the third, forth, and so on.

...when you press Alt-F1 or repeatedly press the F1 while holding down the Alt key it allows you to “Cool Switch” between all windows (same as Alt-Tab).

I think something like this might work:
$!tab::
Send {Alt down}{F1}
return

However, some extra keystrokes are automatically generated in conjunction with the above, so it wouldn't surprise me if it's not a complete solution. There is a plan to add a SendBlind command, which would eliminate those extra keystrokes in cases like these where you want "pure" keystrokes.
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group