xxbrentonxx Posted January 6, 2009 Author Posted January 6, 2009 (edited) Seems to work, i ran it and it went crazy lol (didnt notice the *1000 wasnt in there lol) Ill play around with it and see if its what i need. Thanks heaps. Ok fixed the seconds and noticed you forgot to change keyress to key in the program and added the trap things in and its working perfect thanks. With the trap it goes weird so im going to edit it and see how that goes. Also the exit button in the gui doesnt work, that should fix if i put the original while in again right? (the one that Koda made) Hmm weird i cant get the exit button to work and the pause button on the gui doesnt do anything. Oh and also it keeps going not caring whta you wrote in $timerep Edited January 6, 2009 by xxbrentonxx
martin Posted January 6, 2009 Posted January 6, 2009 Seems to work, i ran it and it went crazy lol (didnt notice the *1000 wasnt in there lol) Ill play around with it and see if its what i need. Thanks heaps.Ok fixed the seconds and noticed you forgot to change keyress to key in the program and added the trap things in and its working perfect thanks.With the trap it goes weird so im going to edit it and see how that goes.Also the exit button in the gui doesnt work, that should fix if i put the original while in again right? (the one that Koda made)Hmm weird i cant get the exit button to work and the pause button on the gui doesnt do anything.Sorry xxbrentonxx, I was in a bit of a rush. I can't spent any more time on it now.You can't add another while loop, only one makes sense.The Adlibenable aught to be disabled when you enter ther ress function and enabled again when you quite it to avoid calling the function when it is already running.The gui buttons don't work because the script is spending all its time in the ress function and not much in the while/wend loop so it doesn't see the buttons are pressed. You would need to use OnEvent to get round that but I think you should get the hang of this approach first.Keep playing with it- its' the best way to learn. Serial port communications UDF Includes functions for binary transmission and reception.printing UDF Useful for graphs, forms, labels, reports etc.Add User Call Tips to SciTE for functions in UDFs not included with AutoIt and for your own scripts.Functions with parameters in OnEvent mode and for Hot Keys One function replaces GuiSetOnEvent, GuiCtrlSetOnEvent and HotKeySet.UDF IsConnected2 for notification of status of connected state of many urls or IPs, without slowing the script.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now