Hello.
I would like to embed in my script some code that makes Alt+Esc and Alt+F1 cycle trough open apps, in the same order in which they appear on the taskbar.
There are at least two alternative solutions, with AHK and with 7+ Taskbar Tweaker (which I am using).
Since I like to have just one AHK script on my system, I'm wondering if it could be coded in a relatively simple way (like under 20 rows of code).
I've searched on the forum and on the internet, but I found nothing (my english is very basic, sorry if I missed it).
Can you help me?
Cycle through open apps, follow taskbar order
-
- Posts: 1
- Joined: 03 May 2020, 10:39
Re: Cycle through open apps, follow taskbar order
It's seem only some people like us care about this problem. I just want find or create way to switch windows in taskbar-order, it faster than look in to always-change altTab list, and more reliable. Recently, i find so many post about this problem, and everything seem go harder. There seem no official way to retrieve this list, just some trick in tracking on open,close windows! And i'm still a noob,can any Pro help us!?
Re: Cycle through open apps, follow taskbar order
Last edited by BNOLI on 03 May 2020, 12:25, edited 1 time in total.
Remember to use [code]CODE[/code]-tags for your multi-line scripts. Stay safe, stay inside, and remember washing your hands for 20 sec !
Re: Cycle through open apps, follow taskbar order
Just in case you don't know, you can press Windowskey+1(-2-3 etc) and activates the window on the taskbar order, no need for alt-tab in such cases.
Re: Cycle through open apps, follow taskbar order
Alt-Tab order is not the same as taskbar order. Alt-Tab order is defined by z-order, which changes as windows are activated, whereas the taskbar order is mostly based on the order of creation. On Windows 7 and later, programs can also be "pinned" to the taskbar, which causes their windows to appear at a specific position in the list instead of at the end (being the last created window). Grouping of windows belonging to the same app also behaves a little differently than in older Windows versions.
I think the closest you can get is to use Active Accessibility (MSAA) or UI Accessibility to read the text associated with each taskbar button and match that to existing windows (or interact with the buttons directly).
You can cycle through the taskbar buttons (but not individual windows) by pressing Win+T, but it always starts at the first button.
I think the closest you can get is to use Active Accessibility (MSAA) or UI Accessibility to read the text associated with each taskbar button and match that to existing windows (or interact with the buttons directly).
You can cycle through the taskbar buttons (but not individual windows) by pressing Win+T, but it always starts at the first button.
Who is online
Users browsing this forum: No registered users and 331 guests