Search found 7 matches
- 15 Jan 2022, 12:52
- Forum: Ask for Help (v1)
- Topic: Script to run everyday at sunset Topic is solved
- Replies: 70
- Views: 9217
Re: Script to run everyday at sunset Topic is solved
Hi all, final update: it works great! I had to change the initial AHK script a bit, but the mentioned solution using sunwait works fine for our specific needs (not reliant on internet, reboot proof etc). Many thanks to all, especially @ mikeyww (loved that "Time for bed") and many others for getting...
- 14 Jan 2022, 13:29
- Forum: Ask for Help (v1)
- Topic: Script to run everyday at sunset Topic is solved
- Replies: 70
- Views: 9217
Re: Script to run everyday at sunset Topic is solved
Hi all, just an update, sunwait.exe works very well. However the "sunwait.exe" program linked in authors' page https://risacher.org/sunwait/ uses different paramters/syntax as mentioned there. sunwait -h shows what's supported, plus an example: sunwait sun up -0:15:10 38.794433N 77.069450W I used th...
- 14 Jan 2022, 10:51
- Forum: Ask for Help (v1)
- Topic: Script to run everyday at sunset Topic is solved
- Replies: 70
- Views: 9217
Re: Script to run everyday at sunset Topic is solved
@amateur+ the math itself is well known and simple, but needs trigonometric functions. We use one of the many sunrise/sunset implementations for our weather station, don't know exactly which, there are so many. https://www.google.com/search?q=sunset+arduino I think we use a simplified version, which...
- 14 Jan 2022, 08:04
- Forum: Ask for Help (v1)
- Topic: Script to run everyday at sunset Topic is solved
- Replies: 70
- Views: 9217
Re: Script to run everyday at sunset Topic is solved
Interesting thoughts, however the countdown/comparison has to happen somewhere, whether via taskmanager or via AHK or any other "loop" or check. Whether it checks every 1 or 5 or 10 minutes, with AHK the CPU still counts down that time somewhere. Yes, I'm now also thinking to use the actual task man...
- 13 Jan 2022, 22:22
- Forum: Ask for Help (v1)
- Topic: Script to run everyday at sunset Topic is solved
- Replies: 70
- Views: 9217
Re: Script to run everyday at sunset Topic is solved
regarding https://www.autohotkey.com/boards/viewtopic.php?p=427702#p427702 So this loop checks every minute for a certain substring and when it matches it sends that ^y? The APIs are really nice and cool, but as mentioned the math to calculate the sunset (+1h) is easy, and AHK provides the functions...
- 13 Jan 2022, 10:52
- Forum: Ask for Help (v1)
- Topic: trigger a ctrl command every sunset
- Replies: 4
- Views: 602
Re: trigger a ctrl command every sunset
The apis look very cool!
Thanks for the input!
Have to digest this all, am so out of it, also so many new functions.
Thanks!!
Thanks for the input!
Have to digest this all, am so out of it, also so many new functions.
Thanks!!
- 13 Jan 2022, 06:20
- Forum: Ask for Help (v1)
- Topic: Script to run everyday at sunset Topic is solved
- Replies: 70
- Views: 9217
Script to run everyday at sunset Topic is solved
Hi all, I need to run some script an hour or so after sunset, everyday. Changing Taskmanager to keep up with this slowly changing time is a hassle and AHK supports the basic math functions to calculate the daily sunset during a year. So those times can be calculated within AHK -which is so cool BTW-...