Jump to content

Recommended Posts

Posted

I use a lAutoIt script, not perfect but works.

 

#Region ;**** Directives created by AutoIt3Wrapper_GUI ****

#AutoIt3Wrapper_Icon=Net2_AAAAA.ico

#AutoIt3Wrapper_UseX64=y

#EndRegion ;**** Directives created by AutoIt3Wrapper_GUI ****

 

;install Paxton Net2 Client from current directory

 

$title = "Net2 Access Control Setup"

 

ShellExecute(@ScriptDir & "\Setup.exe", "", @ScriptDir, "open", @SW_HIDE)

 

If WinWaitActive($title, "Welcome", 60) = 0 Then Exit 1

Send("{TAB}{UP}{UP}{UP}{DOWN}{DOWN}{ALTDOWN}AI{ALTUP}")

Send("{ENTER}")

 

WinWaitActive($title, "Setup Successful")

Send("{ALTDOWN}C{ALTUP}")

Posted
I use a lAutoIt script, not perfect but works.

 

Do I just need to save this as a .vbs or do I need some client side IAutoIt installed first?

Posted
Do I just need to save this as a .vbs or do I need some client side AutoIt installed first?

Save it as an .au3. This file can then be compiled to an .exe using AutoIt.

  • 1 year later...
  • 5 years later...

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



×
×
  • Create New...