Re: rclick on @button defined in myLeoSettings

2011-07-21 Thread Kent Tenney
On Wed, Jul 20, 2011 at 4:52 PM, Terry Brown terry_n_br...@yahoo.com wrote:
 On Wed, 20 Jul 2011 16:32:49 -0500
 Kent Tenney kten...@gmail.com wrote:

 Howdy,

 I'm having great fun building a TOC for my files, using
 Terry's @bookmarks plugin.

 In the spirit of cleaning and organizing, I tried moving
 some oft-used buttons to myLeoSettings.leo:
 @settings
     @buttons
         @button node-utils
             @rclick this-ua
             @rclick this-gnx
             @rclick node-date

 It's not a perfect solution, but what I do is put at the end of outlines

Dunno 'bout perfect, but probably more useful in the long run than
overloading myLeoSettings.leo


 @file ~/.leo/t/sql
 @file ~/.leo/t/xml

What are the files ../sql and ../xml?
are they Leo files with buttons defined as I'm familiar with?

I'm having trouble with
@file buttons.leo
   @others

where buttons.leo is in the current directory, has a @buttons node tree.

Thanks,
Kent


 to pull in all my sql and xml buttons, which can use @rclick.

 Attached image illustrates - you need @others in the @file node.

 Cheers -Terry

 I like using rclick for these shared buttons to
 minimize screen consumption.

 Unfortunately, @rclick works if locally defined, not
 if defined in myLeoSettings.leo.

 The feature rclick - goto script
 also doesn't work, which doesn't surprise me, but
 if @rclick could work for sub-buttons, it'd be great.

 Thanks,
 Kent


 --
 You received this message because you are subscribed to the Google Groups 
 leo-editor group.
 To post to this group, send email to leo-editor@googlegroups.com.
 To unsubscribe from this group, send email to 
 leo-editor+unsubscr...@googlegroups.com.
 For more options, visit this group at 
 http://groups.google.com/group/leo-editor?hl=en.



-- 
You received this message because you are subscribed to the Google Groups 
leo-editor group.
To post to this group, send email to leo-editor@googlegroups.com.
To unsubscribe from this group, send email to 
leo-editor+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/leo-editor?hl=en.



Re: rclick on @button defined in myLeoSettings

2011-07-21 Thread Ville M. Vainio
Use @file buttons.txt

You can't open .leo files with @file (in a way that would make sense)

On Thu, Jul 21, 2011 at 5:16 PM, Kent Tenney kten...@gmail.com wrote:
 On Wed, Jul 20, 2011 at 4:52 PM, Terry Brown terry_n_br...@yahoo.com wrote:
 On Wed, 20 Jul 2011 16:32:49 -0500
 Kent Tenney kten...@gmail.com wrote:

 Howdy,

 I'm having great fun building a TOC for my files, using
 Terry's @bookmarks plugin.

 In the spirit of cleaning and organizing, I tried moving
 some oft-used buttons to myLeoSettings.leo:
 @settings
     @buttons
         @button node-utils
             @rclick this-ua
             @rclick this-gnx
             @rclick node-date

 It's not a perfect solution, but what I do is put at the end of outlines

 Dunno 'bout perfect, but probably more useful in the long run than
 overloading myLeoSettings.leo


 @file ~/.leo/t/sql
 @file ~/.leo/t/xml

 What are the files ../sql and ../xml?
 are they Leo files with buttons defined as I'm familiar with?

 I'm having trouble with
 @file buttons.leo
   @others

 where buttons.leo is in the current directory, has a @buttons node tree.

 Thanks,
 Kent


 to pull in all my sql and xml buttons, which can use @rclick.

 Attached image illustrates - you need @others in the @file node.

 Cheers -Terry

 I like using rclick for these shared buttons to
 minimize screen consumption.

 Unfortunately, @rclick works if locally defined, not
 if defined in myLeoSettings.leo.

 The feature rclick - goto script
 also doesn't work, which doesn't surprise me, but
 if @rclick could work for sub-buttons, it'd be great.

 Thanks,
 Kent


 --
 You received this message because you are subscribed to the Google Groups 
 leo-editor group.
 To post to this group, send email to leo-editor@googlegroups.com.
 To unsubscribe from this group, send email to 
 leo-editor+unsubscr...@googlegroups.com.
 For more options, visit this group at 
 http://groups.google.com/group/leo-editor?hl=en.



 --
 You received this message because you are subscribed to the Google Groups 
 leo-editor group.
 To post to this group, send email to leo-editor@googlegroups.com.
 To unsubscribe from this group, send email to 
 leo-editor+unsubscr...@googlegroups.com.
 For more options, visit this group at 
 http://groups.google.com/group/leo-editor?hl=en.



-- 
You received this message because you are subscribed to the Google Groups 
leo-editor group.
To post to this group, send email to leo-editor@googlegroups.com.
To unsubscribe from this group, send email to 
leo-editor+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/leo-editor?hl=en.



Re: rclick on @button defined in myLeoSettings

2011-07-21 Thread Kent Tenney
On Thu, Jul 21, 2011 at 9:46 AM, Ville M. Vainio vivai...@gmail.com wrote:
 Use @file buttons.txt

 You can't open .leo files with @file (in a way that would make sense)

OK, I'm not sure how define a @button if not in Leo.

Thanks,
Kent


 On Thu, Jul 21, 2011 at 5:16 PM, Kent Tenney kten...@gmail.com wrote:
 On Wed, Jul 20, 2011 at 4:52 PM, Terry Brown terry_n_br...@yahoo.com wrote:
 On Wed, 20 Jul 2011 16:32:49 -0500
 Kent Tenney kten...@gmail.com wrote:

 Howdy,

 I'm having great fun building a TOC for my files, using
 Terry's @bookmarks plugin.

 In the spirit of cleaning and organizing, I tried moving
 some oft-used buttons to myLeoSettings.leo:
 @settings
     @buttons
         @button node-utils
             @rclick this-ua
             @rclick this-gnx
             @rclick node-date

 It's not a perfect solution, but what I do is put at the end of outlines

 Dunno 'bout perfect, but probably more useful in the long run than
 overloading myLeoSettings.leo


 @file ~/.leo/t/sql
 @file ~/.leo/t/xml

 What are the files ../sql and ../xml?
 are they Leo files with buttons defined as I'm familiar with?

 I'm having trouble with
 @file buttons.leo
   @others

 where buttons.leo is in the current directory, has a @buttons node tree.

 Thanks,
 Kent


 to pull in all my sql and xml buttons, which can use @rclick.

 Attached image illustrates - you need @others in the @file node.

 Cheers -Terry

 I like using rclick for these shared buttons to
 minimize screen consumption.

 Unfortunately, @rclick works if locally defined, not
 if defined in myLeoSettings.leo.

 The feature rclick - goto script
 also doesn't work, which doesn't surprise me, but
 if @rclick could work for sub-buttons, it'd be great.

 Thanks,
 Kent


 --
 You received this message because you are subscribed to the Google Groups 
 leo-editor group.
 To post to this group, send email to leo-editor@googlegroups.com.
 To unsubscribe from this group, send email to 
 leo-editor+unsubscr...@googlegroups.com.
 For more options, visit this group at 
 http://groups.google.com/group/leo-editor?hl=en.



 --
 You received this message because you are subscribed to the Google Groups 
 leo-editor group.
 To post to this group, send email to leo-editor@googlegroups.com.
 To unsubscribe from this group, send email to 
 leo-editor+unsubscr...@googlegroups.com.
 For more options, visit this group at 
 http://groups.google.com/group/leo-editor?hl=en.



 --
 You received this message because you are subscribed to the Google Groups 
 leo-editor group.
 To post to this group, send email to leo-editor@googlegroups.com.
 To unsubscribe from this group, send email to 
 leo-editor+unsubscr...@googlegroups.com.
 For more options, visit this group at 
 http://groups.google.com/group/leo-editor?hl=en.



-- 
You received this message because you are subscribed to the Google Groups 
leo-editor group.
To post to this group, send email to leo-editor@googlegroups.com.
To unsubscribe from this group, send email to 
leo-editor+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/leo-editor?hl=en.



Re: rclick on @button defined in myLeoSettings

2011-07-21 Thread Kent Tenney
On Thu, Jul 21, 2011 at 12:06 PM, Terry Brown terry_n_br...@yahoo.com wrote:
 On Thu, 21 Jul 2011 10:15:09 -0500
 Kent Tenney kten...@gmail.com wrote:

  Use @file buttons.txt

 (where the .txt part is optional :-)

  You can't open .leo files with @file (in a way that would make sense)

 OK, I'm not sure how define a @button if not in Leo.

 The still show up in the Leo outline and you edit them there are usual,
 they're just stored in a generic @file to make it easy to include them
 in multiple Leo files.

Finally it dawns, way more simple than I expected.

Thanks,
Kent



 Cheers -Terry

 --
 You received this message because you are subscribed to the Google Groups 
 leo-editor group.
 To post to this group, send email to leo-editor@googlegroups.com.
 To unsubscribe from this group, send email to 
 leo-editor+unsubscr...@googlegroups.com.
 For more options, visit this group at 
 http://groups.google.com/group/leo-editor?hl=en.



-- 
You received this message because you are subscribed to the Google Groups 
leo-editor group.
To post to this group, send email to leo-editor@googlegroups.com.
To unsubscribe from this group, send email to 
leo-editor+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/leo-editor?hl=en.



Re: rclick on @button defined in myLeoSettings

2011-07-20 Thread Terry Brown
On Wed, 20 Jul 2011 16:32:49 -0500
Kent Tenney kten...@gmail.com wrote:

 Howdy,
 
 I'm having great fun building a TOC for my files, using
 Terry's @bookmarks plugin.
 
 In the spirit of cleaning and organizing, I tried moving
 some oft-used buttons to myLeoSettings.leo:
 @settings
 @buttons
 @button node-utils
 @rclick this-ua
 @rclick this-gnx
 @rclick node-date

It's not a perfect solution, but what I do is put at the end of outlines

@file ~/.leo/t/sql
@file ~/.leo/t/xml

to pull in all my sql and xml buttons, which can use @rclick.

Attached image illustrates - you need @others in the @file node.

Cheers -Terry

 I like using rclick for these shared buttons to
 minimize screen consumption.
 
 Unfortunately, @rclick works if locally defined, not
 if defined in myLeoSettings.leo.
 
 The feature rclick - goto script
 also doesn't work, which doesn't surprise me, but
 if @rclick could work for sub-buttons, it'd be great.
 
 Thanks,
 Kent
 

-- 
You received this message because you are subscribed to the Google Groups 
leo-editor group.
To post to this group, send email to leo-editor@googlegroups.com.
To unsubscribe from this group, send email to 
leo-editor+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/leo-editor?hl=en.

attachment: d.jpg