boltc Posted November 16, 2006 Posted November 16, 2006 (edited) i want to know if this is possible: I want to select written line with the mousedrag command. Afther the text is selected i want to something with the text (get it as a variable). is this possible? and how:) greetss Edited November 16, 2006 by boltc
Fossil Rock Posted November 16, 2006 Posted November 16, 2006 Where is the text ? in a file ? on the screen ? written in a notebook sitting on the kitchen floor ? Agreement is not necessary - thinking for one's self is!
boltc Posted November 16, 2006 Author Posted November 16, 2006 a input box of a program,, the same a written in notepad.. (possible to select it and copy & past)
dabus Posted November 16, 2006 Posted November 16, 2006 Why don't you get the input via the Control-commands? Anyway, here's a sample. HotKeySet('{Printscreen}', 'MouseDrag') While 1 Sleep(10) WEnd Func MouseDrag() $Pos=MouseGetPos() $Size=WinGetPos('') MouseClickDrag('left', $Pos[0], $Pos[1], $Size[0]+$Size[2], $Pos[1]) Send('^{c}') MsgBox(0, 'Copied', ClipGet()) EndFunc
boltc Posted November 17, 2006 Author Posted November 17, 2006 thank you! i tested my script today and it works very nice..
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