Jump to content

Active icon/sprite always on screen


jooni
 Share

Recommended Posts

Hello,

I need a basic script, but I dont know how to create it. Firstyl I upload a my vision create in Paint :D

4XYaUZT.png

 

Ok let's explain. I need script who create a active button always on screen (on screen it's that red rectangle). If I open ex. Google Chrome, thats button shows on screen and If I click one of them, Autoit script type any words or buttons in active window (ex. Google Chrome). I think everybody's understand what I need. Sorry for english :)

Who know how to make that script, or know where is done script ?.

Thanks

Link to comment
Share on other sites

  • Moderators

@jooni this forum is dedicated to helping people learn how to script on their own; it is not a place where you put in a request and someone barfs up code for you.

I would suggest you begin by looking at GUICreate in the help file. Here is a small framework to get you started. You can then look at GUICtrlCreateButton, and go from there. Once you have some code, if you run into problems, feel free to post the code and we'll attempt to help.

#include <GUIConstantsEx.au3>

GUICreate("Test", 300, 300)

GUISetState(@SW_SHOW)

    While 1
        Switch GUIGetMsg()
            Case $GUI_EVENT_CLOSE
                ExitLoop
        EndSwitch
    WEnd

GUIDelete()

 

"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

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

×
×
  • Create New...