• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: AppleScript-Users Digest, Vol 11, Issue 349
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: AppleScript-Users Digest, Vol 11, Issue 349


  • Subject: Re: AppleScript-Users Digest, Vol 11, Issue 349
  • From: "koenig.yvan" <email@hidden>
  • Date: Thu, 18 Sep 2014 18:09:32 +0200


Le 18 09 2014 à 17:56, Omar K N <email@hidden> a écrit :


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

On 18 Sep 2014, at 16:50, email@hidden wrote:

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



 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

References: 
 >Re: AppleScript-Users Digest, Vol 11, Issue 349 (From: Omar K N <email@hidden>)

  • Prev by Date: Re: AppleScript-Users Digest, Vol 11, Issue 349
  • Next by Date: Re: AppleScript-Users Digest, Vol 11, Issue 349
  • Previous by thread: Re: AppleScript-Users Digest, Vol 11, Issue 349
  • Next by thread: Re: AppleScript-Users Digest, Vol 11, Issue 349
  • Index(es):
    • Date
    • Thread