Snickers Posted December 14, 2011 Share Posted December 14, 2011 Hello:) I made a code that makes the arrow key go up. but i want it to stop after X seconds (X=amount of seconds) Send("{UP down}") ;Holds the UP key down That's the code:P if someone could help that would be great! Link to comment Share on other sites More sharing options...
Developers Jos Posted December 14, 2011 Developers Share Posted December 14, 2011 So, you mean to say you have read this last post in your previous topic: ? Tell me this is NOT for a game and that you have done your research? If so where did you get stuck? Jos 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...
rcmaehl Posted December 14, 2011 Share Posted December 14, 2011 Deleted my post. If it is confirmed that this is not for a game I will repost my answer. My UDFs are generally for me. If they aren't updated for a while, it means I'm not using them myself. As soon as I start using them again, they'll get updated.My Projects WhyNotWin11Cisco Finesse, Github, IRC UDF, WindowEx UDF Link to comment Share on other sites More sharing options...
Snickers Posted December 14, 2011 Author Share Posted December 14, 2011 Nooo, this is not for a game. OMG why do u guys always think its for a got damn game?!?! im just here to evolve my skills in Au3.. I feel really offensed when i just ask for some help and you JOS, always comes attacking me Link to comment Share on other sites More sharing options...
somdcomputerguy Posted December 14, 2011 Share Posted December 14, 2011 Find Sleep() in the Help file (if you've found that..). So your code might look like this:;UP key down Sleep(X) ;UP key up - Bruce /*somdcomputerguy */ If you change the way you look at things, the things you look at change. Link to comment Share on other sites More sharing options...
Snickers Posted December 14, 2011 Author Share Posted December 14, 2011 (edited) And i know what the SLeep(X) command is, but i want the arrow key to stop going up after X amount of seconds..EDIT: Oh i tried that before, but i didn't seem to get it working. but isn't there any command that like makes the script stop after for example 3-4 seconds. But thanks! this works too!! Edited December 14, 2011 by Snickers Link to comment Share on other sites More sharing options...
Developers Jos Posted December 14, 2011 Developers Share Posted December 14, 2011 (edited) Sure, there are really many programs were simulating the UP key is applicable. As to me now chasing your ass: You elected to ignore me and several others when asked what you really wanted. I told you to do your own work first and you still seem to be incapable of doing that. Act normal and you won't find me on your path... your choice. Edited December 14, 2011 by Jos 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...
Bert Posted December 14, 2011 Share Posted December 14, 2011 Hey alohha, seeing how you want to learn, did you try taking AutoIt 1 2 3? The Vollatran project My blog: http://www.vollysinterestingshit.com/ Link to comment Share on other sites More sharing options...
Snickers Posted December 14, 2011 Author Share Posted December 14, 2011 Hey alohha, seeing how you want to learn, did you try taking AutoIt 1 2 3?umm no:P actually i just went straight to the homepage and downloaded it so i guess im working with autoit 3 Link to comment Share on other sites More sharing options...
BrewManNH Posted December 14, 2011 Share Posted December 14, 2011 Autoit 1 2 3 is a tutorial on how to script in the program, I'd suggest looking at it and the help file. If I posted any code, assume that code was written using the latest release version unless stated otherwise. Also, if it doesn't work on XP I can't help with that because I don't have access to XP, and I'm not going to.Give a programmer the correct code and he can do his work for a day. Teach a programmer to debug and he can do his work for a lifetime - by Chirag GudeHow to ask questions the smart way! I hereby grant any person the right to use any code I post, that I am the original author of, on the autoitscript.com forums, unless I've specifically stated otherwise in the code or the thread post. If you do use my code all I ask, as a courtesy, is to make note of where you got it from. Back up and restore Windows user files _Array.au3 - Modified array functions that include support for 2D arrays. - ColorChooser - An add-on for SciTE that pops up a color dialog so you can select and paste a color code into a script. - Customizable Splashscreen GUI w/Progress Bar - Create a custom "splash screen" GUI with a progress bar and custom label. - _FileGetProperty - Retrieve the properties of a file - SciTE Toolbar - A toolbar demo for use with the SciTE editor - GUIRegisterMsg demo - Demo script to show how to use the Windows messages to interact with controls and your GUI. - Latin Square password generator Link to comment Share on other sites More sharing options...
somdcomputerguy Posted December 14, 2011 Share Posted December 14, 2011 (edited) This is what MPH is referring to - Autoit-1-2-3. Edited December 14, 2011 by somdcomputerguy - Bruce /*somdcomputerguy */ If you change the way you look at things, the things you look at change. Link to comment Share on other sites More sharing options...
Developers Jos Posted December 14, 2011 Developers Share Posted December 14, 2011 umm no:P actually i just went straight to the homepage and downloaded it so i guess im working with autoit 3Glad you agreed being a lazy bugger.... 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...
Bert Posted December 14, 2011 Share Posted December 14, 2011 umm no:P actually i just went straight to the homepage and downloaded it so i guess im working with autoit 3What have you tried to create? There are some good example scripts one can play with. I'm happy to help. The Vollatran project My blog: http://www.vollysinterestingshit.com/ Link to comment Share on other sites More sharing options...
Valik Posted December 14, 2011 Share Posted December 14, 2011 Bye bye ban evader person thingy. Miranda and Mikeman27294 2 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