Yes, I think you should be able to do much of this now with Clockwork and the existing Hog Bay Notebook by using applescript. I’ve attached a script, but I wouldn’t really call it a solution yet… but I hope it will illustrate what’s possible.
You can learn a little more about the script on this page at the second “Second Clockwork can call your scripts when certain events happen” script. To use the script:
- Open Clockwork and choose the item “Open Scripts Folder” from the applescript menu.
- Unzip and then place the attached script on that folder.
- Might have to quit and then restart Clockwork.
- Create a new Stopwatch timer and name it “My Project”
- Choose the menu View > Show Info Drawer
- Check the alarm action “Synch with Hog Bay Notebook”, that action was added when you copied the script to the scripts folder.
- Now open Hog Bay Notebook and create a new entry named “My Project”
- And last of all create a custom column named “Completed”.
Phew.
Ok, now when you select the timers in Clockwork the corresponding entry should also get selected in Hog Bay Notebook, yeah! And when you start and then stop that timer in Clockwork the “Completed” column in Hog Bay Notebook will get updated with the total number of minutes that have been completed.
This is a rather messy solution, but I hope it gets you started. I’ll be making this a bit easier to do as I progress on Forest.
Jesse
| Attachment | Size |
|---|---|
| Synch with Hog Bay Notebook.scpt.zip | 3.15 KB |
Unable to access Alarm Actions
I'm glad this is the direction you are hoping to head with your software. You've got my attention now. And thank you also for responding so quickly with the AppleScript.
However, I ran into a problem with selecting Alarm Actions. The actions appear to be locked (greyed, dimmed), and I wonder if this has to do with features locked before purchasing the license. If this feature was supposed to unlock when dragging the license over the application, it doesn't appear to have worked. I tried deleting preferences and data from Library/Application Support/Clockwork, starting with a new install of Clockwork and renewing the license by dragging the .clockworklicense file over the newly installed application. Still the same problem. Anything I can do?
Edit: Oops! I had the mode set to Stopwatch. I have solved the problem by switching the mode back to Alarm. I knew I had seen this feature before, but I couldn't figure out how to reenable it.