-
Notifications
You must be signed in to change notification settings - Fork 3
switchTo Functions
Tomshi edited this page Oct 31, 2022
·
13 revisions
A list of switchTo Functions complete with definitions.
The idea behind these functions was initially showcased by Taran a previous editor for LTT.
Their main purpose is to;
- If an instance of the desired program doesn't exist, open it
- If an instance of the desired program DOES exist, activate it
- If multiple instances of the desired program exists, cycle between them based off the last active
A list of switchTo scripts based off this premise includes;
switchToExplorer()switchToPremiere()switchToAE()-
switchToDisc()- I have this function move my discord window to a specific position if it's not already. Check that position at the top of the script
switchToPhoto()switchToFirefox()-
switchToOtherFirefoxWindow()- I use this in other functions for various reasons
switchToVSC()switchToStreamdeck()switchToExcel()switchToWord()switchToWindowSpy()switchToEdge()switchToMusic()
This function when called will close all windows of the desired program EXCEPT the active one. Helpful when you accidentally have way too many windows open.
closeOtherWindow( [program] )
Type: String - Program Information
Either
ahk_exe program.exeor aahk_class xof the desired program.
Keeping Track
Keyboard Shortcut Adjustments
libs & Classes
Editors
Apps
Other lib files
Hotkeys
Timer Scripts
- adobe fullscreen check.ahk
- Alt_menu_acceleration_DISABLER.ahk
- autodismiss error.ahk
- autosave.ahk
- gameCheck.ahk
- Multi-Instance Close
Other Scripts
- Hotkey Replacer.ahk
- checklist.ahk
- Streamdeck AHK
- CreateSymLink.ahk
- adobeKSA.ahk
- ExplorerDialogPathSelector.ahk
Other Guides