supag Posted January 10, 2004 Posted January 10, 2004 im making a bot and i need to press and hold the leftarrow for a certain amount of time, but i only know how to make it press the leftarrow for a certain amount of strokes. Does any one know how to make the bot press and hold leftarrow key for a certain amount of seconds?
Developers Jos Posted January 10, 2004 Developers Posted January 10, 2004 MouseDown("left") Sleep(1000) ; sleep one second MouseUp("left") 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.
supag Posted January 10, 2004 Author Posted January 10, 2004 err sorry for the double, but im gonna go try it, thanx
Developers Jos Posted January 10, 2004 Developers Posted January 10, 2004 (edited) err sorry for the double, but im gonna go try it, thanxnope... this are autoit3 commands... Edited January 10, 2004 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.
supag Posted January 10, 2004 Author Posted January 10, 2004 hmm, is there a way to do with v2? or can i just recompile with v3?
Developers Jos Posted January 10, 2004 Developers Posted January 10, 2004 not sure if its possible but i don't think so. You cannot just recompile.. the syntax is different. you can however use it next to v2 since it uses the AU3 file ext... 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.
supag Posted January 10, 2004 Author Posted January 10, 2004 ok, but i will just start using v.3. It will make it a lil easier if i just use v3 do u know where i can get it?
Developers Jos Posted January 10, 2004 Developers Posted January 10, 2004 its still beta but has been very stable for me and lots more functionality.Files can be found at http://www.hiddensoft.com/autoit3/files/ 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.
supag Posted January 10, 2004 Author Posted January 10, 2004 thanx, do u use aim, msn messenger, or icq. if so i would like to add u u been a great help thanx
Developers Jos Posted January 10, 2004 Developers Posted January 10, 2004 This forum is great to get help... just post here to get help .. mostly enough people on line to help you out... 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.
Developers Jos Posted January 10, 2004 Developers Posted January 10, 2004 (edited) umm, lol how do i install v3?did you download autoit-v3.0.85-beta.exe and run it ??It's and installset that does it all for you... Edited January 10, 2004 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.
supag Posted January 10, 2004 Author Posted January 10, 2004 hey jdbe, it didnt work, i want it to hold leftarrow key, not the left mousekey. what command sends hold leftarrow key?
supag Posted January 10, 2004 Author Posted January 10, 2004 nvm, the new autoit v3 in the help files tell me how, thanx for the help again autoit v3 is much, even the help files
supag Posted January 10, 2004 Author Posted January 10, 2004 hey jdeb, this is what im doing Run("Notepad.exe") sleep(1000) Send("sadgasdgsdgsdagdasgasgasdgsagasg") sleep("1000") send("{LWINDOWN}") sleep("5000") send("{LWINUP}") after it types in "asdgasg" the mouse disappears and then it clicks startmenu, the LWINDOWN and LWINUP isnt working, what am i doing wrong?
Developers Jos Posted January 10, 2004 Developers Posted January 10, 2004 :iamstupid: i misread you initial question... sorry what would you want the script to do in your example ? You press the left windowskey down .. 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.
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