DonationCoder.com forum
 
Read-only archive. This is a static copy of the DonationCoder.com forum. Reading and searching work as before; logging in, posting and private messages do not.
Archive of 2026-10-21 · About this archive · Main site

Author Topic: LaunchBar Commander new Node Type (Menu from File Contents) and Sendkeys func  (Read 4,874 times)

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,931
    • Gathering Badge
    • Plugin Coding Medal
    • Participated in NANY Challenge Seventeen Times
    • Cody Award
    • Coding Snacks
    • Volunteers/Staff
Just a quick illustration of how to use the new "Menu from File Contents" node, in addition to the new paste and sendkeys options.

Let's have a look at the new test node i added:

Screenshot - 4_16_2012 , 1_35_37 PM.png

Note that I specified my menu contents directly in the node configuration -- but could have combined that with an external text file.  The syntax for the menu specification can be found in the documentation; it includes the ability to use custom captions (shown in example above), but also custom icons, and nested menus.

And of course you can link to programs, documents, folders, or urls as the menu items (not just paste commands!)

The paste and sendkeys items you see will send text to the last active window, in different ways that may be suitable for different targets; in general paste works on plain text and is fastest (uses the clipboard); sendkeys can simulate any keypresses.
« Last Edit: April 16, 2012, 06:45 PM by mouser »

Original address: https://www.donationcoder.com/forum/index.php?topic=30681.0