mamakaze 0 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? Share this post Link to post Share on other sites