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: Switch to app if already running  (Read 4,947 times)

ScreenManiac

  • Supporting Member
  • Joined in 2014
  • **
  • Posts: 109
Switch to app if already running
« on: October 28, 2014, 07:26 AM »
Enabling the checkbox "Switch to this application if it is already running" produces mixed results. It works for some programs, but not for all. Not even if the application itself offers settings that force it to one instance only. Examples are FreeCommander or XYplorer. Launchbar will open a new instance always, irrespective of any settings within launchbar or the application itself.

I should mention that it seems to apply to portably run applications only, and that I call them with relative paths
..\FreeCommanderPortable\FreeCommander.exe

Not sure if anything can be done about it, maybe the fault lies with those applications. Just wondering if there might be workarounds?

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: Switch to app if already running
« Reply #1 on: October 28, 2014, 08:22 AM »
Quote
I should mention that it seems to apply to portably run applications only, and that I call them with relative paths
..\FreeCommanderPortable\FreeCommander.exe

Well that would explain it.. I think i can fix that.

ScreenManiac

  • Supporting Member
  • Joined in 2014
  • **
  • Posts: 109
Re: Switch to app if already running
« Reply #2 on: October 28, 2014, 09:21 AM »
Like to hear that. Good news indeed. Thank you.

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