Guest ciaproni Posted October 13, 2004 Share Posted October 13, 2004 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 Link to comment Share on other sites More sharing options...
this-is-me Posted October 13, 2004 Share Posted October 13, 2004 Send("^c") $x = ClipGet() $x = StringReplace($x, "hxxp", "http") ClipPut($x) Who else would I be? Link to comment Share on other sites More sharing options...
Guest ciaproni Posted October 13, 2004 Share Posted October 13, 2004 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 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