dar100111 Posted August 16, 2013 Share Posted August 16, 2013 Hey All! I want to be able to set an array of tracking numbers into a formobject on a webpage but having some difficulty. If I were to just paste the numbers from my clipboard they all line up like so... 1 2 3 4 5 Is there a way to take the array which is only 1 column and format it to a variable that I can _IEformelementsetvalue where they all line up in a column? Maybe clipboard functions are the way to go but wasn't sure. Wondering if anyone ever had to do this? Thank you very much! Link to comment Share on other sites More sharing options...
Danp2 Posted August 16, 2013 Share Posted August 16, 2013 You could try _ArrayToString() with a delimiter of @CR. Latest Webdriver UDF Release Webdriver Wiki FAQs Link to comment Share on other sites More sharing options...
Solution dar100111 Posted August 16, 2013 Author Solution Share Posted August 16, 2013 May not be the most efficient but seemed to do the trick. If someone else needs. $inputs is my array and it's one column. Thanks for the help Dan! Do $track = $inputs[$inputrow][1] $inputrow = $inputrow + 1 $finaltrack = $finaltrack & @LF & $track Until $inputrow = $counter + 1 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