Fredricz Posted November 10, 2010 Share Posted November 10, 2010 Hello everyone! First time on the forum... I've just started working with Autoit and are very new at this. RunAs("Administrator", "", "password", "", "install_flash_player.exe", "C:\temp\install_flash_player.exe") I want to run it as administrator and install flash player.. Tried to find a good tutorial thread, but didnt find anyone that explained the code. So help me please. /Fred Link to comment Share on other sites More sharing options...
MrMitchell Posted November 10, 2010 Share Posted November 10, 2010 Welcome to the Forums Fred Now...your line of code: you may need to specify the logon_flag which is your 4th parameter. Also, specify full path for what you want to run, the 5th parameter. The last parameter is only working directory, you don't really even need it. Do you have the help file? You can find tutorials here. Link to comment Share on other sites More sharing options...
AdmiralAlkex Posted November 10, 2010 Share Posted November 10, 2010 Do you have the help file? You can find tutorials here.Or just go to the Tutorials page. .Some of my scripts: ShiftER, Codec-Control, Resolution switcher for HTC ShiftSome of my UDFs: SDL UDF, SetDefaultDllDirectories, Converting GDI+ Bitmap/Image to SDL Surface Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now