I have to execute below block of code in elevated previllage, as that particular wmic class will work only with admin previlage.
i am getting out put when i launch autoit as administrator, but i will not be able to launch autoit as admin in this particular case but my user have admin rights.
is there any better way i can run those command as administrator.?
tried below steps:
i have tried #RequireAdmin but that creates a user prompt Tried using Runas command but gives error as wrong username or password , stuck with that step.
traytip isn't working in windows 10. nothing happens when i use the Traytip command.
here's a simple script i used:
TrayTip("I'm a title", "I'm the message", 5) i tried changing the registry setting HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced ( which didn't have EnableBalloonTips) and creating a DWORD entry called EnableBalloonTips and setting it to 1 and logging off then back in. that did not resolve the problem.
i'm running Windows 10 v1709 b16299.431
Hi all to the forum guru and expert I am trying to automate this. in the registry I have the network profile name network 2 and network I want to change their CATEGORY to Private . Can someone lead me in the right direction.
Private is 1 and Public is 0
#RequireAdmin Global $sHKLMRoot = @OSArch = "x64" ? "HKLM64" : "HKLM" RegWrite($sHKLMRoot &"\SOFTWARE\Microsoft\Windows NT\CurrentVersion\NetworkList\NewNetworks" ,'/v NetworkList /t REG_MULTI_SZ /d 00000000 /f') see attached picture below
When I try to automate this install program I can not get any of the buttons to click with the "ControlClick" function or any mouse movement to move the mouse to the and click it. My OS is Windows 10 64Bit. I have tried both 32bit and 64bit installs of Autoit V3 to no avail.
I could not even get the run command to start the program until I used the variation of the command below in the script.
With the script below the install program starts but will not click the "Next" button no matter what I do.
Any help will be greatly appreciated.
Thanks in advance.
Opt("MouseCoordMode", 0) ;1=absolute, 0=relative to active window, 2=client
Run(@ComSpec & " /c " & 'C:\PhoenixPro_Install\RDXUtil\RDX_Tools_setup.exe', "C:\PhoenixPro_Install\RDXUtil", @SW_HIDE )
WinWait("RDX Tools 1.62 - InstallShield Wizard", "Welcome to the InstallShield Wizard for RDX Tools 1.62")
WinActivate("RDX Tools 1.62 - InstallShield Wizard", "Welcome to the InstallShield Wizard for RDX Tools 1.62")
ControlClick ("RDX Tools 1.62 - InstallShield Wizard", "Welcome to the InstallShield Wizard for RDX Tools 1.62", 1639, "left", 1) ;Next Button
How do I work with 2D arrays. I've tried this but get errors.
Local $aTest = [[1,2,3,4],[5,6,7,8],[9,10,11,12],[13,14,15,16]]
;$aTest = [10,11,12] ; Error at 
Local $sTest = ""
For $i = 0 To UBound($aTest)-1
Local $aExtract = _ArrayExtract($aTest,$i,$i)
$sTest = $sTest & MyTest($aExtract)
; Error at v $aTemp
Return String($aTemp) & " - " & String($aTemp) & " - " & String($aTemp) & @CRLF