Tordex Community
Shorcut to safely remove hardware - would be very nice for iPod Owners... :) - Printable Version

+- Tordex Community (http://forum.tordex.com)
+-- Forum: True Launch Bar plugins (http://forum.tordex.com/forum-4.html)
+--- Forum: Suggestions for new plugins (http://forum.tordex.com/forum-16.html)
+--- Thread: Shorcut to safely remove hardware - would be very nice for iPod Owners... :) (/thread-955.html)

Pages: 1 2


- PsychoMark - 10-24-2003

I did find XPUnplug.exe, but it didn't work. Decompiled it to see if it supported command line parameters (even though it is officially illegal, but in this case I don't think I'm harming anyone), but I got lost in the source after GetCommandLineA Big Grin. Too bad I only understand the basics of assembly... but it seems XPlay's "Stop my iPod" doesn't work either, at least not with USB. I'll have to check the firewire when I get back home... if it does work I'll test XPUnplug.exe, or ask on the MediaFour forums...


So far no general "disconnect hardware" function though. Which is a shame, since I've got more non-drive USB devices which could benefit from such a function... monitoring for API calls hasn't resulted in much information either, so I'm lost Sad


- Jolidog - 10-24-2003

Searching the install directories of Xplay found an interesting file called XPlayDisconnect.dll

In my machine is located at C:\Program Files\Mediafour\Setup Files\XPlay 1.0.0 Enu\XPlay\Program Files\Mediafour\XPlay\1033

Your's should be around that neighbourhood :p

I've opened it with Reshack and found some only 2 string tables but they point in the right direction:

String Table 1:

STRINGTABLE
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
{
1, "Stops your iPod so it can be disconnected"
2, "Disconnect my iPod"
3, "XPlay"
4, "XPlay - Disconnect iPod"
}


String Table 32:


STRINGTABLE
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
{
500, "Your iPod could not be stopped automatically. Before disconnecting, use the 'Unplug or Eject Hardware' icon in the taskbar notification area to stop your iPod.

If this icon is turned off, you can use the Hardware Wizard in the Control Panel to stop your iPod."
501, "Your iPod could not be safely disconnected: %1
Please make sure that there are no open files on your iPod, then try disconnecting again."
}


Hope it help's... :p

I'm going to the mediafour forums now... Wish me luck Big Grin


- Jolidog - 10-24-2003

Found a working link to the iPodRemove prog! Big Grin

http://web.singnet.com.sg/~kyrandia/iPodRemove1_0.zip

Problems with the site I guess, If you can't download it tell me I'll send it by mail... Smile


- PsychoMark - 10-25-2003

Cool, thanks! Haven't tested it on Win2K/USB, but on XP/Firewire it works perfectly here Smile. Really gotta find out how he does it some time... but for now, it works Smile


- STi Sev - 12-07-2003

Quote:Second; more expensive? I don't know what you're comparing, but the Creative Zen with USB 2 is about the same price, at least here in the Netherlands...

Speak for yourself.

I just bought a 40GB Creative Zen Xtra and $65 Creative noise-cancelling headphones for $279.99, shipped and (CA) taxed. Add +$25 for Notmad Explorer (<!-- w --><a class="postlink" href="http://www.redchairsoftware.com">www.redchairsoftware.com</a><!-- w -->) = !!WINNAR!!

That's 2x better battery life, better software (Notmad), better sound (I love it when iPod users argue this one), half the price, AND to top it off, 2x the storage.

This was off a price mistake Creative had on their site not too long ago. My choice was clear.

PS: I do love iPod's built in microphone & remote though.


- PsychoMark - 12-08-2003

But it's still larger Wink. I don't really feel like going into that discussion again. It's like Linux vs. Windows. Both have good qualities, just in different fields...


iPodRemove working great so far btw Smile


- FireW0lf - 12-15-2005

A very old thread I know, but check out this line...

%windir%\system32\RUNDLL32 shell32.dll,Control_RunDLL hotplug.dll

Wink


- jkdclick - 12-15-2005

Will this work with USB Disconnect?


- FireW0lf - 12-15-2005

That command *IS* to the USB disconnect dialog

Now just make a shortcut, change the icon to something suitable, off you go


- colincliff - 01-25-2006

hi

really interested in this thread. I am trying to find a way to quickly eject my ipod which i can assign to a multimedia key on my keyboard

Do you know if there is any to mod this line to automatically eject a certain drive every time - i.e. L: which is my ipod

edit: i have a 5G ipod if this makes any difference. Though i'd mention is as the ipodremove app doesn't work with 5g's

cheers


- Yuri Kobets - 01-25-2006

<!-- m --><a class="postlink" href="http://www.safelyremove.com/">http://www.safelyremove.com/</a><!-- m -->

But I'm not sure it works with iPod


- FireW0lf - 01-25-2006

http://ask-leo.com/is_there_a_way_to_safely_remove_hardware_from_a_batch_file.html shows you a way to do this - just get devcon (Device Console) from Microsoft (free!) and follow the instructions in this link