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: How to selectively execute programs as Administrator?  (Read 6,459 times)

Don Cody

  • Participant
  • Joined in 2012
  • *
  • Posts: 28
How to selectively execute programs as Administrator?
« on: October 07, 2016, 08:15 PM »
I am testing out LaunchBar Commander after having used FARR for quite some time. I am trying to see how I could run a program in LBC as Administrator. This option is available with FARR, but I couldn't find anything equivalent in LBC.

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
Re: How to selectively execute programs as Administrator?
« Reply #1 on: October 08, 2016, 12:52 AM »
Hmm.. interesting question.. you could always use a commandline tool or shortcut, but I will add an option in LBC to let you specify that a command should be run as administrator.

Don Cody

  • Participant
  • Joined in 2012
  • *
  • Posts: 28
Re: How to selectively execute programs as Administrator?
« Reply #2 on: October 08, 2016, 05:21 AM »
Thank you very much.

A rather minor observation: I especially like the option of having a menu being treated as a batch button. This is particularly helpful on PC startup, because I usually launch a number of programs before I get down to using the PC. However, why is this option not available for individual commands? I had to copy several commands in a "startup" menu that I created in order to make it work and this resulted in some duplication that could otherwise be avoided.

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
Re: How to selectively execute programs as Administrator?
« Reply #3 on: October 08, 2016, 05:37 AM »
Can you clarify what you'd like to be able to do?

Don Cody

  • Participant
  • Joined in 2012
  • *
  • Posts: 28
Re: How to selectively execute programs as Administrator?
« Reply #4 on: October 08, 2016, 09:09 AM »
Say, inside menu 1 I have four commands, A, B, C and D. If I only want commands B and C to appear as batch buttons while also keeping them in the group of menu 1, I can only do so by creating another menu (menu 2) in which I include (copies of) commands B and C and set menu 2's attribute to "Treat as batch button". Therefore, I end up with commands B and C in two places.

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