Solved Classic Alt Tab (Reincarnation)


UPDATED 06 MAY 2025:

Post 1
- Added AlwayOnTop Light Mode EXEs as attachments; added code explanation for users that want to make specified changes on their own (to include the transparency effect).
Post 4 - Added AlwayOnTop Dark Mode EXEs as attachments

If you want to request a custom color and are not sure how to modify the AHK code, request here and let me know the RGB color code and i will get one made up.

*IF you downloaded prior to 06 MAY 2025, please redownload the newest build as it has resolved a few issues.
 
Last edited:

My Computer

System One

  • OS
    Windows 11 Pro
@dacrone; Sorry to bother you, but is there any chance of reducing the column & row gaps between the icons, or are we at the limit of the capabilities of ahk?

Thanks for your time.

alt1.webp
 

My Computer

System One

  • OS
    Windows 11 23H2
    Computer type
    PC/Desktop
    Manufacturer/Model
    custom
    CPU
    intel i7-8700 (non-K)
    Motherboard
    Asus Z370 TUF Gaming
    Memory
    32Gb
    Graphics Card(s)
    On-board Intel iGPU
    Sound Card
    On-board Realtek
    Hard Drives
    Samsung_SSD_850_EVO
    PSU
    Corsair Rm850X
    Cooling
    All air
@dacrone; Sorry to bother you, but is there any chance of reducing the column & row gaps between the icons, or are we at the limit of the capabilities of ahk?

Thanks for your time.

View attachment 133347
i've been experimenting with column width settings but it doesn't like to take in listview segments. i'm still working on it
 

My Computer

System One

  • OS
    Windows 11 Pro
OK thank you very much. I hope you find a way to do it, otherwise it's good as is.
 

My Computer

System One

  • OS
    Windows 11 23H2
    Computer type
    PC/Desktop
    Manufacturer/Model
    custom
    CPU
    intel i7-8700 (non-K)
    Motherboard
    Asus Z370 TUF Gaming
    Memory
    32Gb
    Graphics Card(s)
    On-board Intel iGPU
    Sound Card
    On-board Realtek
    Hard Drives
    Samsung_SSD_850_EVO
    PSU
    Corsair Rm850X
    Cooling
    All air
OK thank you very much. I hope you find a way to do it, otherwise it's good as is.
i'll dig more into it Friday, probably. also noticed you changed the highlight shading of the icon to the blue square outline. if you want to post that portion of your code, i can add it to mine for when i get the dynamic expand working so it will resemble the classic alt tab gui more
 

My Computer

System One

  • OS
    Windows 11 Pro
Currently I have been testing with these ListView Styles:

Code:
Gui, Add, ListView,  +E0x200 +Border x4 y4 w580 h144 +LV0x3 +LV0x8000 +LV0x40 +LV0x10000 +AltSubmit +Icon +gOnListViewClick  +BackgroundF1F1F1 
;===============================================================================
; List Style (as is)                  +LV0x3
; icon hottrack                       +LV0x8000
; pointer as hand cursor              +LV0x40
; double buffer (reduce flicker?)     +LV0x10000 
; enable Singleclck to activate       +AltSubmit  with corresponding change to A_GuiEvent = "DoubleClick" >> A_GuiEvent = "Normal"
;===============================================================================
ref: Window and Control Styles | AutoHotkey v1 (or the Help Document in install).

Although hottracking works, there are 2 problems with it. First, it makes all icons show a very tiny outline around them, and to overcome it I have changed the background color of the ListView to match that thin outline. Secondly, the highlighted hottrack itself is very close to the icon.
To illustrate, have a look at the same with a dark background for the ListView.

alt2.webp
 

My Computer

System One

  • OS
    Windows 11 23H2
    Computer type
    PC/Desktop
    Manufacturer/Model
    custom
    CPU
    intel i7-8700 (non-K)
    Motherboard
    Asus Z370 TUF Gaming
    Memory
    32Gb
    Graphics Card(s)
    On-board Intel iGPU
    Sound Card
    On-board Realtek
    Hard Drives
    Samsung_SSD_850_EVO
    PSU
    Corsair Rm850X
    Cooling
    All air
Currently I have been testing with these ListView Styles:

Code:
Gui, Add, ListView,  +E0x200 +Border x4 y4 w580 h144 +LV0x3 +LV0x8000 +LV0x40 +LV0x10000 +AltSubmit +Icon +gOnListViewClick  +BackgroundF1F1F1
;===============================================================================
; List Style (as is)                  +LV0x3
; icon hottrack                       +LV0x8000
; pointer as hand cursor              +LV0x40
; double buffer (reduce flicker?)     +LV0x10000
; enable Singleclck to activate       +AltSubmit  with corresponding change to A_GuiEvent = "DoubleClick" >> A_GuiEvent = "Normal"
;===============================================================================
ref: Window and Control Styles | AutoHotkey v1 (or the Help Document in install).

Although hottracking works, there are 2 problems with it. First, it makes all icons show a very tiny outline around them, and to overcome it I have changed the background color of the ListView to match that thin outline. Secondly, the highlighted hottrack itself is very close to the icon.
To illustrate, have a look at the same with a dark background for the ListView.

View attachment 133377
ahh gotcha. i had implemented that when i first tried it and didn't like the outline. thought you had managed to get rid of it. i just played with it more this morning and made a makeshift workaround!

1746721583104.webp

will be a bit more to implement, but i'll get the dark modes, etc made up. am posting this as its own code in post 1 as well (as another option if desired). it has multiple differences added in, so you'll just have to scan the code to find them. majority of them are referenced in any line with Gui 2 listed (but not all, so make sure to check). (ps - i also left in your single click. i only implemented a double click so one didnt choose the wrong option inadvertently).
 

My Computer

System One

  • OS
    Windows 11 Pro
At first I thought you had used 2 GUI's by mistake, but now I can see that setting a dark background in the ListView doesn't show the outlines on non selected icons. I shall have fun playing around with this ahk now :)

Thanks a lot.
 

My Computer

System One

  • OS
    Windows 11 23H2
    Computer type
    PC/Desktop
    Manufacturer/Model
    custom
    CPU
    intel i7-8700 (non-K)
    Motherboard
    Asus Z370 TUF Gaming
    Memory
    32Gb
    Graphics Card(s)
    On-board Intel iGPU
    Sound Card
    On-board Realtek
    Hard Drives
    Samsung_SSD_850_EVO
    PSU
    Corsair Rm850X
    Cooling
    All air
At first I thought you had used 2 GUI's by mistake, but now I can see that setting a dark background in the ListView doesn't show the outlines on non selected icons. I shall have fun playing around with this ahk now :)

Thanks a lot.
i screenshot the gui when it had the hottrack white outlines, put it in paint and pulled the color code with the eyedropper. if you scan the newer code, you'll see WinSet, TransColor, F0F0F0. that makes the white outlines transparent. the Gui2 is a solid color, the same as the gui background color, thus "filling in" the transparent gaps so they are not visible. just a roundabout way of bypassing AHK limitations.
 

My Computer

System One

  • OS
    Windows 11 Pro
UPDATED 08 MAY 2025 (Final change for a while, unless features are requested):

Post 1
- All Light Mode HotTrack versions (looks almost identical to original Classic AltTab)
Post 3 - All Light Mode Highlight versions (instead of blue square outline, it shades the selected icon with a light blue overlay)
Post 4 - All Dark Mode Highlight versions (instead of blue square outline, it shades the selected icon with a light blue overlay)
Post 6 - All Light Mode HotTrack versions (looks almost identical to original Classic AltTab, but Dark)

If you want to request a custom color and are not sure how to modify the AHK code, request here and let me know the RGB color code and i will get one made up.

*IF you downloaded prior to 08 MAY 2025, please redownload the newest build as it has resolved a few issues.
 

My Computer

System One

  • OS
    Windows 11 Pro
That ghost frame is on purpose. It’s because the icons are actually in a listview segment and what I did was extend the listview width outside of the gui width just enough to make the scrollbar not visible.

here's your OnTop & Transparent custom color, just so you dont have to use other stuff to make it work right

View attachment 133246
@Edwin

here is your color with Hottracking. Transparency is giving me some issues because of how i implemented hottracking (it uses a transparency in its coding too). i'll keep playing with it, but you may be able to use your other tool to make the compiled exe transparent after launching like you did before.

1746740024386.webp
 

Attachments

My Computer

System One

  • OS
    Windows 11 Pro

Latest Support Threads

Back
Top Bottom