Jump to content

Please help me with background working


 Share

Recommended Posts

Hi,

can you please tell me, how can I make this script work in background for "AAA" application?

WinWaitActive ("AAA");

Sleep (5000)

While 1 = 1

$coor = PixelSearch (573,334,573,334,0xFFCF00,50)

$X = @error

If $X = 0 Then

Send ("{UP}")

Sleep (250)

MouseClick ("left",764,564,1)

Sleep (500)

MouseClick ("left",770,567,1)

Sleep (500)

MouseClick ("left",588,594,1)

Sleep (500)

MouseClick ("left",638,679,1)

EndIF

Sleep (50)

$coor = PixelSearch (613,564,613,564,0x3675BC,5)

$X = @error

If $X = 0 Then

Sleep (250)

MouseClick ("left",505,565,1)

Sleep (500)

MouseClick ("left",638,679,1)

EndIF

WEnd

Link to comment
Share on other sites

Although it looks like a bot. Have a look at Control .... Send or Click functions

Scripts & functions Organize Includes Let Scite organize the include files

Yahtzee The game "Yahtzee" (Kniffel, DiceLion)

LoginWrapper Secure scripts by adding a query (authentication)

_RunOnlyOnThis UDF Make sure that a script can only be executed on ... (Windows / HD / ...)

Internet-Café Server/Client Application Open CD, Start Browser, Lock remote client, etc.

MultipleFuncsWithOneHotkey Start different funcs by hitting one hotkey different times

Link to comment
Share on other sites

  • Developers

Bump =(... Nobody knows...

pls do not bump a thread within 24 hours and spent the time well to study the given information, because I have the strong impression you are waiting to be fed.

Jos

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

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