You are here

Eject feature for the menu

8 posts / 0 new
Last post
ZachHudock
ZachHudock's picture
Offline
Last seen: 4 years 10 months ago
Developer
Joined: 2006-12-06 18:07
Eject feature for the menu

I'm not sure if you already have a working solution, but if not, I found an app called USB Disk Ejector. I'm not sure of the quality of the source code for it, but it was written in Delphi, so should be fairly easy to integrate this code into the Menu.

I read that the application currently only works in XP and Vista, but with the team of developers we now have for the menu, it shouldn't be too difficult to adapt to work with other Windows versions as well.

The source code is not available from the application's page, but is available at the bottom of their full list of software.

Here is a direct link to the source code as well.

powerjuce
powerjuce's picture
Offline
Last seen: 11 years 9 months ago
Developer
Joined: 2007-09-20 21:34
something like it

i am working on a paf app that can work from the menu, but integrating will prob be better

Please search before posting. ~Thanks

Aciago
Aciago's picture
Offline
Last seen: 5 months 2 weeks ago
Joined: 2007-01-24 14:23
Search for

ejectscript on this forum... its do that...

If a packet hits a pocket on a socket on a port,
and the bus is interrupted as a very last resort,
and the address of the memory makes your floppy disk abort,
then the socket packet pocket has an error to report Biggrin

ZachHudock
ZachHudock's picture
Offline
Last seen: 4 years 10 months ago
Developer
Joined: 2006-12-06 18:07
I know the ejectscript does

I know the ejectscript does that, but that's just a script, not Delphi source code that can be integrated directly into the menu.

The developer formerly known as ZGitRDun8705

Patrick Patience
Offline
Last seen: 2 years 11 months ago
DeveloperModerator
Joined: 2007-02-20 19:26
Lmao

That makes 3. I posted this, someone else did recently, now you did. However, I didn't know it was open source.

LOGAN-Portable
LOGAN-Portable's picture
Offline
Last seen: 9 years 10 months ago
Developer
Joined: 2007-09-11 12:24
Awe, now you make a launcher

Awe, now you make a launcher for it? Biggrin

Hmm isn't there a way to call the 'eject' functionality directly.

Something like this, some noobish exe is called by pushing the eject button of the USB drive. Then that noobish exe which is in memory checks for the menu running. When it doesnt detect the menu running anymore it calls the windows "it is save to remove your usb device" and ends itself.

But this noobish exe won't know wether or not there were other portable apps started. Well a launcher could write to a shared ini and write again that it has been stopped to have some list of portable apps running. And the eject could make a warning "cant be ejected because there are still apps running' message. It's not cool to just close any apps open because that might result in loss of not saved data. (I think windows throws that message regardless)

Hmm. it's an anoying dilemma which almost makes the eject button practically useless Smile

Whats next, you click eject, and your USB stick drops on the floor as it is been ejected from the PC?

Aciago
Aciago's picture
Offline
Last seen: 5 months 2 weeks ago
Joined: 2007-01-24 14:23
That

is what ejectscript does...

If a packet hits a pocket on a socket on a port,
and the bus is interrupted as a very last resort,
and the address of the memory makes your floppy disk abort,
then the socket packet pocket has an error to report Biggrin

John T. Haller
John T. Haller's picture
Online
Last seen: 57 min 24 sec ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Unknown License

It isn't open source under an OSI license. And some of the code within it comes from an unknown source... so copyright/license is unknown.

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

Log in or register to post comments