BuddyBoy Posted February 25, 2007 Author Share Posted February 25, 2007 But the problem is what the others have alrdy stated... the mouseclick pos[] thing screws up the ctrldown Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted February 25, 2007 Moderators Share Posted February 25, 2007 Cat and Mouse anyone? Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer. Link to comment Share on other sites More sharing options...
Shevilie Posted February 25, 2007 Share Posted February 25, 2007 Miav Start here if you are new Valuater's AutoIT 1-2-3Looking for an UDF - Look hereDo you need to do it twice - Autoit Link to comment Share on other sites More sharing options...
Developers Jos Posted February 25, 2007 Developers Share Posted February 25, 2007 (edited) But the problem is what the others have alrdy stated... the mouseclick pos[] thing screws up the ctrldownWho else said it didn't work ? Works fine for me : Run("Notepad","",@SW_MAXIMIZE) WinWait("Untitled") ClipPut("Test1") $pos = MouseGetPos() Send("{CTRLDOWN}") Send("v") Sleep(1000) MouseClick("right", $pos[0], $pos[1], 1) Send("{Enter}") ClipPut("Test2") Send("v") Send("{CTRLUP}") Edited February 25, 2007 by JdeB SciTE4AutoIt3 Full installer Download page  - Beta files    Read before posting   How to post scriptsource   Forum etiquette Forum Rules  Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
Shevilie Posted February 25, 2007 Share Posted February 25, 2007 Hmm if I outcomment the top MsgBox(0, "blah", 10) Do Sleep(100) $pos = MouseGetPos() Until _IsPressed("43"); <--- try this BitAND(_IsPressed("11"), _IsPressed("43")) It works but if I keep it the ctrldown is broken Start here if you are new Valuater's AutoIT 1-2-3Looking for an UDF - Look hereDo you need to do it twice - Autoit Link to comment Share on other sites More sharing options...
BuddyBoy Posted February 25, 2007 Author Share Posted February 25, 2007 Well maybe instead of having it press ctrl+c... could it work if maybe shift+c? If that would work, can you tell me where to look in the help file for _IsPress, because i cannot find what the numbers mean... And if anyone could tell me the numbers of shift and c that would be great! But first i need to know if that would actually work? Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted February 26, 2007 Moderators Share Posted February 26, 2007 Well maybe instead of having it press ctrl+c... could it work if maybe shift+c? If that would work, can you tell me where to look in the help file for _IsPress, because i cannot find what the numbers mean... And if anyone could tell me the numbers of shift and c that would be great! But first i need to know if that would actually work?turtles Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer. Link to comment Share on other sites More sharing options...
Jasio Posted February 26, 2007 Share Posted February 26, 2007 Try putting the CTRLDOWN outside of the While Loop. 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