Jump to content

Alfred Time Keeper


Recommended Posts

Hi,

 

I just whipped up this small application inside of Alfred. It allows you to have multiple projects that you keep your times for. I am planning more for this in the future, but it is very usable as it is. Let me know what you think! You can download this and my other workflows here:

 

https://github.com/raguay/MyAlfred

 

I have more documentation and in the future some tutorials at my web site: http://customct.com

 

All of the workflows now incorporate AlleyOop and can be updated using that workflow. Therefore, if you have already installed these workflows, please install the current version so that future updates will be easier.

 

Latest version: 1.93  06/20/2013

Edited by raguay.customct
Link to comment

Hi,

 

Thanks for sharing this. It is very helpful.

 

I have some warning messages that prevent me to see the outputs:

 

 

Warning: strtotime(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Berlin' for 'CET/1.0/no DST' instead in Command line code on line 9
 
Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Berlin' for 'CET/1.0/no DST' instead in Command line code on line 9
00:03:23
 
Any idea how to fix this.
 
Cheers
Link to comment

Hi,

 

Thanks for sharing this. It is very helpful.

 

I have some warning messages that prevent me to see the outputs:

 

 

Warning: strtotime(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Berlin' for 'CET/1.0/no DST' instead in Command line code on line 9
 
Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Berlin' for 'CET/1.0/no DST' instead in Command line code on line 9
00:03:23
 
Any idea how to fix this.
 
Cheers

 

Redownload and install the lastest version. It should fix that problem. If not, please let me know.

Link to comment
  • 1 month later...

Hi! Thank you for your efforts!

I just added your workflow to my daily routine and it's way more convenient than other programs I used before!

 

However, I've two smaller issues...

The first one is similar to vdesabou's - I receive following 'error message' after setting a project:

 

"Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Berlin' for 'CEST/2.0/DST' instead in Command line code on line 11"
 
Second issue is:
vmonth shows me the correct time spent for a certain project.
vweek only shows 00:00:00.
 
Any ideas? 
 
Kind regards and thank you in advance, Christian
Link to comment

Thank you for this awesome workflow!

 

I have replaced your Icon in my copy, because i do not like Icons with non-transparent backgrounds  :rolleyes:

 

HourGlas.png

 

You can use it if you like for your Workflow. I made it by myself and "release" it without any copyright...  ;)

Link to comment
  • 3 weeks later...
  • 1 month later...

I just did an update to replace the PHP script filters with executables written in go. As such, it is now larger but faster. I compiled them on an amd64 Mac OSX 10.8.4 system. Please try it out and see how it runs on your system. I am still fairly new to the go language and I am not sure if it requires libraries to be loaded or not. I believe not.

Link to comment

Hi, just pushed the change to TimeKeeper to conditionally create the project list for setting the current project based on the string given by the user. Also, it should not just dump into default search when the user has no output from the letters given in the search. Try it out and let me know if anyone has any problems.

Link to comment

Hi, just fixed a small bug in the base goAlfred library. If the conditional adding of a result list ends up not adding anything, before the default message would be accepted as a project. It now will not and it will not fall through to default search either. Test it out and let me know if you see any problems. 

Link to comment

This workflow looks promising. However, after installing it, I can't seem to add a first project. An error occurs when using ATK:addproject projectname. I get a growl notification saying "Could not open the projects file: /Users/myuser/Library/Application Support/Alfr..." and then unfortunately the actual filename is cutoff due to its length. When drilling into the folder  "/Users/myuser/Library/Application Support/Alfred 2/Workflow Data/com.customct.AlfredTimeKeeper/" I find that it is empty. Can you help?

Link to comment

This workflow looks promising. However, after installing it, I can't seem to add a first project. An error occurs when using ATK:addproject projectname. I get a growl notification saying "Could not open the projects file: /Users/myuser/Library/Application Support/Alfr..." and then unfortunately the actual filename is cutoff due to its length. When drilling into the folder  "/Users/myuser/Library/Application Support/Alfred 2/Workflow Data/com.customct.AlfredTimeKeeper/" I find that it is empty. Can you help?

 

Hi,

 

Found the bug. I forgot the creation flag. The goAlfred program for that functionality now works. Please give it a try and let me know if it helps. Thanks for letting me know.

Link to comment

Thank you for responding. I can now enter a project using addproject, and the new projects appears in the projects.txt file. However, when I choose to use that project using the ATK:project command, while the added project appears in the list, I get the error "Can [sic] not read the projects file." 

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...