Jump to content

This was working yesterday


Recommended Posts

HotKeySet("+{TAB}", "start")

$a = 0

func start()
    HotkeySet("+{TAB}", "stop")
    $a = 1
    do 
    MouseClick ( "left" ) 
    until $a = 0
endfunc


func stop()
    HotkeySet("+{TAB}", "start")
    $a = 0
    do 
    sleep(100)
    until $a = 1
endfunc

worked great until i tried it again today. what the hell is wrong?

Link to comment
Share on other sites

  • Developers

worked great until i tried it again today.  what the hell is wrong?

<{POST_SNAPBACK}>

Guess it finishes right away ?

all it does is $A = 0 and then the script ends.....

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

im going for it to start and stop when i press shift tab..

<{POST_SNAPBACK}>

well then you want to either do Start() or Stop() after the $a = 0 line to put your program in one of these 2 loop.......

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