Jump to content

Need advice on selected text


eonflux
 Share

Recommended Posts

Hello,

I would like to build the following script to ease my work: while on a webpage, I want to be able to select a fix amount of text (500 chars) from that webpage. I would click on the position in text where I want my selection to start and the selection would autoitmagicaly extend up to 500 chars from that point.

I've read the manual but I still haven't found a way to manipulate the length of the selection.

At the moment I use a "workaround", selecting the text into the clipboard and counting the length of the string with (snip)

Send("^c")
Sleep(250)
$bak = ClipGet()
$len = StringLen(String($bak))

and using a tooltip to give me some hints on the screen.

Anybody can help me get closer to my original need? Thank you very much.

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...