PRM Posted February 25, 2012 Share Posted February 25, 2012 Is it possible to automatically copy content in text field? Like we have field "specify user name","password" and "confirm password". I want to copy default username and password in that text field. Link to comment Share on other sites More sharing options...
somdcomputerguy Posted February 25, 2012 Share Posted February 25, 2012 Maybe the ClipPut() function will do what you need. - Bruce /*somdcomputerguy */ If you change the way you look at things, the things you look at change. Link to comment Share on other sites More sharing options...
PRM Posted March 22, 2012 Author Share Posted March 22, 2012 ClipPut() method not helping can anybody help me out?. Please Help...!!! Link to comment Share on other sites More sharing options...
timi1014 Posted March 22, 2012 Share Posted March 22, 2012 You just have to specify more but writing to file is done. $file = FileOpen("example.txt", 1) FileWriteLine($file,"1") FileWriteLine($file,"2") FileWriteLine($file,"3") FileWriteLine($file,"4") FileClose("example.txt") Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted March 22, 2012 Moderators Share Posted March 22, 2012 PRM,I want to copy default username and passwordJust to be clear - are you: - 1. Trying to paste text into some form of log-in dialog.- 2. Trying to copy the username and password that has already been entered into the dialog.M23 Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind Open spoiler to see my UDFs: Spoiler ArrayMultiColSort ---- Sort arrays on multiple columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area Link to comment Share on other sites More sharing options...
PRM Posted March 22, 2012 Author Share Posted March 22, 2012 Hi Melba, for e.g. during installation if some software asks to enter email id, first name and last name, if user is going to install and uninstall it frequently then i want to automate that process. So while auto installation, it should take email id,first name and last name automatically may be frome some file or some different way. Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted March 22, 2012 Moderators Share Posted March 22, 2012 PRM, In that case why not ask for the details in a dialog you create before starting the installation - it is easier to read the inputs and save them to a file when it is your own controls you are using. Then you can automate the initial and any subsequent install using that data. M23 Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind Open spoiler to see my UDFs: Spoiler ArrayMultiColSort ---- Sort arrays on multiple columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area Link to comment Share on other sites More sharing options...
PRM Posted March 22, 2012 Author Share Posted March 22, 2012 But if the software to be automate is thirdy party software then how can i ask to copy in the GUI. I want email id,first name and last name to be copied when that screen occurs in installation process. How that can be done? Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted March 22, 2012 Moderators Share Posted March 22, 2012 PRM,Did you understand what I posted above? If you are looking to ease the task of a user who wants to install/uninstall the software multiple times, than just gather the user information once at the very beginning in a dialog of your own making - that makes it easy to read the controls and save the data to a file. You can then automate the install of the software using that data when the relevant installation dialog appears - read the data from the file and enter it into the relevant fields in the dialog. I want email id,first name and last name to be copied when that screen occurs in installation processWhy are you so insistent that you must copy the data as it is entered into the app install dialog itself? M23 Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind Open spoiler to see my UDFs: Spoiler ArrayMultiColSort ---- Sort arrays on multiple columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area Link to comment Share on other sites More sharing options...
PRM Posted March 22, 2012 Author Share Posted March 22, 2012 Hi Melba23, If software installation takes 20 min to install and there are 10 steps in overall istallation process. Now if 8th step ask for emaild id,first name and last name, while auto installation i always need that user should enter that info as and when this window appeares i(in auto installation) may sleep for a minute so that in 1 minute user can enter required information. Here user needs to be attentive he can not do other work. I want to make auto installation process such a way that user just double clicks my exe and perform other work without any botheration. Now to achieve this i want a way that should copy or put user info in that GUI automatically(that will be provided by user initially). But how to copy this information in the GUI of thirdy party software,this is what i am asking. ClipPut() method not working. Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted March 22, 2012 Moderators Share Posted March 22, 2012 PRM,I think we have a language problem here. You use the word "copy" - but in fact I believe you are asking how to "paste" the information into the correct fields. The answer is to use the AutoIt Window Info tool (.....\AutoIt3\Au3Info.exe) to get some information on the dialog and then use ControlSend or ControlSetText to enter the data you gathered earlier and saved into a file. If the dialog is particularly stubborn then you may have to fall back on Send, but then your user will not be able to "perform other work without any botheration". M23 Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind Open spoiler to see my UDFs: Spoiler ArrayMultiColSort ---- Sort arrays on multiple columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area Link to comment Share on other sites More sharing options...
PRM Posted March 22, 2012 Author Share Posted March 22, 2012 If AutoIT Window Info tool fails to provide information about that particular window then is there any to achieve the task mentioned in earlier post? Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted March 22, 2012 Moderators Share Posted March 22, 2012 PRM, Are you saying that the tool does not provide any info? M23 Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind Open spoiler to see my UDFs: Spoiler ArrayMultiColSort ---- Sort arrays on multiple columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area Link to comment Share on other sites More sharing options...
PRM Posted March 22, 2012 Author Share Posted March 22, 2012 right... Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted March 22, 2012 Moderators Share Posted March 22, 2012 PRM,Then you may be forced to use Send to enter the text and move between the various fields - but this will require the dialog to take focus and your user will not be able to do other things at the same time. What app are you are trying to automate - there may be other options we can suggest if we know what we are dealing with. M23 Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind Open spoiler to see my UDFs: Spoiler ArrayMultiColSort ---- Sort arrays on multiple columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area Link to comment Share on other sites More sharing options...
PRM Posted March 22, 2012 Author Share Posted March 22, 2012 Install Shield... Link to comment Share on other sites More sharing options...
timi1014 Posted March 22, 2012 Share Posted March 22, 2012 http://unattended.sourceforge.net/installers.phpCreate setup.issPress link for details. Link to comment Share on other sites More sharing options...
PRM Posted March 22, 2012 Author Share Posted March 22, 2012 Thanks timi1014 Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now