That did the trick! I had a feeling something else had to be done but this shell stuff is new to me. Bit like .bat in Windows ;-)
Thanks again for your help!
Guus
Thanks again for your help!
Guus
These forums are now read-only. Please visit our new forums to participate in discussion. A new account will be required to post in the new forums. For more info on the switch, see this post. Thank you!
|
|
FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
Logging OmniFocus done items to DayOne through Hazel | Thread Tools | Search this Thread | Display Modes |
Member
2013-02-09, 02:06 AM
That did the trick! I had a feeling something else had to be done but this shell stuff is new to me. Bit like .bat in Windows ;-)
Thanks again for your help! Guus
Post 21
|
Member
2013-02-11, 07:43 AM
I cannot seem to get this working. I have DayOne installed & the CLI. I have downloaded the entire script & made it executable (having failed to get it working by embedding it); I have selected it in Hazel. When I complete a task in OF, nothing happens. I have tried running the rule from Hazel and stopping & restarting OF. No DoneToday.txt files have appeared. I don't know what I am doing wrong
Post 22
|
Guest
2013-02-11, 08:12 AM
Post 23
|
Guest
2013-02-11, 08:20 AM
Also, what happens if you run OmniFocusLogDone2DayOne.sh directly from the bash prompt in Terminal.app ?
Any error messages ? (Assuming you have made it executable with Code:
chmod +x filepath
Post 24
|
Member
2013-02-11, 08:37 AM
I have made the script executable as per your instructions.
Nothing happens when I try to run it. My rule is identical except for the title:Log OmniFocus items done today to DayOne How do I test the CLI?
Post 25
|
Guest
2013-02-11, 08:44 AM
Quote:
Depending on where you have installed it to, you should be able to use a command line like: Code:
/usr/local/bin/dayone What command line did you use to check the script from Terminal.app ? Did it generate no error messages ? That would indicate that it is essentially running.
Post 26
|
Member
2013-02-11, 08:50 AM
This is the reply generated by entering the code above:
Last login: Mon Feb 11 16:27:34 on ttys000 Bill-Westwoods-MacBook-Pro:~ billwestwood$ /usr/local/bin/dayone Usage: dayone [-d=<date>] [-s=true|false] [-p=<path>] [-j=<path>] [-h] <command> Options: -d, --date=<date> Creation date of the entry. -s, --starred=true|false Starred value. -p, --photo-file=<path> File path to a photo to attach to entry. -j, --journal-file=<path> Location of Day One Journal file. -h, --help Show this information. Commands: new Adds a new entry using text from stdin Examples: dayone new Waits for you type something and then creates a new entry in the default journal echo "Hello World" | dayone new Creates a new entry containing the specified text dayone new < ~/Desktop/note.txt Creates a new entry containing the contents of the file note.txt
Post 27
|
Guest
2013-02-11, 08:56 AM
Good, so the CLI is running, and, as before:
What command line did you use to check the script from Terminal.app ?Did it generate no error messages ? (That would indicate that it is essentially running.)
Post 28
|
Member
2013-02-11, 09:30 AM
Sorry, but I don't know how to do that
Post 29
|
Guest
2013-02-11, 11:41 AM
Two stages:
1. Make the .sh file executable 2. Run it from the command line. Make the .sh file executable
Run it from the command line
Post 30
|
Thread Tools | Search this Thread |
Display Modes | |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Automatic Exporting via Hazel | varyags | OmniGraffle General | 0 | 2012-03-22 11:43 AM |
OmniWeb Download + Hazel | halbtuerke | OmniWeb Feature Requests | 10 | 2008-05-03 01:49 PM |
Time logging | Finlay Boo | OmniFocus 1 for Mac | 5 | 2008-03-12 12:02 PM |
Logging into eBay Twice | Kazammm | OmniWeb Bug Reports | 4 | 2008-03-04 12:19 PM |
Suggestion: Logging! | seebs | OmniFocus 1 for Mac | 0 | 2007-09-19 04:55 AM |