Jump to content

Mouseclick button


Recommended Posts

hello!

How can I get this Code to a button ? :

HotKeySet("{F8}", "_pause") ; "F8"

Global $pause

While True

MouseClick("left", 418, 312)

MouseClick("left", 485, 312)

MouseClick("left", 448, 312)

MouseClick("left", 484, 312)

MouseClick("left", 485, 312)

WEnd

Func _pause()

$pause = Not $pause

While $pause

Sleep(500)

WEnd

EndFunc ;==>_pause

Link to comment
Share on other sites

  • Developers

Why did you open a new topic on the same subject?

=>

As to your question: I have no idea what you are asking, pls explain.

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

Why did you open a new topic on the same subject?

=>

As to your question: I have no idea what you are asking, pls explain.

omg... look i need that code to a button so when i click the button that code will start !!

if you dont know what i mean now then stfu

Link to comment
Share on other sites

telling a dev to "stfu" is a great way to get banned.

HotKeySet("{F8}", "_pause") ; "F8"
Global $pause = 0
Func _buttonFunc()
if $pause then
     MouseClick("left", 418, 312)
     MouseClick("left", 485, 312)
     MouseClick("left", 448, 312)
     MouseClick("left", 484, 312)
     MouseClick("left", 485, 312)
else
     sleep(500)
endif
endfunc

func _pause()
     $pause = not $pause
endfunc

now just make the button run the _buttonFunc() function

Edited by pieeater

[spoiler]My UDFs: Login UDF[/spoiler]

Link to comment
Share on other sites

  • Developers

If you dont know what i mean now then stfu

I will not tolerate you talking to me like that and you should have known that given your history with me.

This time you get a 2 weeks ban to think if you really want to return here and behave or simply stay away.

Jos

Edited by 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

Guest
This topic is now closed to further replies.
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...