topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Thursday December 12, 2024, 3:52 pm
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Last post Author Topic: Timer - closed  (Read 124419 times)

czb

  • Honorary Member
  • Joined in 2007
  • **
  • Posts: 336
    • View Profile
    • My open-source online piano game
    • Donate to Member
Timer - closed
« on: May 02, 2008, 05:40 AM »
This topic has been discontinued.

Please follow the link to the new location:

https://www.donation...ex.php?topic=17153.0
My open-source online piano game: https://github.com/musicope/game
« Last Edit: March 03, 2009, 03:18 AM by czb »

jgpaiva

  • Global Moderator
  • Joined in 2006
  • *****
  • Posts: 4,727
    • View Profile
    • Donate to Member
Re: Timer
« Reply #1 on: May 02, 2008, 07:19 AM »
I've just watched the video.

That's pretty impressive, i'm now off to try it! :P

CWuestefeld

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 1,009
    • View Profile
    • Donate to Member
Re: Timer
« Reply #2 on: May 02, 2008, 07:54 AM »
Nice one.

Is it correct to unzip into the FARR plugins directory, and copy the Timer.dcupdate file over into DcUpdater\Installables directory?

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,914
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: Timer
« Reply #3 on: May 02, 2008, 08:02 AM »
and copy the Timer.dcupdate file over into DcUpdater\Installables directory?

no.  leave the dcupdate file where it is in the plugin's directory -- it will be found by the updater when it checks for updates to Find+Run Robot.

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,914
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: Timer
« Reply #4 on: May 02, 2008, 08:36 AM »
Holy cow this is cool!
Very well done and simple and fun to use, with some cool options.

Tip: look at the example text given for each type of timer.  I was a bit lost until i realized i had to put a period after the values to finalize and store your timer, until you do that it's not stored/activated.

czb

  • Honorary Member
  • Joined in 2007
  • **
  • Posts: 336
    • View Profile
    • My open-source online piano game
    • Donate to Member
Re: Timer
« Reply #5 on: May 02, 2008, 08:41 AM »
Yeah... it is the "enter" problem  :-[
My open-source online piano game: https://github.com/musicope/game

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,914
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: Timer
« Reply #6 on: May 02, 2008, 08:47 AM »
Is there a way to delete a timer?

Very minor suggestions for improvement:
1) an option to play a nice little alarm wav file (letting user customize and override a default wav file would be nice but not nesc.)
2) when user clicks Advanced options in FARR plugin configuration dialog it should show settings.
3) provide a way to delete timers.
4) I noticed that you can do tm # to show details about a timer including the amount of time until it triggers (really cool!).  i wonder if it might be nice to have an option to show this info on the main tm listing of timers (this might require 2 rows per timer entry) -- this is just an idea im not sure if it's a good one.
5) the example text for setting a "tm on" date says to use . to separate the day,month,year but this is clearly wrong and will result in prematurely setting the timer.  hitting a period after only typing a day or month should not trigger adding the timer since its an invalid date.
6) it would be nice if there was either an option or an alternate input format (such as using DAY-MONTH-YEAR vs. MONTH/DAY/YEAR) for crazy americans.

But I have to say this is a wonderful plugin.

It's also definitely convinced me to add the plugin api function that will have FARR inform the active plugin about idle time intervals, so that you could have the memo listing the timer countdowns be "live" and dynamically updated as long as the memo is on screen.

czb

  • Honorary Member
  • Joined in 2007
  • **
  • Posts: 336
    • View Profile
    • My open-source online piano game
    • Donate to Member
Re: Timer
« Reply #7 on: May 02, 2008, 08:59 AM »
0) Well not for now, I often delete something and then realize that I want it back ;D So I decided not to add this option. (you can always delete archive.txt)
1) I use FARR.debug for alert window and as far as I know it is not possible to change wav there. I am thinking of using other way of alerting (like to open FARR window and display the alert there), then it would be possible ;) If there are no other suggestions then I will use FARR as alert window rather then FARR.debug but it will take some time to code it
2) I do not know how to do so... I will have to find out if it is possible
3) Yeah... maybe... :P
4) I would not want it, but if you like it I can add it as option
5) Hups... I will correct it (actualy when "enter" option is available, dot (period) will be one of separator options)
6) Ok... will do as option in the future ;)

7) Well, actualy I think it is already possible now, because there is an setInterval function in javascript SDK, so I add it to my todo list :)
My open-source online piano game: https://github.com/musicope/game

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,914
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: Timer
« Reply #8 on: May 02, 2008, 09:02 AM »
3) Yeah... maybe...

right now you have a nice menu shown to user when they select the timer:
Alert in 1 Days 14 Hours 58 Minutes 22 Seconds
=========================
A) Archive

Why not just add:
D) Delete

to let them delete it.

If you wanted to get fancy you could even add a:
R) Replace

Which basically would just delete it an add text in search edit which repeated the original timer line used to add it, which would let user quickly change something and re-add.  just an idea.

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,914
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: Timer
« Reply #9 on: May 02, 2008, 09:05 AM »
i dont mind having to edit archive.text to manually delete items from the archive.
i just think you need a way to delete a timer once you set it!



I use FARR.debug for alert window and as far as I know it is not possible to change wav there.
i meant that in the settings page where you let users configure how the timer plugin works, you could let them override a path to a custom .wav file.

czb

  • Honorary Member
  • Joined in 2007
  • **
  • Posts: 336
    • View Profile
    • My open-source online piano game
    • Donate to Member
Re: Timer
« Reply #10 on: May 02, 2008, 09:25 AM »
ok ;) I will add those options. Btw: if you set timer and then archive it, it will not alert anymore ;)

i meant that in the settings page where you let users configure how the timer plugin works, you could let them override a path to a custom .wav file.

I still did not get it :-[ , which .wav file do you mean? You mean what you hear when FARR.debug window appears?
My open-source online piano game: https://github.com/musicope/game

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,914
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: Timer
« Reply #11 on: May 02, 2008, 09:35 AM »
when an alarm goes off the sound played should be a nice wave file.

czb

  • Honorary Member
  • Joined in 2007
  • **
  • Posts: 336
    • View Profile
    • My open-source online piano game
    • Donate to Member
Re: Timer
« Reply #12 on: May 02, 2008, 09:43 AM »
Ok. it is managed by FARR.debug, so I can not do anything about it right now. The only way is not to use FARR.debug ;)

BTW: I have uploaded new version. I have corrected there the period display error and you can also open settings via advanced plugin options. You just have to click OK in the first window (I know it is just workaround, but there is no direct callable function in JS SDK)
My open-source online piano game: https://github.com/musicope/game

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,914
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: Timer
« Reply #13 on: May 02, 2008, 09:47 AM »
Ok. it is managed by FARR.debug, so I can not do anything about it right now. The only way is not to use FARR.debug

you could just play a wav file from your javascript before showing the message, no?

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,914
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: Timer
« Reply #14 on: May 02, 2008, 09:47 AM »
ps. i love this timer plugin.  very convenient.

czb

  • Honorary Member
  • Joined in 2007
  • **
  • Posts: 336
    • View Profile
    • My open-source online piano game
    • Donate to Member
Re: Timer
« Reply #15 on: May 02, 2008, 10:08 AM »
Yeah could be an option ;) I will see what I can do about it.
Here
http://czb.dcmembers.com/Timer.html
I have uploaded new video (not better but faster ;) )
My open-source online piano game: https://github.com/musicope/game

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,914
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: Timer
« Reply #16 on: May 02, 2008, 10:16 AM »
nice video demo.

i have to say it again, this plugin is just wonderful.

fun idea: in status bar instead of showing "Timer" when you type tm, how about showing the current date+time (e.g. "Timer - May 02, 2008 - 10:16 am") and maybe even if you feel like it showing the time until the nearest alarm(?).

czb

  • Honorary Member
  • Joined in 2007
  • **
  • Posts: 336
    • View Profile
    • My open-source online piano game
    • Donate to Member
Re: Timer
« Reply #17 on: May 02, 2008, 10:28 AM »
Great ideas.. I have added wav option so check it out. Keep in mind that you have to rerun settings otherwise you might get an error.
My open-source online piano game: https://github.com/musicope/game

kartal

  • Supporting Member
  • Joined in 2008
  • **
  • Posts: 1,529
    • View Profile
    • Donate to Member
Re: Timer
« Reply #18 on: May 02, 2008, 10:29 AM »
I am following the video but I cannot store anything. I tried space and enter unsuccessfully?

Btw for quicker countdown and timer I use this one with Farr

http://www.programurl.com/1time.htm
« Last Edit: May 02, 2008, 10:35 AM by kartal »

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,914
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: Timer
« Reply #19 on: May 02, 2008, 10:31 AM »
type PERIOD (.) to add the timer.

kartal

  • Supporting Member
  • Joined in 2008
  • **
  • Posts: 1,529
    • View Profile
    • Donate to Member
Re: Timer
« Reply #20 on: May 02, 2008, 01:18 PM »
thanks, it works now.
I have a quick request thou. It would be great if there is temporary timer as well, something like one time usage quick timer setting.

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,914
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: Timer
« Reply #21 on: May 02, 2008, 05:03 PM »
aren't they all quick one time usage timers? (unless you archive them explicitly)

kartal

  • Supporting Member
  • Joined in 2008
  • **
  • Posts: 1,529
    • View Profile
    • Donate to Member
Re: Timer
« Reply #22 on: May 02, 2008, 06:58 PM »
Ahh I miss that one I guess. In the video it looked like it was archieved

Btw how do you stop a timer? :)

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,914
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: Timer
« Reply #23 on: May 02, 2008, 09:03 PM »
Btw how do you stop a timer?


that's what i was requesting, a way to delete timers.  i think czechboy is just one of those perfect people who never makes a mistake and sets a timer he needs to cancel, so the idea of deleting a timer before it's time just never occurred to him :)

kartal

  • Supporting Member
  • Joined in 2008
  • **
  • Posts: 1,529
    • View Profile
    • Donate to Member
Re: Timer
« Reply #24 on: May 02, 2008, 09:44 PM »
I think that perfection is a matter of perception so please give us a way to stop and delete them :)