Sign in to follow this  
Followers 0
Guest ciaproni

Get text under cursor

3 posts in this topic

Hi all,

i have a question:

How can i mark some text ( for instance in a browser .. in my case Opera ) and with a Hotkey then modify the text and after that put it in the clipboard, press F2 and paste it again....

for instance "hxxp://blabla.com" to "http://blabla.com"

I have no problem with modifying and the cliboard, but with getting text from screen...

Could not find a way to do that

Harald

Share this post


Link to post
Share on other sites



Send("^c")

$x = ClipGet()

$x = StringReplace($x, "hxxp", "http")

ClipPut($x)


Who else would I be?

Share this post


Link to post
Share on other sites

Hi,

your idea was good, but it has a small drawback for what i need it..

I do not really want the original string in the clipboard , but i can live with it so far....

thanks

cia

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  
Followers 0