BigDaddyO Posted August 15, 2005 Share Posted August 15, 2005 (edited) I have been looking for something to start me on the Graphics section of the GUI beta so when I saw the chat about Binary watches I thought that would be a good start for me.I am not very good at binary so hopefully my logic is correct. Attached is the script file.Also, I put in a 10 second wait time because if I went with no wait or 500 or 1000 there was some serious flicker happening. If anyone knows how to correct that please let me know.Mikeedit: duh, instructions:The first line of Dot's are for hours: 8, 4, 2, 1The Second line of Dot's are for Minutes: 32, 16, 8, 4, 2, 1Add up the number to get the current time. This does not provide military time and also does not provide am/pm, hmm, maybe I should convert it to military, nah..link to the chat about watches i got the idea from Jon's postBinary_Clock.au3 Edited August 15, 2005 by MikeOsdx Link to comment Share on other sites More sharing options...
Somerset Posted August 15, 2005 Share Posted August 15, 2005 i am gonna have to curse Jon. I gotta get me one of those watches.... Link to comment Share on other sites More sharing options...
layer Posted August 15, 2005 Share Posted August 15, 2005 Hahaha, very cool. FootbaG Link to comment Share on other sites More sharing options...
MSLx Fanboy Posted August 15, 2005 Share Posted August 15, 2005 (edited) just add two circles at the end, and if @HOUR > 12 then light one, else the other... Not bad...Tried cleaning it up a little bit...seems that I made a boo-boo. Someone want to take a look at this for me? Binary_Clock.au3 Edited August 16, 2005 by MSLx Fanboy Writing AutoIt scripts since _DateAdd("d", -2, _NowCalcDate()) Link to comment Share on other sites More sharing options...
Goutetsu Posted August 16, 2005 Share Posted August 16, 2005 Ok, I modified MikeOsdx's script from above to include secs and switched all numbers over to 8 bit binary. I have yet to try any gui with autoit and I thought this would be a good start. Now, I only refresh the "bits" when the seconds change. If you run the script you will notice for the first couple of seconds you see no flicker. But as time goes on the flicker gets more and more noticeable, as though it takes longer to refresh. binClock.au3 Link to comment Share on other sites More sharing options...
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