 |
AutoHotkey Community Let's help each other out
|
| View previous topic :: View next topic |
| Author |
Message |
gb Guest
|
Posted: Thu Apr 28, 2005 2:27 pm Post subject: Once-A-Month tasks |
|
|
I realise this is a childishly small and simple script, so simple I'm shy to post it. But I find it so useful I thought I'd share it and the idea. It's so simple some of you are probably doing it already.
I have a small list of once-a-month tasks that I like to be reminded about.
I keep them in a CSV file (easy to edit, easy to work with).
The script below reads the CSV file and displays a message box for each item. As I do the tasks, I click the OK button and the next task displays.
I use the Win XP task Scheduler to run the script on the last friday of each month.
| Code: |
; AutoHotKey Script version 1.x
; Automated reminder list of once-a-month items
; gb, April 2005
; Read the REMINDERS.CSV file and display message box
Loop, read, C:\AHK Work\Working Dir\once-a-month.csv
; edit the above path and insert the path to your CSV file
{
Loop, parse, A_LoopReadLine, CSV
{
Var%A_Index% = %A_LoopField%
}
MsgBox, 64, %Var1%, %Var2%
Sleep, 500
}
;QUIT
Exit
|
Any comments, suggestions and enhancements will be welcome.
I guess one could use this idea to "call" a list of other AHK scripts as well - but I dunno, as I haven't tried it... yet. |
|
| Back to top |
|
 |
Guest
|
Posted: Thu Apr 28, 2005 10:43 pm Post subject: |
|
|
Not "childishly small and simple script" at all! Two of my most important ahk scripts are small and simple (sort of).
One is a reminder tool that uses the systray to "nag me" about something that I need to do. I wanted to use the systray because I have virtual desktops and pop-up's are not that easy to notice. It will display a 10 second systray message every 1,2,3,5,10,15 or 30 minutes.
The other is a pop-up menu program launcher with sub-menus by catagory. Alt-right-click and it pops up wherever your mouse cursor is. I used this instead of toolbars to launch applications. AHK Rocks!
 |
|
| Back to top |
|
 |
gb Guest
|
Posted: Fri Apr 29, 2005 7:03 am Post subject: |
|
|
Hmmm, I actually hadn't thought of using the systray - clever idea.
Very useful with virtual desktops, too - you're right.
I am toying with the idea of using AHK to email me certain reminders.
I find this command line works for me in my other scripts:
| Code: |
Run, mailto:my_email@email.com?subject=Some_Subject_Line&Body=Some_Body_Text
|
Yup, AHK rocks! I also use it to auto-download/update my anti-virus definitions once a day. Even use it to toggle my iTunes on and off!
 |
|
| Back to top |
|
 |
|
|
You can post new topics in this forum You can reply to topics in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|