AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Startup reminder

 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Scripts & Functions
View previous topic :: View next topic  
Author Message
keyboardfreak



Joined: 09 Oct 2004
Posts: 135
Location: Budapest, Hungary

PostPosted: Wed Jun 25, 2008 9:17 pm    Post subject: Startup reminder Reply with quote

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
View user's profile Send private message
TheLeO



Joined: 11 Jun 2005
Posts: 165
Location: England ish

PostPosted: Mon Jun 30, 2008 7:16 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website MSN Messenger
keyboardfreak



Joined: 09 Oct 2004
Posts: 135
Location: Budapest, Hungary

PostPosted: Thu Jul 10, 2008 10:30 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Scripts & Functions All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group