mamakaze Posted December 14, 2010 Share Posted December 14, 2010 Hello, I'm a nem user, so maybe I'm asking a simple thing. I have a WinPE, and a realvnc on it, but after a restart, it can not remember the password, so I have give one every time, that is why I downloaded this program, but the WinPE runs only the vbs files. I created a au3 file, what I would like to convert. Here is the code, what the autoit created for me: #region ---Au3Recorder generated code Start --- Opt("WinWaitDelay",100) Opt("WinDetectHiddenText",1) Opt("MouseCoordMode",0) _WinWaitActivate("classname=Shell_TrayWnd","") Send("{LWINDOWN}{LWINUP}{UP}{UP}{UP}{UP}{UP}{UP}{UP}{UP}{RIGHT}{DOWN}{DOWN}{DOWN}{DOWN}{DOWN}{DOWN}{DOWN}{DOWN}{DOWN}{DOWN}{DOWN}{DOWN}{DOWN}{DOWN}{DOWN}{DOWN}{RIGHT}{DOWN}{RIGHT}{DOWN}{ENTER}{LWINDOWN}{LWINUP}{ESC}{TAB}{TAB}{TAB}{RIGHT}{ENTER}") _WinWaitActivate("VNC Server Properties (User-Mode)","") Send("{TAB}{ENTER}") _WinWaitActivate("VNC Server Password","") Send("password{TAB}password{ENTER}") _WinWaitActivate("VNC Server Properties (User-Mode)","") Send("{TAB}{TAB}{ENTER}") #region --- Internal functions Au3Recorder Start --- Func _WinWaitActivate($title,$text,$timeout=0) WinWait($title,$text,$timeout) If Not WinActive($title,$text) Then WinActivate($title,$text) WinWaitActive($title,$text,$timeout) EndFunc #endregion --- Internal functions Au3Recorder End --- #endregion --- Au3Recorder generated code End --- Can someone help me with this? 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