Jump to content

Recommended Posts

Posted

I want add at this macro just a click mouse.. left click at this cordinate 180 930 someone... can help me? sorry for my bad english im italian

Global $WindowTitle = ""

Global $PauseKey = "{F7}"
Global $TerminateKey = "{F8}"
Global $PVPOpenKey = "{h}"
Global $MacroBindKey = "{8}{a}"

Global $Paused = False

HotKeySet( $PauseKey, "Pause" )
HotKeySet( $TerminateKey, "Terminate" )

While 1
 If Not $Paused Then
 ControlSend( $WindowTitle, "", 0, $PVPOpenKey )
 Sleep( 5000 )
 ControlSend( $WindowTitle, "", 0, $MacroBindKey )
 EndIf

 Sleep( 1000 )
WEnd

Func Pause()
 $Paused = Not $Paused
EndFunc

Func Terminate()
 Exit
EndFunc

  • Developers
Posted

Welcome to the AutoIt forum.

Unfortunately you appear to have missed the Forum rules on your way in. Please read them now - particularly the bit about not discussing game automation - and then you will understand why you will get no help and this thread will now be locked.

See you soon with a legitimate question I hope.

The Moderation team

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

Guest
This topic is now closed to further replies.
×
×
  • Create New...