Pause - Data Entry - Continue
#1
Guest_aryanez_*
Posted 18 March 2004 - 09:53 PM
#2
Posted 18 March 2004 - 10:03 PM
Welcome on board,I'm writing my first script to automate an installation for my company, but I need to relinquish control of the install for the user to input data and then trigger the script to continue once they're done. I'm sure that greater minds have already done it, just need some guidance. Thanks
You can start the installer by
- Run(
- WinWaitActive(
- Send
- WinWaitActive(
have the user input by InputBox(
Have a look to example which have been install
Good learning
Edited by jpm, 18 March 2004 - 10:04 PM.
#3
Guest_aryanez_*
Posted 18 March 2004 - 10:31 PM
#4
Posted 18 March 2004 - 10:39 PM
$string=inputbox(I've got the script written upto the point to where the user needs to fill out their extension number as part of the install. I even have the InputBox appearing, but I need the value typed into the input box to be passed to the setup program.
WinActivate( ...installer window
Send($string ...
can be more complicated if you need to change to the specific field you want to set.
Send(@TAB & $string ...
does that help?
#5
Posted 19 March 2004 - 08:19 AM
Why not use ControlSend instead of Send ?can be more complicated if you need to change to the specific field you want to set.
Send(@TAB & $string ...
ControlSend("Untitled", "", "Edit1", "This is a line of text in the notepad window")
#6
Posted 19 March 2004 - 09:45 AM
I knew that there will be a remark but I was afraid to explain this new dimension for a newbie (sorry aryanez)Why not use ControlSend instead of Send ?
ControlSend("Untitled", "", "Edit1", "This is a line of text in the notepad window")
In fact in wanted to answer fast so it can have a first guidance and do his own research in the doc.
But you are right just explain him the control numbering/ AutoIt Spy ...
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users





