Welcome Guest.   Make a donation to an author on the site September 02, 2014, 06:42:30 AM  *

Please login or register.
Or did you miss your validation email?


Login with username and password (forgot your password?)
Why not become a lifetime supporting member of the site with a one-time donation of any amount? Your donation entitles you to a ton of additional benefits, including access to exclusive discounts and downloads, the ability to enter monthly free software drawings, and a single non-expiring license key for all of our programs.


You must sign up here before you can post and access some areas of the site. Registration is totally free and confidential.
 
View the new Member Awards and Badges page.
   
   Forum Home   Thread Marks Chat! Downloads Search Login Register  
Pages: Prev 1 2 [3] 4 5 6 Next   Go Down
  Reply  |  New Topic  |  Print  
Author Topic: Timer - closed  (Read 63160 times)
mouser
First Author
Administrator
*****
Posts: 33,294



see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #50 on: May 04, 2008, 11:11:00 AM »

if you have any other fscript-based plugins you might try moving them so you can test farr with just the timer plugin and nothing else, at least that would eliminate the possibility that the problem is caused by plugins.
Logged
Armando
Charter Member
***
Posts: 2,674



see users location on a map View Profile Give some DonationCredits to this forum member
« Reply #51 on: May 04, 2008, 11:21:49 AM »

Yes, I did that -- what I did is zipping all plugins, deleting them, and leaving only the timer plugin in the plugins folder. That didn't work either. Same problem.
Logged

"I suppose it can be said that I'm an absent-minded driver. It's true that I've driven through a number of red lights on occasion, but on the other hand, I've stopped at a lot of green ones but never gotten credit for it."
Glenn Gould
mouser
First Author
Administrator
*****
Posts: 33,294



see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #52 on: May 04, 2008, 11:53:18 AM »

czb,

here is an idea that is totally optional -- so only add it if you think it would be a good idea and easy:
"add a P)resets" item to top level, which would display a list from 0-9 of prefefined alarms the user could create, the contents of which would be read from a .txt file (presetalarams.txt).

So a user could edit the presetalarms.txt file like:
 in 1:00:00 Coffee Break Time
 in 10:00 Play Break Time

And when they type "tm p" it would show:
0) in 1:00:00 Coffee Break Time
1) in 10:00 Play Break Time

pressing a number would create that alarm.

---

it's just an idea, feel free to ignore it.



ps. I dont think the F)ind function serves much purpose for this plugin; i'm not sure when one would ever need it, so you might want to remove it from the listed features when you type "tm".  im sure it will come in handy in future plugins though smiley
Logged
mouser
First Author
Administrator
*****
Posts: 33,294



see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #53 on: May 04, 2008, 07:21:41 PM »

A preview screenshot of Timer plugin using the new AlertBox plugin api function being added to FARR:

Logged
czb
Moderator
*****
Posts: 335



see users location on a map View Profile WWW Give some DonationCredits to this forum member
« Reply #54 on: May 05, 2008, 02:00:47 AM »

Armando: I am lost with you. It actually seams to me that some activexobject doesnt work for you. I remember that you have had problems with new ActiveXObject("Scripting.FileSystemObject"); and now it seams that new ActiveXObject("InternetExplorer.Application"); does not work for you (that is why no window is displayed to you).
So try to reinstall Windows Script:
http://www.microsoft.com/...844D81&displaylang=en
Restart windows after reinstalling Wink

mouser: where can we get the new version of FARR?
In todotxt you can write something like p:something which means project something or you can write @something. I wanted to implement similar function which is find where you can create any mark like (xxx,yyy etc) and by typing it in every todo and by using function find you can select only some of your todos. Like you type "mum: call my mum tomorow" or "mum: give her flowers" etc and then you go to find and type "mum:" and it displays what all you have to do to your mum Wink Any other ideas are of course welcome Wink

And concerning presetalarams.txt I will add it to my todo list Wink

presetalarams.txt added Wink type number of some alarm and "p" to add to preset alarms. Type "p" on main menu to retrieve preset alarm or to delete one

edit: mouser:
Quote
Are you ready for a couple more really minor tweaks?
1) In the log you are listing all past alerts as [CANCELED], but i think ONLY the ones that the user DELETES should be marked as canceled.
2) In the log you are only showing the text associated with the event.  It would be nice if it showed the date+time as well as the tex
I did not get this. do you want to have active alarms in the log as well? all alarms showed in the log are canceled...
« Last Edit: May 05, 2008, 04:27:34 AM by czechboy » Logged

My open-source online piano game: http://musicope.com/
mouser
First Author
Administrator
*****
Posts: 33,294



see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #55 on: May 05, 2008, 04:55:17 AM »

Quote
I did not get this. do you want to have active alarms in the log as well? all alarms showed in the log are canceled...

yes it makes sense to me that the log is for all alarms, not just canceled ones.  at least that's what i thought would make sense.
Logged
Armando
Charter Member
***
Posts: 2,674



see users location on a map View Profile Give some DonationCredits to this forum member
« Reply #56 on: May 05, 2008, 09:21:14 AM »

czechboy : thank you so much !!! It works. And not only does your plugin now works (and it's a really nice one -- I love it), some other things that I was never able to get working work too!!!!!! Like a Word plugin called WordToys that I was never ever able to see in action (http://www.donationcoder....ic=9886.msg75957#msg75957 )... To my surprise, I fire up Word just to paste an article and... 1 new toolbar and about 25 new icons appear. Wow. What else have I been missing for all that time...  tellme

 Kiss
Logged

"I suppose it can be said that I'm an absent-minded driver. It's true that I've driven through a number of red lights on occasion, but on the other hand, I've stopped at a lot of green ones but never gotten credit for it."
Glenn Gould
tablaji
Participant
*
Posts: 10


View Profile WWW Give some DonationCredits to this forum member
« Reply #57 on: May 05, 2008, 09:22:10 AM »

This plugin does not work here. - if i try to "configure advanced plugin options", i only get a diaolg box with "cancel" and "ok" buttons, but nothing else. farr window reacts as expected when typing "tm" etc. but obviously, no timer is being started. "settings" cannot be invoked with "tm settings".
Doest the plugin need anything like .NET extensions (which are not installed here)?
Logged
Armando
Charter Member
***
Posts: 2,674



see users location on a map View Profile Give some DonationCredits to this forum member
« Reply #58 on: May 05, 2008, 09:24:37 AM »

Have you tried this ? Who knows...
Armando: I am lost with you. It actually seams to me that some activexobject doesnt work for you. I remember that you have had problems with new ActiveXObject("Scripting.FileSystemObject"); and now it seams that new ActiveXObject("InternetExplorer.Application"); does not work for you (that is why no window is displayed to you).
So try to reinstall Windows Script:
http://www.microsoft.com/...844D81&displaylang=en
Restart windows after reinstalling Wink
Logged

"I suppose it can be said that I'm an absent-minded driver. It's true that I've driven through a number of red lights on occasion, but on the other hand, I've stopped at a lot of green ones but never gotten credit for it."
Glenn Gould
mouser
First Author
Administrator
*****
Posts: 33,294



see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #59 on: May 05, 2008, 10:04:57 AM »

Quote
czechboy : thank you so much !!! It works. And not only does your plugin now works (and it's a really nice one -- I love it), some other things that I was never able to get working work too!!!!!!

very cool.
Logged
kartal
Supporting Member
**
Posts: 1,529


View Profile Give some DonationCredits to this forum member
« Reply #60 on: May 07, 2008, 01:18:35 PM »

I am having a small issue with presets and "in". It seems like if you use "in" as definition preset renders useless because it tries to save a spesific time rather than a countdown?
Logged
czb
Moderator
*****
Posts: 335



see users location on a map View Profile WWW Give some DonationCredits to this forum member
« Reply #61 on: May 08, 2008, 02:56:05 AM »

Yes you are right. The same is with at. It also saves as "on". I will try to fix it.

So I took a look at it and found out that it will not be that easy. Right now you can edit presetalarms.txt by yourself and add "in" or "at" and it will work.

In the plugin there is only one option right now how to add preset and it is by selecting an existing alarm. I do not think I can modify this to work with "in" and "at" but I can add option to "p" to add preset and there would be option to add "in" "on" "at". What do you think about this?

Or one could also add preset by typing f.e. ":p:" anywhere in the text (example: tm in 20 school :p: is fine) and if it finds :p:, it would add it to alarm + preset. Or there can be even other options how to add preset alarm. Just give me some hints how to implement it Wink
« Last Edit: May 08, 2008, 03:14:20 AM by czechboy » Logged

My open-source online piano game: http://musicope.com/
kartal
Supporting Member
**
Posts: 1,529


View Profile Give some DonationCredits to this forum member
« Reply #62 on: May 09, 2008, 02:05:50 AM »

Well I am fine with any solution that is not a hassle like editing a text file. Maybe we can have seperate presets for countdowns.

Overall the way I see is that unless it is stated timer should act as an alarm or coundown timer. That would decrease amount of parameters that one needs to remember or type. This may sound little too weird but I use if not hundreds tens of softwares everyday with many different variety so to me consistency and speed is very important. For example I know it is not your fault but I hate the "." it is just not a consistent software behaviour, just to finalize the timer. I love "tab" and that should be the standard behaviour for any function within Farr.

That is just me thou. Everyone has different needs.
Logged
czb
Moderator
*****
Posts: 335



see users location on a map View Profile WWW Give some DonationCredits to this forum member
« Reply #63 on: May 09, 2008, 03:05:57 AM »

Soon there will be an option for finalizing timer. What do you mean by "tab" do you want to have timer finalized by tab? I thought "enter" would be better option.

I think I will implement it this way because this is the simplest possible way smiley :
Quote
Or one could also add preset by typing f.e. ":p:" anywhere in the text (example: tm in 20 school :p: is fine) and if it finds :p:, it would add it to alarm + preset.
Logged

My open-source online piano game: http://musicope.com/
kartal
Supporting Member
**
Posts: 1,529


View Profile Give some DonationCredits to this forum member
« Reply #64 on: May 09, 2008, 10:51:26 AM »

"enter " is better than "." definetely.

Your implementation sounds good as well. As I said it is already well thought plugin smiley
Logged
czb
Moderator
*****
Posts: 335



see users location on a map View Profile WWW Give some DonationCredits to this forum member
« Reply #65 on: May 10, 2008, 02:26:40 PM »

So I have added preset adding option. Do not forget to run settings! Wink
Logged

My open-source online piano game: http://musicope.com/
kartal
Supporting Member
**
Posts: 1,529


View Profile Give some DonationCredits to this forum member
« Reply #66 on: May 10, 2008, 07:18:58 PM »

Thanks for the update. But I am little confused with the way it works,
"Preset alarm (Type in the text "undefined"): false" . How is this supposed to work? Sorry It is jut not that obvious to me  smiley

Logged
czb
Moderator
*****
Posts: 335



see users location on a map View Profile WWW Give some DonationCredits to this forum member
« Reply #67 on: May 11, 2008, 03:25:05 AM »

First of all run settings in order to change undefined to something reasonable.
So you start to type "in 20 school is great :p:" and in the moment it recognizes :p: (or what you define in settings) it will change from false to true.

BTW: I would realy appreciate if someone of you (native English speaker) could do corrections of all statements in the plugin. You can even rewrite them from scratch, so that it would look "profesionally" Thmbsup Or if it is better for you I can separate all statements into special file (like english.lng) so that corrections would be easier. Is here anybody who would like to do that? Cool
Logged

My open-source online piano game: http://musicope.com/
rjbull
Charter Member
***
Posts: 2,749

View Profile Give some DonationCredits to this forum member
« Reply #68 on: May 25, 2008, 11:02:52 AM »

type PERIOD (.) to add the timer.

czechboy,

Is that in the "online help?"  If not, please could you add it?  Thanks...

Logged
czb
Moderator
*****
Posts: 335



see users location on a map View Profile WWW Give some DonationCredits to this forum member
« Reply #69 on: May 25, 2008, 01:45:40 PM »

Soon all plugins are to be rewriten (due to HTML support and Enter support etc) so I will wait with modifing of my pages until I do that Wink
Logged

My open-source online piano game: http://musicope.com/
rjbull
Charter Member
***
Posts: 2,749

View Profile Give some DonationCredits to this forum member
« Reply #70 on: May 25, 2008, 02:38:46 PM »

OK, thanks.  As long as we know how to use it  Wink
Logged
Armando
Charter Member
***
Posts: 2,674



see users location on a map View Profile Give some DonationCredits to this forum member
« Reply #71 on: May 26, 2008, 10:32:38 AM »

czechboy : I see that all times options are related to a specific date and clock time, so if one wants to reuse the "in" type of timers (count down), it's not very convenient. It would be cool if "in" was not bound to a specific clock time.
Logged

"I suppose it can be said that I'm an absent-minded driver. It's true that I've driven through a number of red lights on occasion, but on the other hand, I've stopped at a lot of green ones but never gotten credit for it."
Glenn Gould
cranioscopical
Friend of the Site
Supporting Member
**
Posts: 4,167



see users location on a map View Profile Read user's biography. Give some DonationCredits to this forum member
« Reply #72 on: June 12, 2008, 12:06:10 AM »

I've had trouble getting 'tm' to work.
With the later versions of FARR I can sometimes get an alert window as expected,
but not every time.
If I say 'Yes' to 'Do you want to have alert spoken?' nothing ever appears. Entries are logged, though.

Any advice on what I should check into, in order to get a spoken alert?

Logged

Chris
jgpaiva
Global Moderator
*****
Posts: 4,710



Artificial Idiocy

see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #73 on: June 12, 2008, 05:44:45 AM »

I just found a small bug in Timer's regex.. It should be "^tm(.*)$", so that it doesn't capture "tm" inside other words Wink
Logged

czb
Moderator
*****
Posts: 335



see users location on a map View Profile WWW Give some DonationCredits to this forum member
« Reply #74 on: June 12, 2008, 10:12:43 AM »

cranioscopical: well maybe you can try to reinstall your sapi, but not sure if it solves the problem. I have tried talking warning and I have got "unknown exception" several times and suddenly now it works fine again. I have no idea why this happends but I have included try catch statement so in case of any error you will not loose your alert message Wink

jgpaiva: I use no regex. Do you mean regex should not be empty but with "^tm(.*)$" inside?
Logged

My open-source online piano game: http://musicope.com/
Pages: Prev 1 2 [3] 4 5 6 Next   Go Up
  Reply  |  New Topic  |  Print  
 
Jump to:  
   Forum Home   Thread Marks Chat! Downloads Search Login Register  

DonationCoder.com | About Us
DonationCoder.com Forum | Powered by SMF
[ Page time: 0.049s | Server load: 0.08 ]