Sign in to follow this  
Followers 0
mamakaze

how can I create a vbs file?

4 posts in this topic

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



Wow, this is SOOO in the wrong forum. Try General Help.

Share this post


Link to post
Share on other sites

google was my frend, i figured it out

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0