You are here

Exit Apps when closing PortableApps.com?

12 posts / 0 new
Last post
schentuu
Offline
Last seen: 13 years 1 month ago
Joined: 2010-12-15 07:36
Exit Apps when closing PortableApps.com?

Hello there!

When i close my PortableApps.com using the X button on the bottom of the menu, the Programm closes itself but leaves all portable apps opened.
When i try to close&eject PortableApps.com with the ^ Button on the bottom of the menu, and still have apps opened, PortableApps close but Windows refuses ejecting my USB device because there are still apps opened.

Is there a way to tell PortableApps.com to close the opened Apps before closing itself?

By using the Search option of this forum i found an old thread from 2007:
-> Eject script (https://portableapps.com/node/7178)

But the link postet there is dead.

So, anny further suggestions?

Thank you

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

I can only tell you that something like this is planned for a future version, although this is a pretty gereric answer and no one knows when it will be implemented.

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

schentuu
Offline
Last seen: 13 years 1 month ago
Joined: 2010-12-15 07:36
maybe a batch script could do this

Is there any script that runs when i use the close-function of the PA StartMenu where i could put in some lines of batch or call a small selfwritten programm?

At this moment i'm reading the documentation of the WindowsCommands "tasklist" and "taskkill".
Maybe i'll be able to write a batch script to end running processes that were started by PortableApps.
At this moment the only Idea i have is to kill processes with "Portable" in their names.
This would match the most but sadly not all portable Programms ...

Ken Herbert
Ken Herbert's picture
Online
Last seen: 51 min 43 sec ago
DeveloperModerator
Joined: 2010-05-25 18:19
Wouldn't work

Killing all processes with Portable in the name would only kill the processes that make pApps portable, not the actual app itself.

For example (using Task Coach as that is what I currently have open in front of me) If you had it running and looked at the list of running processes you would see that both taskcoach.exe (the program exe) and TaskCoachPortable.exe (the portable exe) are running. Killing the portable exe would not stop the program exe, but would mean that any changes made to the registry/filesystem etc. would not be cleaned up on closing the program exe, possibly causing greater problems depending upon the program.

Task Coach itself will restart without a hitch, but will say that the file it is trying to load is locked, wold you like to unlock it etc. but I could see other programs behaving more erratically, such as losing profiles and/or data.

John T. Haller
John T. Haller's picture
Offline
Last seen: 4 hours 37 min ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Better Plan

We have a better process in development that will allow apps to close properly and not lose data nor strand them without their launchers.

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

schentuu
Offline
Last seen: 13 years 1 month ago
Joined: 2010-12-15 07:36
Thank you

Thank you for your reply!
Now i'm realy (!!!) looking forward for version 2.

I think after christmas you'll read something from me in the testing-forums.
I'm planing to help a bit to accelerate the release of Version 2 Smile

zoc
Offline
Last seen: 9 years 2 months ago
Joined: 2012-06-15 05:02
Uhm, any progress meanwhile?

I need this in order to terminate my portable autostart apps like exPresso and WallPaperSwitcher.

If the plans to implement this had been dropped, perhaps someone can give me a hint: It would be trivial to close a windowed app with an auxiliary AutoIt script, but the above sit in the tray. Any way to terminate them "gracefully" (not "kill" them)?

Thanks.

Gord Caswell
Gord Caswell's picture
Offline
Last seen: 4 months 4 weeks ago
DeveloperModerator
Joined: 2008-07-24 18:46
AutoClose

I personally use AutoClose to close both of those, as well as a couple of other apps. The catch is that apps need to support some kind of exit functionality from the command line in order for it to work.

Note that for me, this is just a temporary thing until the same functionality is available in the platform.

[EDIT: added second paragraph]

esimha
Offline
Last seen: 9 years 3 weeks ago
Joined: 2013-05-27 00:53
Autoclosing applications when closing PortableApps application

Any updated thought on this ?

Simha

Ken Herbert
Ken Herbert's picture
Online
Last seen: 51 min 43 sec ago
DeveloperModerator
Joined: 2010-05-25 18:19
Still coming

It is still on the list of upcoming features, but new releases have been slow for a number of reasons.

It is still coming but we can't say when.

esimha
Offline
Last seen: 9 years 3 weeks ago
Joined: 2013-05-27 00:53
Autoclosing applications when closing PortableApps application

Any updated thought on this ?

Simha

consul
consul's picture
Offline
Last seen: 6 months 2 weeks ago
Joined: 2007-05-02 13:47
the beta

the latest official beta that I use, works 90% of the time, only when there is a lot of writing left, like in Thunderbird, that it gives me the message that there are apps open when I click on the close&eject button in the menu. But then it actually did close it and I just have to manually eject. It seems that the time to tell me stuff was open was enough time to close them in the background. Smile

Don't be an uberPr∅. They are stinky.

Log in or register to post comments