topbanner_forum
  *

avatar image

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

Login with username, password and session length
  • Tuesday March 19, 2024, 5:36 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: Is it possible to start a program when you first start LanchBar Commander?  (Read 6359 times)

mccanch

  • Participant
  • Joined in 2006
  • *
  • default avatar
  • Posts: 4
    • View Profile
    • Donate to Member
I would like to automatically start a number of programs when I start LauchBar Commander from my usb drive.  Is this possible?

Thanks for any help you can give me,
Chip McCann

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,896
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
while i could add this feature it seems a bit arbitrary.
you could just make a .bat batch file that started launchbar commander and all other apps you wanted.
i can't think of any compelling reason to build it in v.s using a .bat file.. what do you think?

mccanch

  • Participant
  • Joined in 2006
  • *
  • default avatar
  • Posts: 4
    • View Profile
    • Donate to Member
I think the .bat file is fine.  I did not think of this when I asked the question. 

Thanks for your help,
Chip McCann

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,896
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
i'm very keen to make launchbar commander a good solution for usb drive stuff - so don't hesitate to make more feature requests  :up:

mimiihu

  • Participant
  • Joined in 2006
  • *
  • Posts: 19
    • View Profile
    • Donate to Member
while i agree with chip mccann, i understand this feature might be difficult to implement.
as far as i'm concerned, i would make use of that feature not only to start a number of programs when blc is started but also to start others when blc exits.

pstart has that feature (in each link properties it has the option to autorun on application launch, exit, both or none) and let me give you an example: when i start pstart i also autorun a batch file importing registry keys or registring a dll for additional windows explorer right click context menu. when i exit, it autoruns a batch file cleaning those registry keys or unregistring the same dll, so i leave no traces on that machine.

if you set an application to autorun when pstart runs, it works ok too (i have a clipboard utility which when started, stays quiet in the systray so it doesn't even bother me with a window) but when i close pstart it only has the option to autorun the program again. you can't "unregister" the program like you unregister a dll, so an additional option would be to terminate process x (CLCL.exe in the case of the clipboard utility) when pstart exits.
unless there's a way to terminate a process with a batch file which i'm not aware of.

anyway, like i said, i understand this may be difficult to implement and i know you're making a great effort to make this program better, mouser. :)

in the end, i can say a batch file would do very well and i think this is not a mandatory feauture. these are just my thoughts.
« Last Edit: December 09, 2006, 01:05 PM by mimiihu »