Xored Posted August 7, 2013 Share Posted August 7, 2013 (edited) So inside of a $Runner Function I've got: $sendto = _IEGetObjByName ($oIE,"to_login") _IEFormElementSetValue ($sendto, username) Now i'm trying to figure out how I would loop through a list of values for username. Example: List Daniel Joey Mendez Kart How would I go about fetching one of those names for "username" each time the function is called (Basically looping through them). Edited August 7, 2013 by Xored Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted August 7, 2013 Moderators Share Posted August 7, 2013 Xored,Welcome to the AutoIt forum. Would you mind explaining why you want to loop through a list of usernames on a login screen? 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...
bhamp0 Posted August 7, 2013 Share Posted August 7, 2013 (edited) <snip> Edited August 7, 2013 by Melba23 Removed text Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted August 7, 2013 Moderators Share Posted August 7, 2013 bhamp0,If a Moderator is seeking clarification about a question I suggest that posting anything even remotely helpful is NOT a good idea. 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...
Xored Posted August 7, 2013 Author Share Posted August 7, 2013 Not a login screen... a message system. Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted August 7, 2013 Moderators Share Posted August 7, 2013 Xored,That still does not explain why you want to loop through the names. What is this "message" you are trying to send to multiple users? 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...
Xored Posted August 7, 2013 Author Share Posted August 7, 2013 Simply a message... you sure have a lot of questions. Link to comment Share on other sites More sharing options...
bhamp0 Posted August 7, 2013 Share Posted August 7, 2013 bhamp0, If a Moderator is seeking clarification about a question I suggest that posting anything even remotely helpful is NOT a good idea. M23 You're looking for Xored's requirements, I'm answering on the technical aspect. Both are good answers. I still don't understand why you censored me... Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted August 7, 2013 Moderators Share Posted August 7, 2013 Xored,I have lots of questions becasue you are not giving me any straight answers. At present your request looks a lot like a spam-bot, which if you read the Forum rules, is not something we supoort here. I am looking for reasons to allow this thread to stay open, but aso far you are not being very helpful. So I suggest provide some more details in the near future - or the inevitable will happen. bhamp0,Until I determine why the OP wants do to loop through usernames in an IE object named "to_login" he gets no help of any kind. As explained above, it looks to me quite likely that he is creating some form of spam-bot and his evasive answers to my questions are only reinforcing my initial opinion. In this forum, offering help to those whose questions are not permitted by the rules to which I linked is treated only slightly less leniently than asking the question in the first place - it is not something you want to do too often. Is that a clear enough explanation of why I removed your post? If not then please PM me so we can discuss it further. 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...
Xored Posted August 7, 2013 Author Share Posted August 7, 2013 Xored, I have lots of questions becasue you are not giving me any straight answers. At present your request looks a lot like a spam-bot, which if you read the Forum rules, is not something we supoort here. I am looking for reasons to allow this thread to stay open, but aso far you are not being very helpful. So I suggest provide some more details in the near future - or the inevitable will happen. bhamp0, Until I determine why the OP wants do to loop through usernames in an IE object named "to_login" he gets no help of any kind. As explained above, it looks to me quite likely that he is creating some form of spam-bot and his evasive answers to my questions are only reinforcing my initial opinion. In this forum, offering help to those whose questions are not permitted by the rules to which I linked is treated only slightly less leniently than asking the question in the first place - it is not something you want to do too often. Is that a clear enough explanation of why I removed your post? If not then please PM me so we can discuss it further. M23 Well i'm glad you're so concerned, however my intentions have nothing to do with a login screen as I have said. Thanks for nothing. Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted August 7, 2013 Moderators Share Posted August 7, 2013 Xored,As you seem to be so reluctant to offer any sensible explanation of why you want to loop through these user names, there seems only one thing to do. Thread locked. 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...
Recommended Posts