 XButton2:: switchDesktop() ;
 
 ; Function to switch between the desktops
-switchedDesktop := false
 switchDesktop() 
 {
 	global switchedDesktop

#Persistent
#SingleInstance force
#NoEnv  ; Recommended for performance and compatibility with future AutoHotkey releases.
; #Warn  ; Enable warnings to assist with detecting common errors.
SendMode Input  ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir%  ; Ensures a consistent starting directory.
SetTitleMatchMode 2 ; A window's title can contain WinTitle anywhere inside it to be a match. 

; Global configuration
;-------------------------------------------------------
EnableAzertyShortcuts := false
switchedDesktop := false
;-------------------------------------------------------

;-------------------------------------------------------
