I'm trying to make a program that will scream at me to autosave my work every 10 minutes. I've only worked with Rust and C++, so I'm wondering what language might be best for this project. Any suggestions?
6 Answers
Consider using Lua for this! You can write a quick program with a 10 minute timer that pops up a notification. It's simple and should work well for your needs.
If programming is too much, why not just set an alarm on your phone or find a web app that does this? Sometimes it's easier than coding from scratch!
This is really just about using a timer to play an audio file. You can easily google how to do this in your preferred language, like:
- "How to play an audio file in (language)"
- "How to create a timer in (language)"
- Or "how to show a pop-up in (language)"
Is it really considered "autosave" if you need a reminder to do it?
The autosave feature hasn't worked since 1993, so maybe a reminder isn't the worst idea!
You can use any language for this! Here's a simple C++ example:
```cpp
#include
#include
int main() {
while (true) {
Beep(1000, 500);
Sleep(600000);
}
return 0;
}
``` Just make sure your Beep function is in the right header!
Haha, I see what you did there! A nice beep to remind you!
You might want to try Python!
```python
import time
while True:
print("Autosave")
time.sleep(600)
```
It’s straightforward and can run easily!

I mean, if I didn't care about figuring it out, I'd just ask an AI to do it for me!