How can I go about having a script perform the <alt>-<tab> key combination, which switches between other open programs, say XYPlorer and Firefox? In XYPlorer I can press alt-tab and it will switch to another program, but can I automate that as the last step in a script?
Better still, can I tell XYPlorer to switch to an open instance of Firefox or any other program?
Include an <alt>-tab in script
Re: Include an <alt>-tab in script
sendkeys "!{tab}"; doesn't switch to the last active program unfortunately.
So it seems no, XY can't do this (internally).
You need an external helper application, e.g. an AutoHotkey script.
So it seems no, XY can't do this (internally).
You need an external helper application, e.g. an AutoHotkey script.
Code: Select all
#NoTrayIcon
fireFox := "ahk_class MozillaWindowClass"
WinActivate, %fireFox%
ExitApp
One of my scripts helped you out? Please donate via Paypal
XYplorer Beta Club