AutoHotkey Community

It is currently May 27th, 2012, 12:13 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 85 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6  Next
Author Message
 Post subject:
PostPosted: October 15th, 2008, 7:06 pm 
Offline

Joined: May 2nd, 2006, 11:16 pm
Posts: 800
Location: Greeley, CO
jballi wrote:
You might want to take another look. The ability to set an alarm for a specify date/time has always been available. Let me know if this doesn't do it for you.


It just wasn't clear to me that you have to type over the existing time in the Date/Time field.
I guess I was expecting a separate field for the time.
Regardless, that does it for me.

I stand by my original statement... "I like this a lot. It's very robust."

_________________
Image
SoggyDog
Dwarf Fortress:
"The most intriguing game I've ever played."


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: October 15th, 2008, 7:14 pm 
Offline

Joined: June 18th, 2008, 8:36 am
Posts: 4923
Location: AHK Forum
I like you program, many thanks for sharing it.

jballi wrote:
Running a program (or script) when an alarm expires is a bit out of scope for this mini-project but I'll keep it in mind. Thanks for the suggestion.


I think this is a great idea.
It would be really great if I could put some ahk code as reminder and it would run when I press a button or run in background if it was desired to.
I would suggest to run it dynamically trough the pipe (How to: Run Dynamic Script... Through a Pipe!)

Here some of my suggestions (some of them I did change for me already, hope you do not mind):
- I cannot enter a new line in Add Reminder window but in Reminder window I can
- - could you change Add Reminder to Edit control 2 lines high and accept new line/{Enter} instead of ComboBox.

- Make Snooze button default, so you can enter 5 and press {ENTER} instead of ALT & S.

- Include ini settings in script if it is not compiled (so you get rid of ini file)

- Create a hotkey for activating and switching between reminders.

- 9 reminders are really not a lot, I need more, can you get it unlimited?

_________________
AHK_H (2alpha) AHF TT _Struct WatchDir Yaml _Input ObjTree RapidHotkey DynaRun :wink:


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: October 16th, 2008, 3:33 am 
Offline

Joined: October 1st, 2005, 9:55 pm
Posts: 775
Location: Texas, USA
SoggyDog wrote:
It just wasn't clear to me that you have to type over the existing time in the Date/Time field. I guess I was expecting a separate field for the time.

I primarily use the countdown settings so occasionally entering a time in the Date/Time field was not a big deal. But and however, a separate field for Time makes sense. I'll add it to the list.

HotKeyIt wrote:
jballi wrote:
Running a program (or script) when an alarm expires is a bit out of scope for this mini-project but I'll keep it in mind. Thanks for the suggestion.

I think this is a great idea. It would be really great if I could put some ahk code as reminder and it would run when I press a button or run in background if it was desired to. I would suggest to run it dynamically trough the pipe (How to: Run Dynamic Script... Through a Pipe!)

Although I still think this feature is out of scope, it is an interesting idea. I'm not sure if the code for the running the script dynamically is necessary unless you want to wait for a return code. The basic "Run" command will run a program/script using an independent process.

HotKeyIt wrote:
I cannot enter a new line in Add Reminder window but in Reminder window I can
- - could you change Add Reminder to Edit control 2 lines high and accept new line/{Enter} instead of ComboBox.

I've had this on the To Do list for some time. It's an easy change but the ComboBox does provide a selectable DDL (drop down list) that I intended to make editable in future versions. Let me think on it. I'm sure there is a way to have/eat cake.

HotKeyIt wrote:
- Make Snooze button default, so you can enter 5 and press {ENTER} instead of ALT & S.

Can do. I'm just surprised that I haven't made this change already. I just enter 5 {Tab} {Space} to set a 5 minute snooze but 5 {Enter} is better.

HotKeyIt wrote:
- Include ini settings in script if it is not compiled (so you get rid of ini file)

I'm very much opposed to having a script modify itself for any reason. Not only does it introduce additional testing considerations, it plays havoc on version control.

HotKeyIt wrote:
- Create a hotkey for activating and switching between reminders.

I didn't like this idea when I first read it but it might have some value. I'll add it to the list.

HotKeyIt wrote:
- 9 reminders are really not a lot, I need more, can you get it unlimited?

Adding a few more alarms is not a problem but creating an unlimited number of alarms would required a complete redesign/rewrite.

I suspect that if you need a lot more alarms, you want to use this script for something other than what it was designed for - a tool to quickly set up same-day, one-use-only, reminders. I'm all for expanding the functionally of the this program but I'm hesitant to start duplicating the features of the dozens of ready-to-go freeware programs out there. Your thoughts?


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: October 16th, 2008, 7:24 pm 
Offline

Joined: June 18th, 2008, 8:36 am
Posts: 4923
Location: AHK Forum
jballi wrote:
HotKeyIt wrote:
jballi wrote:
Running a program (or script) when an alarm expires is a bit out of scope for this mini-project but I'll keep it in mind. Thanks for the suggestion.


I think this is a great idea. It would be really great if I could put some ahk code as reminder and it would run when I press a button or run in background if it was desired to. I would suggest to run it dynamically trough the pipe (How to: Run Dynamic Script... Through a Pipe! )


Although I still think this feature is out of scope, it is an interesting idea. I'm not sure if the code for the running the script dynamically is necessary unless you want to wait for a return code. The basic "Run" command will run a program/script using an independent process.


"Run" command needs to be used in both cases dynamically or not, but if I put in some code instead of just text into reminder,
- you can create a file and run it
- or run it trough the pipe so creating the file would not be necessary.
For example I would put in following code instead of reminder text:
Code:
MsgBox, 262148, TIME TO GO, Would you like to shutdown now?
IfMsgBox Yes
shutdown, 1

No file will be generated and it also does not need to be deleted.
Here is my function to run dynamic script:
Code:
#__RUN_TEMP_SCRIPT(script)
{
   #__PIPE_NAME_ := A_TickCount
   #__PIPE_GA_ := CreateNamedPipe(#__PIPE_NAME_, 2)
   #__PIPE_    := CreateNamedPipe(#__PIPE_NAME_, 2)
   if (#__PIPE_=-1 or #__PIPE_GA_=-1) {
      MsgBox CreateNamedPipe failed.
      Goto, #__ON_EXIT
   }
   Run, %A_AhkPath% "\\.\pipe\%#__PIPE_NAME_%"
   DllCall("ConnectNamedPipe","uint",#__PIPE_GA_,"uint",0)
   DllCall("CloseHandle","uint",#__PIPE_GA_)
   DllCall("ConnectNamedPipe","uint",#__PIPE_,"uint",0)
   script := chr(239) . chr(187) . chr(191) . script
   if !DllCall("WriteFile","uint",#__PIPE_,"str",script,"uint",StrLen(script)+1,"uint*",0,"uint",0)
      MsgBox WriteFile failed: %ErrorLevel%/%A_LastError%
   DllCall("CloseHandle","uint",#__PIPE_)
   Return
}



jballi wrote:
HotKeyIt wrote:
I cannot enter a new line in Add Reminder window but in Reminder window I can
- - could you change Add Reminder to Edit control 2 lines high and accept new line/{Enter} instead of ComboBox.


I've had this on the To Do list for some time. It's an easy change but the ComboBox does provide a selectable DDL (drop down list) that I intended to make editable in future versions. Let me think on it. I'm sure there is a way to have/eat cake.


It would be perfect to have both, so I also could select my script or text from DDL, but see my several lines in the edit control.

jballi wrote:
HotKeyIt wrote:
- Include ini settings in script if it is not compiled (so you get rid of ini file)

I'm very much opposed to having a script modify itself for any reason. Not only does it introduce additional testing considerations, it plays havoc on version control.


I would not know of an issue, but this is no problem anyway, all I need to do for me is to change variable $ConfigFile to be the script itself and insert few lines at the top:
Code:
/*
[Reminders]
[Script]
*/
...code...


jballi wrote:
HotKeyIt wrote:
- Create a hotkey for activating and switching between reminders.


I didn't like this idea when I first read it but it might have some value. I'll add it to the list.


Thanks.

jballi wrote:
HotKeyIt wrote:
- 9 reminders are really not a lot, I need more, can you get it unlimited?

Adding a few more alarms is not a problem but creating an unlimited number of alarms would required a complete redesign/rewrite.

I suspect that if you need a lot more alarms, you want to use this script for something other than what it was designed for - a tool to quickly set up same-day, one-use-only, reminders. I'm all for expanding the functionally of the this program but I'm hesitant to start duplicating the features of the dozens of ready-to-go freeware programs out there. Your thoughts?


You are surely right, there is a lot of freeware for this, normaly I use Outlook, but there are a few things that I do not like and I have no way to change it.
In AHK I can change/add whatever I want and this is just very great.
How Many reminders could you add? 100? I think It would be enough for the first time.

_________________
AHK_H (2alpha) AHF TT _Struct WatchDir Yaml _Input ObjTree RapidHotkey DynaRun :wink:


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: October 17th, 2008, 2:02 am 
Offline

Joined: October 1st, 2005, 9:55 pm
Posts: 775
Location: Texas, USA
HotKeyIt wrote:
A bunch of stuff...

Thanks for your feedback. If you don't mind, I'd like to move this conversation off-line. I'll PM you with a follow-up. If you would rather not, let me know.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: October 17th, 2008, 5:48 am 
Offline

Joined: June 18th, 2008, 8:36 am
Posts: 4923
Location: AHK Forum
No problem. :)

_________________
AHK_H (2alpha) AHF TT _Struct WatchDir Yaml _Input ObjTree RapidHotkey DynaRun :wink:


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: November 9th, 2008, 2:41 am 
Offline

Joined: October 1st, 2005, 9:55 pm
Posts: 775
Location: Texas, USA
v0.3 released. See the end of the first post for a complete list of changes.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: November 9th, 2008, 3:06 pm 
Offline

Joined: June 18th, 2008, 8:36 am
Posts: 4923
Location: AHK Forum
Great! Many thanks. :D

_________________
AHK_H (2alpha) AHF TT _Struct WatchDir Yaml _Input ObjTree RapidHotkey DynaRun :wink:


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: November 10th, 2008, 5:13 pm 
Offline

Joined: May 2nd, 2006, 11:16 pm
Posts: 800
Location: Greeley, CO
Very nice !!!
Thanks.

_________________
Image
SoggyDog
Dwarf Fortress:
"The most intriguing game I've ever played."


Report this post
Top
 Profile  
Reply with quote  
PostPosted: February 13th, 2009, 2:32 am 
This little timer is great. Great, great, great.

It lets me do the two most important kind of reminders; countdown and alarm.

All the features are simple and every time i want a feature i look for it and it's there.


THANK YOU THANK YOU THANK YOU THANK YOU THANK YOU


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: May 2nd, 2009, 1:24 am 
Offline

Joined: October 1st, 2005, 9:55 pm
Posts: 775
Location: Texas, USA
Just for fun, added option to use Text-To-Speech engine to speak the alarm note text when the alarm goes off but... I not sure if it works on other OS versions. Tested on XP. Should work on XP+.

I'm looking for a couple of 20-minute beta testers to check to see if this option works on other PCs. Would be nice to have at least one Vista tester.

If this application interests you, and if you have 20 minutes to spare (15 minutes to test, 5 minutes to write up a comment), send me a PM letting me know and I will send this test version if you let me know if the option works or not. If I don't reply to your PM, it means that I already have enough beta testers.

Thanks.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: May 3rd, 2009, 3:26 am 
Offline
User avatar

Joined: September 8th, 2008, 12:26 am
Posts: 1048
Location: Ploieşti, RO
Interested in a Win98 tester? :roll:
Might not work in the current state of my system (read: SAPI 5.1 SDK flushed down the drain yesterday after subsequent failed attempts to get Voice Recognition working). But the kit is still on my HDD for a possible reinstallation and there's also SAPI 4 installed and working. ;)

You know, a nice feature would be to add alarms/reminders by voice commands, to cover all the SAPI possibilities. ;)


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: May 3rd, 2009, 4:26 am 
Offline

Joined: October 1st, 2005, 9:55 pm
Posts: 775
Location: Texas, USA
Drugwash wrote:
Interested in a Win98 tester? :roll:
Might not work in the current state of my system (read: SAPI 5.1 SDK flushed down the drain yesterday after subsequent failed attempts to get Voice Recognition working). But the kit is still on my HDD for a possible reinstallation and there's also SAPI 4 installed and working. ;)

You know, a nice feature would be to add alarms/reminders by voice commands, to cover all the SAPI possibilities. ;)

I have my doubts about Windows 98 but I'll PM you a link so that you can give it a try.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: October 13th, 2009, 10:05 pm 
Offline

Joined: May 21st, 2007, 3:44 pm
Posts: 176
Location: USA
jballi,
when I enter 17 into the hours area the AM/PM indicator changes to PM, but when I enter 08 the indicator stays at PM (if it was already at PM).

i use this gem every work day, and love it!

_________________
-------------
Scott Mattes
Image
My small, and slowly growing, collection of scripts.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: October 14th, 2009, 5:25 am 
Offline

Joined: October 1st, 2005, 9:55 pm
Posts: 775
Location: Texas, USA
ScottMattes wrote:
when I enter 17 into the hours area the AM/PM indicator changes to PM, but when I enter 08 the indicator stays at PM (if it was already at PM).

Unlike the Date field that is right next to it, the Time field shows the time using the locale's time format. Since you live in the United States (like me) you probably use the default time format, which is h:mm:ss tt. The DateTime control is smart enough to figure out that when you enter an hour between 13 and 23, you are likely using a 24-hour format and so it changes the hour and the PM symbol. Unfortunately, the control is not smart enough to know that you are entering an hour in the 24-hour format when entering an hour between 0 and 12, even if you precede the number with a zero.

The are a couple of options to change this behavior...

The first option is to change your regional time settings to use a 24-hour format (H:mm:ss or HH:mm:ss). You'll need to restart QuickReminder to see the change in the program. Unfortunately, this change will affect all applications that use the locale's time format.

The other option is change the time format in the script to a 24-hour time format. Simply change format on this field from the default "Time" to "H:mm:ss" or "HH:mm:ss".

I hope this is helpful. Let me know if you have any other questions, problems, etc.


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 85 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6  Next

All times are UTC [ DST ]


Who is online

Users browsing this forum: Apollo, Bing [Bot], Rajat and 54 guests


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group