kd8lvt Posted August 25, 2011 Share Posted August 25, 2011 Hi! I am trying to make an autoit script that will count down from 30 minutes to 0 (accurately as possible) in Notepad! It would be awesome if it made a sound like an alarm clock when it hits 0, but it doesn't have to.... Link to comment Share on other sites More sharing options...
LurchMan Posted August 25, 2011 Share Posted August 25, 2011 Hi! I am trying to make an autoit script that will count down from 30 minutes to 0 (accurately as possible) in Notepad!It would be awesome if it made a sound like an alarm clock when it hits 0, but it doesn't have to....Lets see some code you have tried and you will more than likely get more help. Dating a girl is just like writing software. Everything's going to work just fine in the testing lab (dating), but as soon as you have contract with a customer (marriage), then your program (life) is going to be facing new situations you never expected. You'll be forced to patch the code (admit you're wrong) and then the code (wife) will just end up all bloated and unmaintainable in the end. Link to comment Share on other sites More sharing options...
Valik Posted August 25, 2011 Share Posted August 25, 2011 Nice quad post you did. Don't do it again. Protip for those who have internet issues: Don't keep re-submitting, first use a different tab to CHECK if your post went through the first time. If this wasn't due to an internet issue... then please learn how forums work. Link to comment Share on other sites More sharing options...
kd8lvt Posted August 25, 2011 Author Share Posted August 25, 2011 oh sorry... and I tried and then I got frustrated and accidentally deleted my file I have anger issues... so basically I have nothing sorry Link to comment Share on other sites More sharing options...
bogQ Posted August 25, 2011 Share Posted August 25, 2011 i did something similar 2 dayes ago <-- click meyoul get the idea how to do it yourself if you understand that 15 lines in script. TCP server and client - Learning about TCP servers and clients connectionAu3 oIrrlicht - Irrlicht projectAu3impact - Another 3D DLL game engine for autoit. (3impact 3Drad related) There are those that believe that the perfect heist lies in the preparation.Some say that it’s all in the timing, seizing the right opportunity. Others even say it’s the ability to leave no trace behind, be a ghost. Link to comment Share on other sites More sharing options...
kd8lvt Posted August 25, 2011 Author Share Posted August 25, 2011 I'm only a beginner and I understood about 1% of it... sorry umm how about something more simple.. like just text in notepad was what I was shooting for... Link to comment Share on other sites More sharing options...
LurchMan Posted August 25, 2011 Share Posted August 25, 2011 If you are just trying to open notepad and have AutoIt type in the countdown to 30 mins, then look at the notepad example that comes with AutoIt and look at sleep () in the help file. Dating a girl is just like writing software. Everything's going to work just fine in the testing lab (dating), but as soon as you have contract with a customer (marriage), then your program (life) is going to be facing new situations you never expected. You'll be forced to patch the code (admit you're wrong) and then the code (wife) will just end up all bloated and unmaintainable in the end. Link to comment Share on other sites More sharing options...
kd8lvt Posted August 25, 2011 Author Share Posted August 25, 2011 ok thanks. I never thought of that... Link to comment Share on other sites More sharing options...
bogQ Posted August 25, 2011 Share Posted August 25, 2011 (edited) like just text in notepad was what I was shooting for ControlSend example in the help file have text in notepad example and after you connect it with #Include <Date.au3> Dim $h, $m, $s $Data = _TimeToTicks(0,30,0) $curtime = TimerInit() ;_TicksToTime($Data-(Int(TimerDiff($curtime)/1000)), $h, $m, $s) While 1 _TicksToTime($Data-Int(TimerDiff($curtime)), $h, $m, $s) ToolTip($h&':'&$m&':'&$s) WEnd the fun can start Edited August 25, 2011 by bogQ TCP server and client - Learning about TCP servers and clients connectionAu3 oIrrlicht - Irrlicht projectAu3impact - Another 3D DLL game engine for autoit. (3impact 3Drad related) There are those that believe that the perfect heist lies in the preparation.Some say that it’s all in the timing, seizing the right opportunity. Others even say it’s the ability to leave no trace behind, be a ghost. 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