Jump to content

How can have the same Radio to pause?


tuanvu
 Share

Recommended Posts

Opt("GUIOnEventMode", 1)
Opt("TrayOnEventMode", 1)

$pause = GUICtrlCreateRadio("pause", 24, 71,  120,17)
GUICtrlSetOnEvent(-1, "pause")   ;Func

$radio = GUICtrlCreateRadio("diem A", 24, 71,  120,17)
GUICtrlSetOnEvent(-1, "diemA")   ;Func

$radio1 = GUICtrlCreateRadio("diem B", 24, 71,  120,17)
GUICtrlSetOnEvent(-1, "diemB")   ;Func

$thoat = GUICtrlCreateRadio("thoat exit", 24, 71,  120,17)
GUICtrlSetOnEvent(-1, "thoat")   ;Func

func  pause()

;... ?

endfunc

 

func diemA()

MouseClick("left", 500,500,2")

endfunc

 

func diemB()

MouseClick("left", 700,700,2")

endfunc

func thoat()

exit

endfunc

 

Edited by tuanvu
Link to comment
Share on other sites

  • Developers
2 hours ago, tuanvu said:

If $go = not $go then

That would take a miracle to be ever true, but for starters:
What are you trying to do with this script as it end right away at the moment?

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

  • Developers
5 hours ago, tuanvu said:

No I want to pause

Understand you have difficulty with English but it must be clear to you there is no need to state something 4 times in BIG letters as that indicates you are shouting at us.
So don't do that please.

While I have your attention: What do you want?

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

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