UnknownWarrior Posted January 6, 2007 Share Posted January 6, 2007 (edited) Well im trying to make this nifty little tool for myself but i can't seem to get this to work While 1 Send('{CTRLDOWN}') MouseClick("left", x, y) WEnd It wouldn't do both for me at the same time, any ideas? Edited January 6, 2007 by UnknownWarrior Link to comment Share on other sites More sharing options...
BALA Posted January 6, 2007 Share Posted January 6, 2007 Well the way you wrote it, you're telling the program to Send() first before the MouseClick() [font="Comic Sans MS"]BA-LA[/font]http://ba-la.110mb.comJoin my community, CLICK HEREAlternative links to my site:http://www.ba-la.tkhttp://www.ba-la.co.nrContact me if you would like to help with some of my projects: joeythepirate@gmail.com Link to comment Share on other sites More sharing options...
UnknownWarrior Posted January 6, 2007 Author Share Posted January 6, 2007 Thats what i want it to do, i want to it send to hold ctrl down and left click in the x, y coordinates. Link to comment Share on other sites More sharing options...
BALA Posted January 6, 2007 Share Posted January 6, 2007 There's a way, though I only vaguely remember. So no help there [font="Comic Sans MS"]BA-LA[/font]http://ba-la.110mb.comJoin my community, CLICK HEREAlternative links to my site:http://www.ba-la.tkhttp://www.ba-la.co.nrContact me if you would like to help with some of my projects: joeythepirate@gmail.com Link to comment Share on other sites More sharing options...
UnknownWarrior Posted January 7, 2007 Author Share Posted January 7, 2007 RAWR! Its ok thanks for trying, anyone else know how to do this correctly? Link to comment Share on other sites More sharing options...
BALA Posted January 7, 2007 Share Posted January 7, 2007 (edited) Wait I got an idea Have it hold down the mouse click then send the key Same effect right? Edited January 7, 2007 by BALA [font="Comic Sans MS"]BA-LA[/font]http://ba-la.110mb.comJoin my community, CLICK HEREAlternative links to my site:http://www.ba-la.tkhttp://www.ba-la.co.nrContact me if you would like to help with some of my projects: joeythepirate@gmail.com Link to comment Share on other sites More sharing options...
UnknownWarrior Posted January 7, 2007 Author Share Posted January 7, 2007 No i need it to hold down ctrl then click, for a certain thing im doing.... Link to comment Share on other sites More sharing options...
BALA Posted January 7, 2007 Share Posted January 7, 2007 (edited) I have another idea, hold on while I make sure EDIT: use the SendKeyDownDelay command EDIT EDIT: I mean the AutoItSetOption command and have the option be SendKeyDownDelay Edited January 7, 2007 by BALA [font="Comic Sans MS"]BA-LA[/font]http://ba-la.110mb.comJoin my community, CLICK HEREAlternative links to my site:http://www.ba-la.tkhttp://www.ba-la.co.nrContact me if you would like to help with some of my projects: joeythepirate@gmail.com Link to comment Share on other sites More sharing options...
UnknownWarrior Posted January 7, 2007 Author Share Posted January 7, 2007 Why could that make a difference though? While 1 SendKeyDownDelay('{CTRLDOWN}') MouseClick("left", x, y) WEnd that how you do it, even if thats the correct way i wrote it, why would be using the the send() and that different? Link to comment Share on other sites More sharing options...
UnknownWarrior Posted January 7, 2007 Author Share Posted January 7, 2007 I have another idea, hold on while I make sureEDIT: use the SendKeyDownDelay commandEDIT EDIT: I mean the AutoItSetOption command and have the option be SendKeyDownDelayHow could i do that? , now you just confusing me lol.(sry for double post guys) Link to comment Share on other sites More sharing options...
BALA Posted January 7, 2007 Share Posted January 7, 2007 Search on the help file for AutoItSetOption Then you will set the delay so it's just enough for the mouseclick to happen while it's still down [font="Comic Sans MS"]BA-LA[/font]http://ba-la.110mb.comJoin my community, CLICK HEREAlternative links to my site:http://www.ba-la.tkhttp://www.ba-la.co.nrContact me if you would like to help with some of my projects: joeythepirate@gmail.com Link to comment Share on other sites More sharing options...
UnknownWarrior Posted January 7, 2007 Author Share Posted January 7, 2007 I want it to hold ctrldown for ever until i send ctrlup... will it still work the way your telling me to do it? will it hold ctrl down forever until i send ctrlup? Link to comment Share on other sites More sharing options...
Immensee Posted January 7, 2007 Share Posted January 7, 2007 Hello, hmmz, what is actually your goal? because, if you want the program to get a piece of a string, it will constantly do that, so it will look like that it isn't doing anything or am i having the wrong idea ? i'll see =P Link to comment Share on other sites More sharing options...
BALA Posted January 7, 2007 Share Posted January 7, 2007 I think that would be possible, again let me check that over. [font="Comic Sans MS"]BA-LA[/font]http://ba-la.110mb.comJoin my community, CLICK HEREAlternative links to my site:http://www.ba-la.tkhttp://www.ba-la.co.nrContact me if you would like to help with some of my projects: joeythepirate@gmail.com Link to comment Share on other sites More sharing options...
UnknownWarrior Posted January 7, 2007 Author Share Posted January 7, 2007 Hello,hmmz, what is actually your goal?because, if you want the program to get a piece of a string, it will constantly do that, so it will look like that it isn't doing anythingor am i having the wrong idea ?i'll see =PI want it to loop and Send ctrldown and have a various line of mouseclicks while ctrl is still being held down.... Link to comment Share on other sites More sharing options...
BALA Posted January 7, 2007 Share Posted January 7, 2007 (edited) Found it! "To hold a key down (generally only useful for games) Send("{a down}") ;Holds the A key down Send("{a up}") ;Releases the A key" All you have to do is put the mouseclick between those two Edited January 7, 2007 by BALA [font="Comic Sans MS"]BA-LA[/font]http://ba-la.110mb.comJoin my community, CLICK HEREAlternative links to my site:http://www.ba-la.tkhttp://www.ba-la.co.nrContact me if you would like to help with some of my projects: joeythepirate@gmail.com 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