0

i work with virtual desktop whit multiples intances of google chrome in diferente virtual desktop I normaly use this for active or run google chrome .

^ñ::
SetTitleMatchMode, 2 ; approximate match

IfWinnotExist ahk_class Chrome_WidgetWin_1
{

    run C:\Program Files (x86)\Google\Chrome\Application\chrome.exe

}

else

IfWinExist ahk_class Chrome_WidgetWin_1
{
    WinActivate
}

return

but when i want run a new instance of google chrome in desktop number 2 but i have 1 intance in desktop number 1

Automatically activates the desktop instance 1 and not run a new instance

sorry for my english

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.