Jump to content

Proper use of ControlFocus and ControlSend


Recommended Posts

I must not be using these functions right for my GUI

the targeted name of the window is "[HC]" (without quotations)

and all I want my

func to do is get controlfocus of window (because I got a checkbox, when ticked function will kick in) and then ControlSend,

But I know im not doing it right and I've tried numerous ways of going about this.

Can someone please maybe post a valid example?

I tried retracting some info from the help guide on this and I got no where from there Notepad example.

Id appreciate the help a lot guys.

Thanks,

~Acid Alchamy~

Link to comment
Share on other sites

because is controlsend the function I want to use when I only want something sent once?

Send(.....) in a func when func is activated spamms the function and I dont want that. I want to focus a client and send it one command, once and thats it.

Link to comment
Share on other sites

  • Moderators

It is difficult to provide you with assistance without a little more detail. Can you post the code you've tried thus far? How about a screen shot of the window you're trying to manipulate?

"Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball

How to get your question answered on this forum!

Link to comment
Share on other sites

Don't bump your thread every hour!

Wait atleast 24 hours between bumps!

[font="helvetica, arial, sans-serif"]Hobby graphics artist, using gimp.Automating pc stuff, using AutoIt.Listening to music, using Grooveshark.[/font]Scripts:[spoiler]Simple ScreenshotSaves you alot of trouble when taking a screenshot!Don't remember what happened with this, but aperantly the exe is all i got.If you don't want to run it, simply don't._IsRun UDFIt figures out if the script has ben ran before based on the info in a ini file.If you don't want to use exactly what i wrote, you can use it as inspiration.[/spoiler]

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