Now through gemini3.1 pro
It is already known that JSL can also simulate these mouse keys
Press Enter:
dt<<Bring Window to Front;库=Load Dll("User32");库<<DeclareFunction("keybd_event",Convention(STDCALL),Alias("keybd_event"),Arg(UInt8,"bVk"),Arg(UInt8,"bScan"),Arg(UInt32,"dwFlags"),Arg(UIntPtr,"dwExtraInfo"),Returns(Void));回车=Hex To Number("0000000D");弹起=Hex To Number("00000002");库<<keybd_event(回车,0,0,0);库<<keybd_event(回车,0,弹起,0);Wait(0.1);库<<Unload Dll();
Combination key
RunProgram( Executable( "powershell.exe" ), Options( {"-WindowStyle", "Hidden", "-Command", "Add-Type -AssemblyName System.Windows.Forms; [System.Windows.Forms.SendKeys]::SendWait('^{F4}')"} ), Read Function( "text" ));
Thanks!