Hi & good day,
What is still a problem in the AScr. is there a path problem?
Because I get the error message:
--------------------------------..————————————————
OmniFocus got an error: /bin/sh: /usr/local/bin/dayone: No such file or dir.
(application OmniFocus)
--------------------------------..————————————————
Do I have to specify a path for OmniFocus?
BTW; when trying to add a “/“ at the end of the above path, the whole path disintegrates to only “/bin” or such.
Any assistance welcome.
with best regards,
Omar K N
Stockholm, Sweden
script by Jered Benoit is below:
--------------------------------..————————————————
…
-- 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