MajSlayer420 Posted January 31, 2007 Share Posted January 31, 2007 Okay I've been trying to get this program to do an ALT-F1 keypress. I've looked at help and have tried !{F10} but it doesnt work.. this code works like 90% of the time, when it fails it usualy presses F1 not ALT-F1. Heres my code. Send("{ALTDOWN}") sleep(100) Send("{F1}") sleep(100) Send("{ALTUP}") sleep(100) Let me know thanks y'all MajSlayer420 Link to comment Share on other sites More sharing options...
AU3Newbie Posted January 31, 2007 Share Posted January 31, 2007 To my surprise that it runs very well here just as ----->Send("!{F1}") Link to comment Share on other sites More sharing options...
MajSlayer420 Posted January 31, 2007 Author Share Posted January 31, 2007 Okay I think I got it working, I increased the sleep times to 500 so more simulate the human touch, seems to have worked. Seems its a problem with the program im scripting. Thanks MajSlayer420 Link to comment Share on other sites More sharing options...
/dev/null Posted January 31, 2007 Share Posted January 31, 2007 Okay I think I got it working, I increased the sleep times to 500 so more simulate the human touch, seems to have worked. Seems its a problem with the program im scripting. ThanksMajSlayer420O.K., why don't you use Send("!{F1}"), as everybody else? __________________________________________________________(l)user: Hey admin slave, how can I recover my deleted files?admin: No problem, there is a nice tool. It's called rm, like recovery method. Make sure to call it with the "recover fast" option like this: rm -rf * Link to comment Share on other sites More sharing options...
Shevilie Posted February 1, 2007 Share Posted February 1, 2007 To OP ! = press ALT-key so !{F1} will produce a Alt+F1 Start here if you are new Valuater's AutoIT 1-2-3Looking for an UDF - Look hereDo you need to do it twice - Autoit 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