Hi & good day,
Dayone is an application. It is a diary.
The script is supposed to collect data from OmniFocus and send it to Dayone.
with best regards, Omar K N Stockholm, Sweden
As far as I know, dayone is not a command installed by default in OS X. Check if it's an extraneous component of OmniFocus or from an other source.
I apologize. There is an application named Dayone but it's not this one which the Shell script is calling.
May you read carefully the code which you are trying to use ? It contain :
-- Modify "/usr/local/bin/dayone/dayone" to "/usr/local/bin/dayone" if you didn't screw it up like I did. set destnpath to (quoted form of "/usr/local/bin/dayone new") set myshellscript to "echo " & (quoted form of ExportList) & "|tr -d \"\\t\"| " & destnpath do shell script myshellscript password “XXXX" with administrator privileges
This means that you are trying to use a command stored as : "/usr/local/bin/dayone new"
The error message claims : OmniFocus got an error: /bin/sh: /usr/local/bin/dayone: No such file or dir.
So it seems that somewhere a piece of code is trying to use a command whose path is : /usr/local/bin/dayone which it doesn't find.
May you check if the files: /usr/local/bin/dayone new and /usr/local/bin/dayone really exist on your machine ?
I must apologize for my late message in which I forgot that when you defined destnpath you already quoted the string.
Yvan KOENIG (VALLAURIS, France) jeudi 18 septembre 2014 18:09:25
|