Page 1 of 1

Window switching: Alt-Tab for current desktop and Ctrl-Alt-Tab for all desktops?

Posted: 09 Feb 2018, 07:15
by sonofjon
Hi,

Using virtual desktops on Windows 10 you can control whether Alt-Tab switches between windows on the current desktop only, or, on all available desktops, in the Windows settings for Multitasking (Windows Settings/System/Multitasking).

I would like to be able to have access to two different keyboard shortcuts for these two functionalities, preferable Alt-Tab for switching windows on the current desktop only, and Ctrl-Alt-Tab for switching windows on all available desktops. Would this be possible to implement with AutoHotkey?

I am a novice on AutoHotkey scripting, but have managed to at least understand how to create a custom Alt-Tab script, as so:

Code: Select all

; Ctrl-Alt-Tab
^!Tab::AltTab
; Ctrl-Shift-Alt-Tab
^!+Tab::ShiftAltTab
How can I expand this to get Alt-Tab functionality within and across desktops? Thanks very much!

Re: Window switching: Alt-Tab for current desktop and Ctrl-Alt-Tab for all desktops?

Posted: 22 Mar 2018, 06:14
by sonofjon
Can anybody share some advice on this? Thanks.

Re: Window switching: Alt-Tab for current desktop and Ctrl-Alt-Tab for all desktops?

Posted: 27 Sep 2021, 10:03
by sonofjon
Bump.

Re: Window switching: Alt-Tab for current desktop and Ctrl-Alt-Tab for all desktops?

Posted: 27 Sep 2021, 10:20
by joedf
Perhaps, take a look at this: https://github.com/pmb6tz/windows-desktop-switcher
or even the stuff in the credits section: https://github.com/pmb6tz/windows-desktop-switcher#credits