how to create a batch file for running a GUI application that accepts password.
so that i dont need to re-write password again and again but just run the bat file...!! as i need to run the application 60 times a day..! :O
create a batch file for running an application with password
Moderator: DosItHelp
Re: create a batch file for running an application with pass
amansran wrote:how to create a batch file for running a GUI application that accepts password.
so that i dont need to re-write password again and again but just run the bat file...!! as i need to run the application 60 times a day..! :O
Hey somebody reply!!!!!!!!!!!!
Re: create a batch file for running an application with pass
'
Depends on who wrote the GUI, If it was written by me, it would accept those args and never even have to show a GUI.
Anyways you probably didn't write it and most authors just don't think about that.
There is a simple way and a simple way to solve this:
-the simple way, is using vbscript to press the buttons, vbscript is not very clever so you can never be sure your input will arrive where it should.
-the simpler way, is using autoIT.
I suggest autoit as vbscript is just no reliable option !
AutoIt - AutoItScript
http://www.autoitscript.com/site/autoit/
Depends on who wrote the GUI, If it was written by me, it would accept those args and never even have to show a GUI.
Anyways you probably didn't write it and most authors just don't think about that.
There is a simple way and a simple way to solve this:
-the simple way, is using vbscript to press the buttons, vbscript is not very clever so you can never be sure your input will arrive where it should.
-the simpler way, is using autoIT.
I suggest autoit as vbscript is just no reliable option !
AutoIt - AutoItScript

http://www.autoitscript.com/site/autoit/