topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Sunday December 15, 2024, 6:05 am
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Author Topic: Does it exist? Sys tray app to generate text string from hierarchical listing  (Read 8734 times)

BillB

  • Supporting Member
  • Joined in 2006
  • **
  • default avatar
  • Posts: 24
    • View Profile
    • Donate to Member
Sorry that the title isn't completely clear... here's what I am trying to do.  I use the excellent ManicTime time logger, which is discussed elsewhere on DC. When tagging time, I need to enter (paste) a string in the format:
Project 0001, Subtask 003

I would like to create reference text file something like
2011, Project 0001, Subtask 001
2011, Project 0001, Subtask 002
2011, Project 0001, Subtask 003
2011, Project 0002, Subtask 001
2011, Project 0002, Subtask 002 etc

and have this file read by the system tray application, which when clicked, generates a menu like so

2011 > Project 0001 > Subtask 001
                               > Subtask 002

This would work like when you access a set of folders as a toolbar at the base of the desktop. See attached image below.
If I then click on the last entry, a text string 'Project 0001, Subtask 002' is copied to the clipboard, ready to paste into the Manictime Tag dialog.

A couple of thoughts. Why not just copy and paste from a text file, you may reasonably ask.  Could do, but having all of the entries on system tray or launcher menu makes navigation a doddle. My projects are named by their start year, so there are never too many in any one year eg 2010, 2010-Project1, Subtask003
Also there may be clipboard utilities that allow pre-programmed folders and entries, and I have tried setting this up with Clipboard Help & Spell.  It is possible, but not fast to set up folders, sub-folders and text lines through the settings dialog.
I'm sure it is do-able in AutohotKey, but beyond my skills unless I set aside the next week!
Any suggestions?



mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,914
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
I can definitely see the use for this.

If anyone is looking for a NANY project idea, this might be a good one.



ps. Also sounds like a good idea for a feature for me to add to my Find and Run Robot, or my Clipboard Help and Spell tool, both of which can be used to paste common text.

BillB

  • Supporting Member
  • Joined in 2006
  • **
  • default avatar
  • Posts: 24
    • View Profile
    • Donate to Member
Thanks Mouser

I have just downloaded and started playing with Launchbar Commander.  The help file says it can read a (specifically formatted) text file to generate menus, which sounds interesting (not obvious from the helpfile how, though).  However it is very easy to make custom menus so it may be an option.  What I can't see at present is if there is any way to click a menu item and have it copy a text string to the clipboard.  Obviously not its purpose, but possible? Perhaps by sending a commandline to an application?

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,914
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
What I can't see at present is if there is any way to click a menu item and have it copy a text string to the clipboard

yeah i don't know why i haven't added such an ability.. seems like a useful thing to add.  i will add it.

BillB

  • Supporting Member
  • Joined in 2006
  • **
  • default avatar
  • Posts: 24
    • View Profile
    • Donate to Member
That would be very nice - it would make LC a sort of preset clipboard manager alongside its other Launching capabilities.

BillB

  • Supporting Member
  • Joined in 2006
  • **
  • default avatar
  • Posts: 24
    • View Profile
    • Donate to Member
Hi Mouser, usual nasty User to Programmer question - any timescale for this feature?  :)

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,914
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Not sure yet.. After the new year I hope to catch my breath and get to some of these ideas..

J-Mac

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 2,918
    • View Profile
    • Donate to Member
Wait a minute... mouser, if you are considering adding such a feature to one of your apps, wouldn’t it be more suited to add it to Clipboard Help and Spell? Why try to add clipboard management features to a launcher? Especially when you already have a clipboard manager?

Just sayin'

Jim

rjbull

  • Charter Member
  • Joined in 2005
  • ***
  • default avatar
  • Posts: 3,205
    • View Profile
    • Donate to Member
What J-Mac said.  If the OP wants the entries automatically incremented, wouldn't that be a use for CHS's newly-implemented external script support?

BillB

  • Supporting Member
  • Joined in 2006
  • **
  • default avatar
  • Posts: 24
    • View Profile
    • Donate to Member
I agree in principle, but I have to say that, right now, LBC is a lot easier to add a menu-type structure to, compared to CHS...

Going back to my original thread, if either application could read a text file to generate a "paste" menu, that would be great.

J-Mac

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 2,918
    • View Profile
    • Donate to Member
I agree in principle, but I have to say that, right now, LBC is a lot easier to add a menu-type structure to, compared to CHS...


Not that it would be terrible or anything... Just thinking that CH&S is programmatically already in that category. Hate to see a totally non-related feature added to LBC as it would most likely be feature bloat for those using LBC for its intended purpose - as a launcher. Perhaps mouser can replicate the code for LBC's "menu building" tasks to CH&S?

Thanks!

Jim