AutomationNinja 194 Posted June 13, 2012 Report Share Posted June 13, 2012 How do I type text from a list into a field? I am using the ui command "open file" so the user can choose a list topic.txt I then want to "type text" into a field from the list one item at a time. I get the following message when I "type text" "Warning you have exceeded the range of the list" (see attached) Quote Link to post Share on other sites
a2mateit 395 Posted June 13, 2012 Report Share Posted June 13, 2012 Did you add list to list first? I don't see that in the screenshots... Then use whatever variable your open file is set as, as the list to add? 1 Quote Link to post Share on other sites
AutomationNinja 194 Posted June 13, 2012 Author Report Share Posted June 13, 2012 yeah that is what I thought, but I am not having any luck. Probably just something simple. I will probably figure it out after a nap. Quote Link to post Share on other sites
a2mateit 395 Posted June 13, 2012 Report Share Posted June 13, 2012 If you want to post up a little of what you got, I will be more than happy to help you. 1 Quote Link to post Share on other sites
AutomationNinja 194 Posted June 13, 2012 Author Report Share Posted June 13, 2012 Thanks! I set-up a little test loop. (see attached) ui open file("test:", #test)loop(2) { add list to list(%testing, %test, "Delete", "Global") type text(<name="text0">, $next list item(%testing), "Standard")} Quote Link to post Share on other sites
a2mateit 395 Posted June 13, 2012 Report Share Posted June 13, 2012 Here you go: ui open file("test:", #test)add list to list(%testing, $list from file(#test), "Delete", "Global")loop(2) { type text(<name="text0">, $next list item(%testing), "Standard")} You left out $list from file when you were adding list to list. I also moved the add list to list outside of the loop. HTH,Justin 1 Quote Link to post Share on other sites
AutomationNinja 194 Posted June 13, 2012 Author Report Share Posted June 13, 2012 boooyahhh! mwaha ha ha ha! Quote Link to post Share on other sites
AutomationNinja 194 Posted June 13, 2012 Author Report Share Posted June 13, 2012 It gave me some really weird looking output - attached. Quote Link to post Share on other sites
a2mateit 395 Posted June 13, 2012 Report Share Posted June 13, 2012 It gave me some really weird looking output - attached.That has something to do with the format of your file. Is it in standard UTF format? 1 Quote Link to post Share on other sites
AutomationNinja 194 Posted June 13, 2012 Author Report Share Posted June 13, 2012 .txt file Quote Link to post Share on other sites
a2mateit 395 Posted June 13, 2012 Report Share Posted June 13, 2012 What is it encoded with? Does it have foreign characters? Try restarting your bot and trying again... Working perfectly fine on my end. Quote Link to post Share on other sites
AutomationNinja 194 Posted June 14, 2012 Author Report Share Posted June 14, 2012 weird. it is still doing it. not sure about encoding; i just typed regular words into a .txt file. Quote Link to post Share on other sites
AutomationNinja 194 Posted June 14, 2012 Author Report Share Posted June 14, 2012 When I tried out a .rtf file instead I got this Quote Link to post Share on other sites
a2mateit 395 Posted June 14, 2012 Report Share Posted June 14, 2012 What is the website that you are typing text into... And the specific field? That might be the culprit. Quote Link to post Share on other sites
AutomationNinja 194 Posted June 14, 2012 Author Report Share Posted June 14, 2012 well I was doing this in aweber, but I thought that might of been the problem as well so I tried the search field in google with the same results. I don't know if it could have anything to do with windows (Is that even a possibility?). I created a file a file on a mac and brought that into windows but same result. I am kinda stumped on this one. Quote Link to post Share on other sites
a2mateit 395 Posted June 14, 2012 Report Share Posted June 14, 2012 Not sure whats going on here... Working fine on my end. Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.