Jump to content

Program is not pressing ALT-F1 correctly. Why?


Recommended Posts

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

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

O.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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...