Morato Posted July 1, 2006 Share Posted July 1, 2006 Ok, what i am trying to do is when i press a certian key it goes to a certian spot on the screen. Like when i press the left arrow key it goes to (272,342) and i press right arrow key it goes to (634,342) if some one could help that would be great thanks. Link to comment Share on other sites More sharing options...
Shenghi Posted July 1, 2006 Share Posted July 1, 2006 Ok, what i am trying to do is when i press a certian key it goes to a certian spot on the screen. Like when i press the left arrow key it goes to (272,342) and i press right arrow key it goes to (634,342) if some one could help that would be great thanks.I assume that 'it' is the mouse pointer? And the two numbers enclosed in brackets are screen positions? Link to comment Share on other sites More sharing options...
Morato Posted July 1, 2006 Author Share Posted July 1, 2006 I assume that 'it' is the mouse pointer? And the two numbers enclosed in brackets are screen positions?yes. Link to comment Share on other sites More sharing options...
Shenghi Posted July 1, 2006 Share Posted July 1, 2006 If you would browse a bit through the helpfile you would find the Functions MouseMove() and HotKeySet(), just like I did. Link to comment Share on other sites More sharing options...
Morato Posted July 1, 2006 Author Share Posted July 1, 2006 yea and i tried doing that and it didnt work properly. Link to comment Share on other sites More sharing options...
Shenghi Posted July 1, 2006 Share Posted July 1, 2006 So how far did you get, while trying? Can you post it here? Link to comment Share on other sites More sharing options...
Morato Posted July 1, 2006 Author Share Posted July 1, 2006 HotKeySet({LEFT}[MouseMove(272,342)] Link to comment Share on other sites More sharing options...
Shenghi Posted July 1, 2006 Share Posted July 1, 2006 (edited) HotKeySet("{LEFT}","_MyFunc") While 1 Sleep(10) WEnd Func _MyFunc() MouseMove(10,10) EndFunc Please note that I, too, have never used this before, but actually _READING_ the helpfile instead of just looking at it and thinking 'oh noes this is to hard lets ask on a forum because I am too lazy to use my brains' helps finding the solution. Edited July 1, 2006 by Shenghi Link to comment Share on other sites More sharing options...
marfdaman Posted July 1, 2006 Share Posted July 1, 2006 I'd almost say I couldn't agree more Don't take my pic to serious...~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~You Looked, but you did not see!~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Link to comment Share on other sites More sharing options...
herewasplato Posted July 1, 2006 Share Posted July 1, 2006 Please note that I, too, have never used this before, but actually _READING_ the helpfile instead of just looking at it and thinking 'oh noes this is to hard lets ask on a forum because I am too lazy to use my brains' helps finding the solution.Pace yourself. You've not been on the forums long enough to be that frustrated with fishing lessons :-) :-)...but thanks for helping Morato out with this.re: fishinghttp://www.autoitscript.com/forum/index.ph...st&p=189794@Morato,Welcome to the forums.The help file is one of the best I've seen... I understand that sometimes things don't always click the first time you read them. Let us know when you need help, but post what code you have tried in your first post. It shows that you have tried and helps us know what you don't understand.Enjoy AutoIt! [size="1"][font="Arial"].[u].[/u][/font][/size] Link to comment Share on other sites More sharing options...
Simucal Posted July 1, 2006 Share Posted July 1, 2006 Pace yourself. You've not been on the forums long enough to be that frustrated with fishing lessons :-) :-)...but thanks for helping Morato out with this.re: fishinghttp://www.autoitscript.com/forum/index.ph...st&p=189794The "Build a man a fire.. " one had me laughing for awhile. AutoIt Scripts:Aimbot: Proof of Concept - PixelSearching Aimbot with several search/autoshoot/lock-on techniques.Sliding Toolbar - Add a nice Sliding Toolbar to your next script. Click the link to see an animation of it in action!FontInfo UDF - Get list of system fonts, or search to see if a particular font is installed.Get Extended Property UDF - Retrieve a files extended properties (e.g., video/image dimensions, file version, bitrate of song/video, etc) Link to comment Share on other sites More sharing options...
herewasplato Posted July 1, 2006 Share Posted July 1, 2006 The "Build a man a fire.. " one had me laughing for awhile.Yep, maybe we should save that one for some of the gamers :-(http://www.autoitscript.com/forum/index.ph...st&p=201736 [size="1"][font="Arial"].[u].[/u][/font][/size] Link to comment Share on other sites More sharing options...
Shenghi Posted July 1, 2006 Share Posted July 1, 2006 Pace yourself. You've not been on the forums long enough to be that frustrated with fishing lessons :-) :-)Perhaps not on these forums, or on AutoIt for that matter. However, I have been a long-time helper in #help.script on irc.quakenet.org, a channel dealing with mIRC scripting help. In there I have dealt with my own fair share of idiots, thus I get annoyed quickly by people who are too lazy to check a (very good, by the way) help file. Link to comment Share on other sites More sharing options...
herewasplato Posted July 1, 2006 Share Posted July 1, 2006 ...I have been a long-time helper in #help.script on irc.quakenet.org, a channel dealing with mIRC scripting help...Funny you should mention that. You never know if people keep userids across forums/groups.I googled Shenghi and found "fishing lessons":http://wiki.prco23.org/index.php/User:ShenghiIs that you?This is cute from http://quakenet.org/The small collective of people responsible for having too much free time are now pleased to announce the re-launch of the QuakeNet forums. Yes that's right, the forums for the world's largest IRC network are back and in all their unproductive and slightly unnecessary glory!Perhaps I should do some other things with today's free time... [size="1"][font="Arial"].[u].[/u][/font][/size] Link to comment Share on other sites More sharing options...
Shenghi Posted July 1, 2006 Share Posted July 1, 2006 Funny you should mention that. You never know if people keep userids across forums/groups.I googled Shenghi and found "fishing lessons":http://wiki.prco23.org/index.php/User:ShenghiIs that you?Yes, that's me. And I supose the 'fishing lessons' are widely known :] Link to comment Share on other sites More sharing options...
herewasplato Posted July 1, 2006 Share Posted July 1, 2006 ...widely known...Yes, widely known. I just thought it funny that I made reference to it in a thread in which you were the main helper/teacher only to later learn that you had it in your profile elsewhere.It is just me procrastinating today... thanks for your patience with my useless chatting in this thread. [size="1"][font="Arial"].[u].[/u][/font][/size] 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