Page 1 of 1

Pressing modifier on CTB opens app in the background

Posted: 08 Aug 2022 16:29
by LittleBiG
I have this code in the CTB left click event:

Code: Select all

//leftscript
 $ctrl_pressed = get("shift") == 2;
   if ($ctrl_pressed) {
     run "notepad";
   }
   else {
     run "notepad";
   }
Why does Notepad open in the background when I use the Ctrl modifier key? :?

Re: Pressing modifier on CTB opens app in the background

Posted: 09 Aug 2022 08:03
by admin
I think that is a built-in Windows functionality. Never read anything about it, just speculating.