Re: Applescript to apply labels

2007-06-14 Thread Niels Kobschätzki

On 6/14/07, Arvid Warnecke <[EMAIL PROTECTED]> wrote:

Hello,


On 6/14/07, Niels Kobschätzki <[EMAIL PROTECTED]> wrote:
> On 6/14/07, Arvid Warnecke <[EMAIL PROTECTED]> wrote:
> > 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.
>
> Just open the AppleScript-Dictionary in ScriptEditor (cmd+shift+o).
>
thank you, Niels. That helped a lot.
I have to admit that I am not too familiar with the ScriptEditor either. ;-)


I don't know with what you write your scripts. I don't know about
BBEdit  but in TextMate with the AppleScript-bundle you can ctrl+h on
an application-name in a script and it'll open the Script-Editor with
the appropriate dictionary as well.

Niels

--
--
This message is sent to you because you are subscribed to
 the mailing list .
To unsubscribe, send mail to: <[EMAIL PROTECTED]>
List archives:  
Have a feature request, or not sure if the software's working
correctly? Please send mail to: <[EMAIL PROTECTED]>


Re: Applescript to apply labels

2007-06-14 Thread Arvid Warnecke

Hello,


On 6/14/07, Niels Kobschätzki <[EMAIL PROTECTED]> wrote:

On 6/14/07, Arvid Warnecke <[EMAIL PROTECTED]> wrote:
> 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.

Just open the AppleScript-Dictionary in ScriptEditor (cmd+shift+o).


thank you, Niels. That helped a lot.
I have to admit that I am not too familiar with the ScriptEditor either. ;-)

Cheers,
Arvid

--
--
This message is sent to you because you are subscribed to
 the mailing list .
To unsubscribe, send mail to: <[EMAIL PROTECTED]>
List archives:  
Have a feature request, or not sure if the software's working
correctly? Please send mail to: <[EMAIL PROTECTED]>


Re: Applescript to apply labels

2007-06-14 Thread Jim DeVona

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 .
To unsubscribe, send mail to: <[EMAIL PROTECTED]>
List archives:  
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 .
To unsubscribe, send mail to: <[EMAIL PROTECTED]>
List archives:  
Have a feature request, or not sure if the software's working 
correctly? Please send mail to: <[EMAIL PROTECTED]>


Re: Applescript to apply labels

2007-06-14 Thread Niels Kobschätzki

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 .
To unsubscribe, send mail to: <[EMAIL PROTECTED]>
List archives:  
Have a feature request, or not sure if the software's working 
correctly? Please send mail to: <[EMAIL PROTECTED]>


Applescript to apply labels

2007-06-14 Thread Arvid Warnecke

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?


Cheers,

Arvid

--
--
This message is sent to you because you are subscribed to
 the mailing list .
To unsubscribe, send mail to: <[EMAIL PROTECTED]>
List archives:  
Have a feature request, or not sure if the software's working 
correctly? Please send mail to: <[EMAIL PROTECTED]>