Pressing modifier on CTB opens app in the background

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
LittleBiG
Posts: 1846
Joined: 08 Apr 2011 12:57
Location: Win10x64

Pressing modifier on CTB opens app in the background

Post 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? :?

admin
Site Admin
Posts: 60357
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: Pressing modifier on CTB opens app in the background

Post by admin »

I think that is a built-in Windows functionality. Never read anything about it, just speculating.

Post Reply