Jump to content

Alternativ to controlclick?


Recommended Posts

I'm just getting into the scripting scene and do not really have alot of experience with programming. That said i was wondering if their is any alternativ to ControlClick? I'm trying to make a simple .exe launcher but i can't get the"controll ID" for the buttons i need my script to press. (Everything execpt the "Window" tab is blank in Au3Info).

So anyone know of an alternate way to make the script press a certain button?

Edited by Sulfuri
Link to comment
Share on other sites

Well you could Send() however many TABS it takes to give focus to that control, then Send() a SPACE to 'press' that button. You would need to WinActivate() the window first to make sure it's active, unless you're sure that it'll already be active.

- Bruce /*somdcomputerguy */  If you change the way you look at things, the things you look at change.

Link to comment
Share on other sites

Well you could Send() however many TABS it takes to give focus to that control, then Send() a SPACE to 'press' that button. You would need to WinActivate() the window first to make sure it's active, unless you're sure that it'll already be active.

That works great, ;) thanks mate!

What is the app with "buttons i need my script to press"?

Perhaps it's already been done.

Well i'm just trying to learn :)

Sorry for the double post.

Edited by Sulfuri
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...