Jump to content

Problem selecting text from website


Recommended Posts

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?

Link to comment
Share on other sites

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.
Link to comment
Share on other sites

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.
Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...