0%
January 26, 2024

Auto-hotkey Config for Vscode Switching (Windows)

autohotkey

Install autohotkey here and write the following in the .ahk script:

!1::
Run %comspec% /k code "C:\Repos\javascripts\frontend-1",, Hide
return
!2::
Run %comspec% /k code "C:\Repos\javascripts\frontend-2",, Hide
return
!3::
Run %comspec% /k code "C:\Repos\some\backend",, Hide
return
!4::
Run %comspec% /k start "" "some\SourceTree.exe" -f "%cd%",, Hide
return