| View previous topic :: View next topic |
| Author |
Message |
keyboardfreak
Joined: 09 Oct 2004 Posts: 135 Location: Budapest, Hungary
|
Posted: Wed Jun 25, 2008 9:17 pm Post subject: Startup reminder |
|
|
Probably somebody has already done something like this.
Often when I get back to my computer and switch it on I want to be reminded of something. Only once when the computer is started and I do it right away.
Here's a quick script I made for myself. Someone else may find it useful.
It uses the Pause key to add reminders, and the reminders are shown and deleted (unless the message box is cancelled) next time the computer is started (this snippet is integrated into my hotkey script which is called at startup):
| Code: | reminder_dir = %A_AppData%\startreminder
FileCreateDir % reminder_dir
loop %reminder_dir%\*
{
fileread text, % A_LoopFileFullPath
MsgBox, 1, reminder, % text
IfMsgBox OK
FileDelete % A_LoopFileFullPath
}
pause::
InputBox, reminder, Enter Reminder
If Not Errorlevel
fileappend %reminder%, %reminder_dir%\%A_Now%
return
|
Last edited by keyboardfreak on Thu Jul 10, 2008 10:28 am; edited 1 time in total |
|
| Back to top |
|
 |
TheLeO
Joined: 11 Jun 2005 Posts: 165 Location: England ish
|
Posted: Mon Jun 30, 2008 7:16 pm Post subject: |
|
|
nice..
I usually make a notepad file in the middle of the desktop and name it READ ME TASK I NEED 2 DO<
and type out a list of stuff that i was going to do...
but thanks to you, I only need to press the f _________________ And i say: where there is a problem , there is a solution.(well some where that is.)
::
I Have Spoken
:: |
|
| Back to top |
|
 |
keyboardfreak
Joined: 09 Oct 2004 Posts: 135 Location: Budapest, Hungary
|
Posted: Thu Jul 10, 2008 10:30 am Post subject: |
|
|
| Small update: when the reminders are shown they can be kept till the next startup if the message box is cancelled. If you press OK then the reminder is deleted. |
|
| Back to top |
|
 |
|