Jump to content

Macro program-mouse click in taskbar?


wookiee
 Share

Recommended Posts

Howzit

Thanks to the guys who gave me some imfo earlier but Im stuck with the example and dont know how to implement them into the macro??

Here is the macro Ive writen(I want to use the mouse click to select the minimized program, if you dont mind go down into the macro, I have written in red were I need to go into the task bar and select a certain program, thanks for your time and patients (I know Im asking alot but please help)

Regards wookiee (hair to the throne)

Global $Paused

HotKeySet("^+e","vExit") ;hotkey to stop the script

HotKeySet("{PAUSE}","TogglePause")

Func TogglePause()

$Paused = NOT $Paused

While $Paused

Sleep(100)

Wend

EndFunc

Func vExit()

Exit

EndFunc

Sleep (10000)

While 1 = 1

; SELECTION OF PROGRAM FROM TASKBAR

Over here I need to enter the task bar and click on a minimized program

Mouseclick ("left",544,11)-co-ordinates for mouse click in taskbar

Sleep (1000)

; UNDOCKING

Mouseclick ("left",77,984)

Sleep (40000)

; CLICK SHIELD BOOSTER

MouseClick ("left",765,954)

Sleep (1000)

; CLICK PEOPLE & PLACES

Mouseclick ("left",19,193)

Sleep (3000)

; CLICK BELT

Mouseclick ("right",618,624)

Sleep (1000)

; CLICK WARP TO LOCATION WITHIN 0M

Mouseclick ("left",654,636)

Sleep (60000)

; CLICK PEOPLE AND PLACES OFF

Mouseclick ("left",821,479)

Sleep (1000)

; CLICK RIOD IN OVERVIEW

Mouseclick ("left",1141,181)

Sleep (1000)

; CLICK LOCK TARGET

Mouseclick ("left",1129,114)

Sleep (5000)

; CLICK STRIP MINER/ ICE HARVESTER 1

Mouseclick ("left",789,912)

Sleep (1000)

; CLICK STRIP MINER/ ICE HARVESTER 2

Mouseclick ("left",741,913)

Sleep (1226000)

; CLICK PEOPLE & PLACES

Mouseclick ("left",19,193)

Sleep (3000)

; CLICK *STATION

MouseClick ("Right",671,606)

Sleep (1000)

; CLICK WARP TO LOCATION WITHIN 0M (BACK TO STATION)

Mouseclick ("left",766,617)

Sleep (50000)

; CLICK *STATION

MouseClick ("Right",671,606)

Sleep (1000)

; CLICK DOCK

MouseClick ("Left",701,635)

Sleep (1000)

; CLICK *STATION

MouseClick ("Right",671,606)

Sleep (1000)

; CLICK DOCK

MouseClick ("Left",701,635)

Sleep (50000)

; CLICK PEOPLE AND PLACES OFF

Mouseclick ("left",821,479)

Sleep (2000)

; MOVE MOUSE OVER ROIDS

MouseMove (182,953)

Sleep (1000)

; CLICK ROID & DRAG TO HANGAR

MouseClickDrag ("left",182,953,1069,931)

Sleep (5000)

Wend

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