You are here

add/change scripts to/from buttons in pa suite 2.0 beta 3.0

11 posts / 0 new
Last post
dinosoep
Offline
Last seen: 11 years 11 months ago
Joined: 2009-12-14 15:12
add/change scripts to/from buttons in pa suite 2.0 beta 3.0

I know it was possible before with a mod on a website, don't remember which.
I want to link the eject button to another app for closing it and not using windows crappy eject system.
I also want to add a script for closing portable app associater on eject and on close of portable apps suite.

Benedikt93
Offline
Last seen: 8 years 14 hours ago
Joined: 2009-12-17 14:46
platform 2.0 / Closing app at shutdown

For the eject feature:
In another post John wrote that in the new platform 2.0 (not yet officially released) there will be an integrated drive eject feature not simply opening the Windows tool anymore.
If you are good enough in programming (I think its Delphi) you could also change the source of the platform and then recompile it.

To close PAF when closing the menu, you could write some simple NSIS code waiting for the process to exit end then exit PFA (but you shouldn't simply kill the process as this will not remove the associations).
Search the forum for the "Portable application template", there you#ve only to fill in some data and it will(should) work.

"Der Klügere gibt nach, deshalb regieren Dumme die Welt."

Hasle
Offline
Last seen: 5 months 2 weeks ago
Joined: 2007-11-02 07:20
geek.menu …

geek.menu has this feature: If you add the eject skript in the right place, you get an eject button.

dinosoep
Offline
Last seen: 11 years 11 months ago
Joined: 2009-12-14 15:12
I'd stick with the official

I'd stick with the official one.
I program in java and vb.net and have no experience with delphi, but I am going to take a look at it.
thanks for the hints

gluxon
gluxon's picture
Offline
Last seen: 2 years 2 months ago
Developer
Joined: 2008-06-21 19:26
Actually, you need a special

Actually, you need a special payware version of a delphi IDE. Think it was like, Delphi Studio 2003. Forgot the exact name.

dinosoep
Offline
Last seen: 11 years 11 months ago
Joined: 2009-12-14 15:12
damn, are you serious? why do

damn, are you serious?
why do they use such a crapy language you have to pay for? Blum
Smile

gluxon
gluxon's picture
Offline
Last seen: 2 years 2 months ago
Developer
Joined: 2008-06-21 19:26
They, would be John It's the

They, would be John Blum

It's the best language for making menus, and supported almost all windows OS's.

He told me on the IRC that only that version would work, and stuff like Turbo Delphi would not Sad

dinosoep
Offline
Last seen: 11 years 11 months ago
Joined: 2009-12-14 15:12
I wish it was made in c(++)

I wish it was made in c(++) or better : java Blum
Anyway, I stick to simple vbs scripts and autoclose.exe and praying the next update comes out soon Blum

gluxon
gluxon's picture
Offline
Last seen: 2 years 2 months ago
Developer
Joined: 2008-06-21 19:26
O_O Having it programmed in

Shock

Having it programmed in Java would not make it better Blum
If it was made in java, the size would be around 160 MB since it requires java to be installed in CommonFiles.

Having it in C++ is the most efficient way, and will allow it to be cross-platform Smile

dinosoep
Offline
Last seen: 11 years 11 months ago
Joined: 2009-12-14 15:12
well, at least I can read

well, at least I can read java, I have a jre on my memorystick and yes, it would waste lot of space Blum
c++ has to be recompiled by the way Blum

Gord Caswell
Gord Caswell's picture
Offline
Last seen: 1 week 6 days ago
DeveloperModerator
Joined: 2008-07-24 18:46
OliverK's AutoClose

I currently use autoclose to do this. I'm not using the actual eject button, but rather the exit one, but it does exactly what you're wanting to do: closes PFA, and I've got it calling EjectUSB as well.

https://portableapps.com/node/20900

Log in or register to post comments