sree161 Posted April 18, 2017 Share Posted April 18, 2017 Hi All, i am new to autoit and i want to copy text from a web page and paste it. So kindly help me with some commands that can do the above action. Thanks in advance. Link to comment Share on other sites More sharing options...
Subz Posted April 18, 2017 Share Posted April 18, 2017 Search Autoit help file for IE functions and look at the examples provided for each function, some examples you may be interested in: https://www.autoitscript.com/autoit3/docs/libfunctions/_IEBodyReadText.htmhttps://www.autoitscript.com/autoit3/docs/libfunctions/_IEBodyReadHTML.htmhttps://www.autoitscript.com/autoit3/docs/libfunctions/_IEBodyWriteHTML.htm sree161 1 Link to comment Share on other sites More sharing options...
sree161 Posted April 22, 2017 Author Share Posted April 22, 2017 Hi Subz, Thanks for your reply. My web page has a large table with multiple rows (almost close to 100). I have to copy each row into separate notepad files. so how can i select specific row using autoit?? Link to comment Share on other sites More sharing options...
Subz Posted April 22, 2017 Share Posted April 22, 2017 I would use _IETableWriteToArray() function, then using the array use a loop to go through the entire array writing each line to a text file. If you provide a url or code you have already even an example html we can assist with the code. Link to comment Share on other sites More sharing options...
sree161 Posted April 25, 2017 Author Share Posted April 25, 2017 HI subz, I have attached the html file which will give u a table with 4 columns. How can i take data from first column and paste it in new notepad and save it. Can u assist me with code plzz? i will be very thankfull if u would be able to assite. thanks in advance. sree161 table.html Link to comment Share on other sites More sharing options...
sree161 Posted April 25, 2017 Author Share Posted April 25, 2017 is there any method to copy text from existing notepad to new notepad???? i have many lines of text in one note pad. i need to copy one line into a notepad and close it. i need to copy 2nd line into another notepad and close it. Is there any way to do it??/ Link to comment Share on other sites More sharing options...
Moderators JLogan3o13 Posted April 25, 2017 Moderators Share Posted April 25, 2017 Why are you asking this in multiple places? Please stick to one topic. Also, it seems you are looking for someone to write the code for you - we take a "teach a man to fish" motto here, rather than you putting in a request and someone barfing up code for you. Check out the help file, and the suggestions you have been given, try the examples, and see what you can come up with. If you run into trouble, post what you have tried on your own, and we will gladly help. "Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball How to get your question answered on this forum! Link to comment Share on other sites More sharing options...
sree161 Posted April 25, 2017 Author Share Posted April 25, 2017 (edited) ok...sry fr the inconviennce Edited April 25, 2017 by sree161 commented in wrong place 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