5 posts in this topic
I have some question about how to enable the test mode via "Run" or "shellexecute" of command,
was to tried :
Run("bcdedit.exe /-set testsinging on", "C:\Windows\System32")
shellexecute("bcdedit.exe /-set testsinging on", "C:\Windows\System32")
since this command must to run through administrator competence,
have any method can accomplish it?
Is there anyway to check whether the script is launched already and wait till the other instance is closed and continue after that.
Im creating a tab
Global $Tab1 = GUICtrlCreateTab(30, 30, 600, 420, $TCS_BUTTONS, -1) And what we see in the function reference:
GUICtrlCreateTab ( left, top [, width [, height [, style = -1 [, exStyle = -1]]]] ) ok in 5 arg I got $TCS_BUTTONS
But How can I use multiple args like this below
Global $Tab1 = GUICtrlCreateTab(30, 30, 600, 420, [$TCS_BUTTONS, $TCS_MULTILINE], -1)
I've written the code below which launches chrome in incognito mode and then proceeds to go to the autoit website.
From my understanding, the Run() command is also supposed to output the PID number related to the application that got launched from the Run command.
However when I run the below lines, it outputs a PID number that is different from the newly launched chrome browser's PID number, does anyone know why and possibly explain how I could retrieve the accurate PID number associated with the newly launched browser?
Global $iPid = Run(@ComSpec & ' /c start chrome.exe https://www.autoitscript.com/forum/ -incognito' ,"", "") msgbox(0,"",$iPid) Thank you,