Leetu Posted March 22, 2006 Posted March 22, 2006 I know there's gotta be a script out there for this, but the search one help me. Basically all I want is a script that does the following: Double press F1, F2, F3 every 10 seconds (or just always pressing would be fine too) with F11 as the exit key. Thanks in advance.
cdkid Posted March 22, 2006 Posted March 22, 2006 While 1 Sleep(10 * 1000) Send("{F1 2}{F2 2}{F3 2})") WEnd ~cdkid AutoIt Console written in C#. Write au3 code right at the console :D_FileWriteToLineWrite to a specific line in a file.My UDF Libraries: MySQL UDF Library version 1.6 MySQL Database UDF's for AutoItI have stopped updating the MySQL thread above, all future updates will be on my SVN. The svn location is:kan2.sytes.net/publicsvn/mysqlnote: This will still be available, but due to my new job, and school hours, am no longer developing this udf.My business: www.hirethebrain.com Hire The Brain HireTheBrain.com Computer Consulting, Design, Assembly and RepairOh no! I've commited Scriptocide!
Leetu Posted March 23, 2006 Author Posted March 23, 2006 I guess that wasn't what I was trying to get because it didn't work out. Is there a way to make it so that it like this... Press F1, wait 5 seconds press F1 again, wait 5 seconds, press F2, wait 5 seconds press F2 again, wait 5 seconds, press F3, wait 5 seconds, press F3, wait 5 seconds, Press F1 (basically this would just be a never ending loop). Thanks again in advance.
Moderators SmOke_N Posted March 23, 2006 Moderators Posted March 23, 2006 cdkid gave you the guts, now take a look at Sleep() and Send() in the help file, and place those in the While/WEnd Loop that he's shown you there (While/WEnd also in the help file. 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.
Leetu Posted March 23, 2006 Author Posted March 23, 2006 SmOke_N said: cdkid gave you the guts, now take a look at Sleep() and Send() in the help file, and place those in the While/WEnd Loop that he's shown you there (While/WEnd also in the help file.Sry I'm not a programmer, that's why I am asking this question in the support section of the forums...
Moderators SmOke_N Posted March 23, 2006 Moderators Posted March 23, 2006 Leetu said: Sry I'm not a programmer, that's why I am asking this question in the support section of the forums...I understand, that's why I gave you the things to look for in the help file. You also may want to look here: http://www.autoitscript.com/forum/index.php?showtopic=21048P.S. What is definition of Support forum? 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.
Leetu Posted March 23, 2006 Author Posted March 23, 2006 SmOke_N said: I understand, that's why I gave you the things to look for in the help file. You also may want to look here: http://www.autoitscript.com/forum/index.php?showtopic=21048I've actually downloaded that and tried it only to get an error message that I can't understand because it says...non semi-colon is used for commands. ; Notice the "for" is highlighted and known as a command ^ERROR
cdkid Posted March 23, 2006 Posted March 23, 2006 AutoIt 123 requires beta, i believe. ~cdkid AutoIt Console written in C#. Write au3 code right at the console :D_FileWriteToLineWrite to a specific line in a file.My UDF Libraries: MySQL UDF Library version 1.6 MySQL Database UDF's for AutoItI have stopped updating the MySQL thread above, all future updates will be on my SVN. The svn location is:kan2.sytes.net/publicsvn/mysqlnote: This will still be available, but due to my new job, and school hours, am no longer developing this udf.My business: www.hirethebrain.com Hire The Brain HireTheBrain.com Computer Consulting, Design, Assembly and RepairOh no! I've commited Scriptocide!
Leetu Posted March 23, 2006 Author Posted March 23, 2006 cdkid said: AutoIt 123 requires beta, i believe.~cdkid got it, it makes you download beta and scite
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