So for example, to create a new note with the label "To do" (one of
the default label names), you might try this:
tell application "Yojimbo" to make new note item with properties
{name:"Title", contents:"Data", label name:"To do"}
That should all be on one line; GMail might wrap it.
Jim
On 6/14/07, Niels Kobschätzki <[EMAIL PROTECTED]> wrote:
On 6/14/07, Arvid Warnecke <[EMAIL PROTECTED]> wrote:
> Hello,
>
> I am new to Yojimbo and still trying to figure out if I'd like to use
> it. I found some interesting mail-to-yojimbo scripts on the list, that
> might help a lot. But I missed the possibility to add a label to that
> new note.
> All I tried I did not make it work myself. Is it possible to add a
> label with applescript to the note. Is it possible? Is there a
> reference available somewhere how to talk to yojimbo via applescript?
Just open the AppleScript-Dictionary in ScriptEditor (cmd+shift+o).
The dictionary states the following:
label n [inh. item] : A label.
elements
contained by application.
properties
name (text) : The label's name.
id (text, r/o) : The unique identifier of the label.
color (color) : The label's color.
Cheers,
Niels
--
------------------------------------------------------------------
This message is sent to you because you are subscribed to
the mailing list <yojimbo-talk@barebones.com>.
To unsubscribe, send mail to: <[EMAIL PROTECTED]>
List archives: <http://www.listsearch.com/yojimbotalk.lasso>
Have a feature request, or not sure if the software's working
correctly? Please send mail to: <[EMAIL PROTECTED]>
--
------------------------------------------------------------------
This message is sent to you because you are subscribed to
the mailing list <yojimbo-talk@barebones.com>.
To unsubscribe, send mail to: <[EMAIL PROTECTED]>
List archives: <http://www.listsearch.com/yojimbotalk.lasso>
Have a feature request, or not sure if the software's working
correctly? Please send mail to: <[EMAIL PROTECTED]>