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 

ALT-TAB replacement with icons and window titles in ListView
Goto page Previous  1, 2, 3, 4, 5, 6, 7, 8, 9, 10  Next
 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Scripts & Functions
View previous topic :: View next topic  
Author Message
wtg



Joined: 04 Oct 2006
Posts: 85
Location: Louisville, KY

PostPosted: Fri Oct 27, 2006 5:29 pm    Post subject: Reply with quote

wtg wrote:
I've not tried uninstalling the XP PowerToy yet. If I do, I'll post back with the outcome.


I didn't uninstall it, but killed it's process and then the single key hotkey seems to work fine.

wtg wrote:
Third, I setup a group and assigned a hotkey, Ctrl-Alt-O.


I'm not sure I even understand what this is supposed to do, so ignore this for now.
Back to top
View user's profile Send private message
Justineo14



Joined: 30 Oct 2006
Posts: 43

PostPosted: Fri Feb 02, 2007 5:01 pm    Post subject: suggestion Reply with quote

I have a suggestion what if you made the group function so that when you save a group that the icons will goto one icon only like a sub menu only in alt-tab list. Like when you left click on that group icon it shows a sub list with all the icons in that group could you do that??
_________________
Tex© Click here to mail me
Back to top
View user's profile Send private message MSN Messenger
Guest






PostPosted: Fri Feb 09, 2007 7:22 pm    Post subject: Reply with quote

Hey evl, hope you are checking this thread Smile

I have played with modifying the script a bit, and am running into a weird problem:

in ListView_Destroy, after the Gui, 1: Destroy line, I add

Loop {
RButtonDown := GetKeyState("RButton","P")
If (!RButtonDown)
Break
Sleep 10
}

*Problem*: this loop never executes. The window switches, and instantly registers a right-click in the new window. However, when I added this loop to the barebones script posted earlier, it worked just as expected.


Why the hell am I doing this:

I'm trying to make the script play well with Logitech MX Rev. mouse rocker switch. I'm trying to invoke alt-tab app list, then scroll via the wheel, then press a mouse button (currently RButton) to select it.

I got this to work by adding
If A_GuiEvent = RightClick to the ListView_Event subroutine

This works, but for aesthetic reasons (to avoid highlighting the wrong app on RightClick) I want to trigger the window switch on mouse down, as opposed to mouse up (with RightClick). So, I tried using in ListView_Event

If GetKeyState("RButton")
If A_GuiEvent = RightClick
{
RightClickFlag = 1;
Gosub, ListView_Destroy
}

and to make sure the button got released before commencing the window switch to add the loop that waits for the RButton to be lifted up

in ListView_Destroy, after the Gui, 1: Destroy line, I add

Loop {
RButtonDown := GetKeyState("RButton","P")
If (!RButtonDown)
Break
Sleep 10
}

But this loop never executes. The window switches, and instantly registers a right-click in the new window. When I added this loop to the barebones script posted earlier, it worked just as expected.
Back to top
Guest






PostPosted: Fri Feb 09, 2007 7:25 pm    Post subject: Reply with quote

d'oh, the next to last code snippet should read
"So, I tried using in ListView_Event
If GetKeyState("RButton")
{
RightClickFlag = 1;
Gosub, ListView_Destroy
}
"
Back to top
Malibu
Guest





PostPosted: Fri Apr 20, 2007 9:19 pm    Post subject: Cool Feature Request Reply with quote

If I could make a feature request that would be really cool...

I work with Putty sessions a lot; often many sessions on one server and I find myself looking through windows with a particular content but all having the same title.

I think it would be really cool if, as you alt-tab through the windows, in the background the window you have highlighted gets brought to the front but opaque. So you can 'preview' the contents of the window.

Then obviously you can either select it in which case it will be active but in normal mode.. Or if not selected, the window returns to the way it was.

Any thoughts?
Back to top
evl



Joined: 24 Aug 2005
Posts: 1234

PostPosted: Sat Sep 22, 2007 3:51 pm    Post subject: Reply with quote

Long time no post, but soon I'll post a fairly significant update to this, my favourite script Cool The basic functionality is still about the same, but the code is significantly cleaner (and a LOT easier to follow), the listview display is much slicker and it's pretty fast too.
Back to top
View user's profile Send private message
jOc



Joined: 07 Dec 2005
Posts: 7

PostPosted: Thu Nov 15, 2007 8:00 am    Post subject: Reply with quote

evl wrote:
Long time no post, but soon I'll post a fairly significant update to this, my favourite script Cool The basic functionality is still about the same, but the code is significantly cleaner (and a LOT easier to follow), the listview display is much slicker and it's pretty fast too.


Hi evl
When can we expect this masterpiece? Cool

I use it all the time on several computers. There is only minor "bug" that annoys me from time. I use right ctrl + shft (+enter) as alt+tab(+shift) and what happens some time is (when extensively using it) that some shift-double-press function is activated. Even though the shift is not pressed, the keyboard acts as it was. To turn it off I had to press right shift twice. And this is only on one computer. Maybe it has to do sth with winxp settings...

Good progie, it's on the list of my essentialz. Wink

jOc
Back to top
View user's profile Send private message
evl



Joined: 24 Aug 2005
Posts: 1234

PostPosted: Sun Nov 18, 2007 3:13 pm    Post subject: Reply with quote

Thanks for the interest. I'm still working on it (work ... real work that is.... caught up with me so I haven't finished ironing out some bugs yet).
Back to top
View user's profile Send private message
nuganen



Joined: 07 Nov 2007
Posts: 5

PostPosted: Tue Nov 20, 2007 1:49 am    Post subject: Reply with quote

hey mate,

how would you go about to make alt-tab every 20 seconds between all the windows that it have open?

cheers
Back to top
View user's profile Send private message
Juan
Guest





PostPosted: Mon Jan 21, 2008 5:15 am    Post subject: mousewell Reply with quote

hello evl, your script is really impresive, I normally use the mouse but in some cases, when browsing, i would like to use the mouse to shitch tasks, can you give me some tips to do it? maibe using rbutton+wheel
thanks
Back to top
sfranky



Joined: 25 Nov 2007
Posts: 6

PostPosted: Mon Jan 21, 2008 1:05 pm    Post subject: Reply with quote

this is excellent !!! exactly what I needed and even better !!
thank you so much for this !! Very Happy Very Happy Very Happy Very Happy
Back to top
View user's profile Send private message
Cheers
Guest





PostPosted: Sat Feb 16, 2008 8:24 pm    Post subject: Reply with quote

evl wrote:
Long time no post, but soon I'll post a fairly significant update to this, my favourite script Cool The basic functionality is still about the same, but the code is significantly cleaner (and a LOT easier to follow), the listview display is much slicker and it's pretty fast too.


looking forward to that release. thanks for the script by the way. I use it everyday.
Back to top
evl



Joined: 24 Aug 2005
Posts: 1234

PostPosted: Wed Mar 19, 2008 9:06 am    Post subject: Reply with quote

So, after almost exactly two years, it's time for an update to my Alt-Tab script Laughing

You can read the changes and download it from the first post in this thread. Feel free to report any important bugs (it's a work in progress, consider it a beta - but I do use it every day, so it's pretty reliable). I'll update the screenshot soon. The options tab is NOT yet implemented.

The most significant changes are tabs for groups of windows, much better listview drawing and considerably more optimised code (which is a lot easier to follow now).
Back to top
View user's profile Send private message
Azerty



Joined: 19 Dec 2006
Posts: 72
Location: France

PostPosted: Wed Mar 19, 2008 12:07 pm    Post subject: Reply with quote

WOW WOW amazing !

I noticed a previous run when I started using AHK, but was unclear about using it...

I think I'm becoming clearer about it, I'm probably gonna love it Smile

Thanks for sharing
Back to top
View user's profile Send private message
deanhill1971



Joined: 30 Sep 2005
Posts: 58
Location: Fort Wayne, IN

PostPosted: Thu Mar 20, 2008 6:07 pm    Post subject: Reply with quote

evl,

I hadn't used AltTab.ahk for a long time, but decided today to start using it again. What an interesting surprise to find that you posted an update just yesterday. Smile

The script seems much faster, and the new features seem good.

Maybe I'm dense, but I really can't figure out how to use the GUI to maintain my custom groups. I have a group named DeanLimited that is a list of applications to exclude. I can't figure out how to edit my list in the GUI, so I edit the ini directly.

I think I found your first bug.
I defined my group in the ini as follows, but no windows showed up.
Code:
DeanLimited=!totalcmd.exe|!winword.exe

I found that adding any non-excluded item to the end of the list made things work exactly as expected, i.e. all windows except the two exclusions were shown:
Code:
DeanLimited=!totalcmd.exe|!winword.exe|calc.exe


Looking at the script, I found the problem in the Display_List__Find_windows_and_icons section. When the group only contains excluded items, the Continue in the below code is always executed and no windows are shown.
Code:
      If ((Exclude_Item ="!") ; was found but should be excluded
          or (Custom_Group_Include_wid_temp !=1 and Exclude_Not_In_List =1)) ; skip window if not in included list
        Continue
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Scripts & Functions All times are GMT
Goto page Previous  1, 2, 3, 4, 5, 6, 7, 8, 9, 10  Next
Page 7 of 10

 
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