Jump to content
Sign in to follow this  
noviceuser

Problem selecting text from website

Recommended Posts

noviceuser

Hi,

I have a problem selecting text from a website. The page I wish to extract the information from contains more characters than will fit in the

WindowInfo screen. I have attempted to emulate mouse movement to highlight and select the text but run into problems when the mouse has to scroll down below the bottom of the page visible on the monitor.

Has anyone any suggestions?

Share this post


Link to post
Share on other sites
martin

Hi,

I have a problem selecting text from a website. The page I wish to extract the information from contains more characters than will fit in the

WindowInfo screen. I have attempted to emulate mouse movement to highlight and select the text but run into problems when the mouse has to scroll down below the bottom of the page visible on the monitor.

Has anyone any suggestions?

Perhaps WinGetText will do the job.


Serial port communications UDF Includes functions for binary transmission and reception.printing UDF Useful for graphs, forms, labels, reports etc.Add User Call Tips to SciTE for functions in UDFs not included with AutoIt and for your own scripts.Functions with parameters in OnEvent mode and for Hot Keys One function replaces GuiSetOnEvent, GuiCtrlSetOnEvent and HotKeySet.UDF IsConnected2 for notification of status of connected state of many urls or IPs, without slowing the script.

Share this post


Link to post
Share on other sites
noviceuser

Perhaps WinGetText will do the job.

WinGetText will get all the text in the window - is there a way to select a portion of it?

Share this post


Link to post
Share on other sites
martin

WinGetText will get all the text in the window - is there a way to select a portion of it?

Yes, you can use the various string functions like Stringleft, StringInStr etc, there are functions in the String.au3 UDF and there is StringRegExp.

Serial port communications UDF Includes functions for binary transmission and reception.printing UDF Useful for graphs, forms, labels, reports etc.Add User Call Tips to SciTE for functions in UDFs not included with AutoIt and for your own scripts.Functions with parameters in OnEvent mode and for Hot Keys One function replaces GuiSetOnEvent, GuiCtrlSetOnEvent and HotKeySet.UDF IsConnected2 for notification of status of connected state of many urls or IPs, without slowing the script.

Share this post


Link to post
Share on other sites
pixartist

Yes, you can use the various string functions like Stringleft, StringInStr etc, there are functions in the String.au3 UDF and there is StringRegExp.

OR you just get the sourcecode and filter it out from there...should be not too hard

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.