You are here

Is there an alternative to the SingleAppInstance=true error message?

6 posts / 0 new
Last post
Jason404
Jason404's picture
Offline
Last seen: 8 months 2 weeks ago
Joined: 2009-03-08 04:13
Is there an alternative to the SingleAppInstance=true error message?

When using SingleAppInstance=true, is there an alternative to the horrible error message and beep?

Is there any way to get the running instance to come into focus instead, like installed software sometimes does when it only allows one instance?

Chris Morgan
Chris Morgan's picture
Offline
Last seen: 9 years 10 months ago
Joined: 2007-04-15 21:08
Wrong thing

SingleAppInstance is entirely correct in its behaviour: a portable version should definitely not show the user the non-portable version. Consider the purpose of SinglePortableAppInstance.

I am a Christian and a developer and moderator here.

“A soft answer turns away wrath, but a harsh word stirs up anger.” – Proverbs 15:1

John T. Haller
John T. Haller's picture
Online
Last seen: 18 min 19 sec ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Improper INI

The one you're referring to is an app that was setup inproperly in the PAL configuration. It should be configured to launch again and start another copy when you run it again, but it isn't due to an error in the configuration.

These settings are generally only used when the app itself doesn't support being started again. Generally the app itself decides whether to start a new window, bring itself to focus, open another document in another tab, etc. The app that is annoying you is simply misconfigured in its current release.

Sometimes, the impossible can become possible, if you're awesome!

Jason404
Jason404's picture
Offline
Last seen: 8 months 2 weeks ago
Joined: 2009-03-08 04:13
My own portable apps..

Thanks. I'm actually referring to my own launchers. I have portabalised a couple of programs which I personally only want to ever have one running instance, and would just prefer they came into focus if I try starting them again without realising that they are already running.

John T. Haller
John T. Haller's picture
Online
Last seen: 18 min 19 sec ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Relaunch

It is up to the app itself (not our launcher) to do that. The launcher simply enables the app to do its thing. Nothing more, nothing less. The app itself is in charge of whether it will bring itself into focus, open a new window, open a new tab or nothing. The launcher is not a part of that decision, nor should it be. The SingleAppInstance thing you are referring to is a last-ditch failsafe for apps that don't work right portably with multiple instances.

Sometimes, the impossible can become possible, if you're awesome!

Simeon
Simeon's picture
Offline
Last seen: 10 years 6 months ago
DeveloperTranslator
Joined: 2006-09-25 15:15
JPEGView

uses SinglePortableAppInstance whereas he is referring to SingleAppInstance.
Sidenote: I already changed it back in my copy for the next version. No revision needed imho.

"What about Love?" - "Overrated. Biochemically no different than eating large quantities of chocolate." - Al Pacino in The Devils Advocate

Log in or register to post comments