andreashofmann / autofocusahk Goto Github PK
View Code? Open in Web Editor NEWA simple tool based on Mark Forster's Autofocus Time Management System.
License: Other
A simple tool based on Mark Forster's Autofocus Time Management System.
License: Other
AutofocusAHK ------------ A simple todo list tool based on Mark Forster's Autofocus Time Management System - see http://www.markforster.net/autofocus-index/ for an overview. Written in AutoHotkey. Installation ------------ 1. Unzip 2. Start "AutofocusAHK.exe" Compile from Source ------------------- 1. Download and install Autohotkey from http://www.autohotkey.com 2. Download AutofocusAHK source from GitHub 3. Right-click on "AutofocusAHK.ahk" and select "Compile Script" from the context menu. Usage ----- This application uses CapsLock as a hotkey. If you need CapsLock for some reason, you must change the hotkeys in the configuration file. CapsLock + a Add a task CapsLock + s Show the next tasks and tasks on notice for review CapsLock + d Start/Stop Working CapsLock + f Search task list, jump to task CapsLock + e Export list to HTML CapsLock + p Show preferences CapsLock + r Reload the tasks list from Tasks.txt CapsLock + q Quit the application Configuration ------------- Edit AutofocusAHK.ini (created on first start) to change how the application behaves. Some of these settings can also be changed in the preferences window. Sample ini file: [General] System=AF4 StartWithWindows=0 DoBackups=1 BackupsToKeep=10 TicklerPrefix=* [ReviewMode] LastRoutine=20091120 StartRoutineAt=6 [ForwardMode] TasksPerPage=15 [HotKeys] HKAddTask=CapsLock & a HKWork=CapsLock & d HKShowNextTasks=CapsLock & s HKExport=CapsLock & e HKPreferences=CapsLock & p System Which time management system will be used? Valid values are "AF1", "AF2", "AF3", and "AF4". As of version 0.9.1, AF4 will be the default system. DoBackups 1: Do daily automatic backups (in sub folder "Backups"), 0: don't do backups BackupsToKeep Number of backups that should be kept. Default value is 10. LastRoutine Date when the last morning routine was executed. Updated autmatically. If you want to execute the routine for a second time, set this value to a earlier date and restart the application. StartRoutineAt Time (hour) when the morning routine takes place. Value from 0 to 23. TasksPerPage Number of tasks on one "page". This plays a major role with systems that use pages as units (AF1 and AF3), but also has other effects (for example, in AF4 the list will be closed the first time when there are more tasks than this number). TicklerPrefix Letter or Word that tickled tasks should be prefixed with (Must be added manually) HotKeys Change the hotkeys. Follows AutoHotkey rules, see http://www.autohotkey.com/docs/Hotkeys.htm Examples: #q Hold Win and press q ^!{Tab} Hold Ctrl+Alt and press Tab #^+t Hold Win+Ctrl+Shift and press t CapsLock & a Hold CapsLock and press a
Ability to show/hide tasks that are done, on review and/or unactioned in the exported HTML file
Free editable notes field for each task
Use the search function not to jump to a specific task, but to define a filter condition.
Modification of AF1 by AndreasE. Looks nice.
There's a chance of Tasks-2010-03-08-09-11-01.html created/exported at 09:11:01 this morning being overwritten by another export at 21:11:01 tonight.
In addition to the notes field: One url field per task. If you decide to work on the task, the url gets opened in the default browser. Bonus: if you are in your browser while adding a task, the url of the website you're on gets auto-copied.
When tasks expire, a pop up windows lists the tasks that expired. It should only list unactioned tasks, but currently lists all tasks that expired that day, even those already done.
When the list becomes empty, something goes wrong in the find next task routine in AF1 mode and the AutofocusAHK.exe process starts taking up more and more RAM.
Title says it all. ;-)
The tasks.txt file is constantly growing. This increases loading times and clutters the HTML export file. There should be an option to automatically or manually remove done/dismissed tasks from the list and save them in a separate archive file. This should be done in without changing the structure of the list (for example, only whole pages should be removed so the contents of the pages don't change).
You get Task Info window from "More" button on Status/Timer window.
In Task Info window ...
(1) If you delete the URL until blank, close window, open again you'll see the original URL.
(2) If you just put a single space in the URL, it does blank it. But that " " URL will cause execution error when you next work on that task.
(3) If you open Task Info window, then click "Stop" on Status/Time window, it doesn't close the Task Info automatically.
(4) If you forgot and continued with 3, then work on next task while having previous Task Info window open, the Notes & URL from the previous task will overwrite Notes & URL of current task being worked on.
Looking at http://github.com/andreashofmann/AutofocusAHK/blob/d2694200434e9fd5bfbe34c14c4ce62d8c3b4d39/AutofocusAHK-system.ahk , I see most of the source code are using hard tabs. However, I see the recent changes are using "two spaces" tabs, which are quite distinct since the browser defaults to showing hard tabs at every 8 chars. We need to be consistent in using either hard tabs or spaces tabs for indentation, right?
Currently, the "show tasks" window (CapsLock+s) is pretty much useless. Using the HTML export (CapsLock+e) gives a better overview over the complete list, searching (CapsLock+f) allows fast jumping around, but does not adher to the rules of the selected task management system. The "show tasks" window should give a good overview and fast navigation, while being aware of the underlying task management system and its rules.
You get Task Info window from "More" button on Status/Timer window.
In Task Info window ...
(1) If you delete the URL until blank, close window, open again you'll see the original URL.
(2) If you just put a single space in the URL, it does blank it. But that " " URL will cause execution error when you next work on that task.
(3) If you open Task Info window, then click "Stop" on Status/Time window, it doesn't close the Task Info automatically.
(4) If you forgot and continued with #3, then work on next task while having previous Task Info window open, the Notes & URL from the previous task will overwrite Notes & URL of current task being worked on.
Currently a timer counts the total time you worked on a task. There could be an option to replace this with a countdown timer over a specified amount of time. At the end of the countdown, the applications asks the user whether he wants to stop working on that task or needs another countdown. Optionally, there could be enforced breaks.
Expiration should happen on loading the task list or as part of the daily routine. The latter isn't working, you have to exit an restart or reload (CapsLock+r) for tasks to expire.
Hi Andreas
It would be nice if some tasks - I'm thinking of "check email" or "clear desk" - could automatically add themselves when they are completed (maybe with an Auto-add checkbox or something like that).
Sorry to be greedy, I know I just asked for another feature a few hours ago!
Thanks for being so helpful!
In v0.9.5.1 and 0.9.5.2 cannot erase URL that have been included in URL field in "more" and task info windows. If you save a blank URL input, the old URL will be retained. Current workaround is just to enter either a "C:" or just a "." in the URL field.
Request by vegheadjones -- It would be great to have a way to hide thetimer bar until I am ready to access it again. On sometasks it is good to see how much time I am spending on it, but not all tasks.
In v0.9.4.5 we have these new tweaks ...
I think a common case would also be for tasks "AlreadyDone" needing to be "Re-Add". So perhaps, an additional "Re-Add" button can be included to the right of "AlreadyDone" button.
For a simpler StatusTimer windows, I do not mind removing the "Re-Add" button there. Since just a click on "Stop" then "Yes", will re-add the task too.
Two way synchonization with a web application, for example http://autofocus.cc
Ability to create ticklers - tasks that are not immediately added to the list, but at a specific time or at specific intervals
Allow multiple, semicolon-separated urls instead of just one.
Some features I'd love to see in Caps-D window while working DWM list:
(1) Show/notify task that fresh added or re-entered today, in addition to the expiry date.
(2) Show current task number, and the number of cycles through the list for the day.
Sometimes, the application seems to "forget" that a window is open and it opens another one when the hotkey is pressed.
through text and/or color
State is ignored -- URL is always used regardless of state of checkbox
A digital implementation of DIT2/AF5 (as far as it stands for now) should be easy.
When I added the search, it only worked with the mouse. Then I added keyboard controls, which I now use exclusively. So I didn't notice until now that clicking into the search results isn't working as expected - the task selection jumps to the bottom and the focus does not return to the input box.
In AF2 and AF3, one always starts from the bottom of the list. In AF1 (and AF4), one should continue from the task where one left off. Currently the application simply starts from the top of the list for AF1.
I ported the "Change to Review Mode" from AF3/RAF back to AF1 and AF2, but in AF1 it can take quite some time to get to it. Might be a good thing, but it wouldn't hurt to have the option to start a manual review via hotkey.
I thought the .ini file was supposed to be in the same directory as the program. It isn't there. There is no file with the tasks. But the program must be storing them somewhere because the program works! However, when I press capslock+e I get a web page saying: "Firefox can't find the file at /C:/Program Files (x86)/Autofocus/Export/Tasks-.html."
So I suppose the program is storing them somewhere else. But I can't find them. I'm using Windows 7.
Currently if you do the task selected in Caps-F window, it will reset the current task to it, and short-circuit the cycling through the tasks. Perhaps, it's better that Caps-F does not reset the current task number. So after a Caps-F, when you do Caps-D it will continue from last Caps-D task.
This could be an option setting in the INI file though.
Since AF4 has no manual review mode, tasks marked for review should be reviewed when you get to them the next time after marking them. This does not happen.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.