 |
01-03-2007, 11:02 PM
|
#1 (permalink)
|
|
Wise Old Owl
Join Date: Jun 2004
Location: Delhi
Posts: 1,466
|
keyboard shortcut to eject CD in /out as mac does
Can we have a shortcut for ejecting the CD via keyboard & taking the tray back into the rom as Mac offers it, its already there by right clicking on CD ikon>eject.
I want with the keyboard.
__________________
E6300@3.304Ghz,P5B-Dlx Wifi, 4GB Transcend DDR2 800Mhz, XFX 7600GT,Lenovo 20"Widescreen LCD, Seagate SATA2 HDD 1.5TBx2,Sony DVDRW,Creative 4.1 speakers,APC UPS 800VA,Logitech wireless mouse.
Last edited by ranjan2001; 01-03-2007 at 11:12 PM.
|
|
|
|
Advertisements. Register and be a member of the community to get rid of them.
|
|
Advertisement
|
|
02-03-2007, 08:47 AM
|
#2 (permalink)
|
|
mekalodu
Join Date: Oct 2004
Location: Navi Mumbai
Posts: 1,519
|
Re: keyboard shortcut to eject CD in /out as mac does
__________________
mekalodu
|
|
|
02-03-2007, 09:00 AM
|
#3 (permalink)
|
|
Alpha Geek
Join Date: Jan 2006
Location: Online
Posts: 686
|
Re: keyboard shortcut to eject CD in /out as mac does
a simple multimedia keyboard has options of ejecting the tray by a button.
u ve to only install a driver.
__________________
Be like a postage stamp-stick to one thing until you get there.
|
|
|
02-03-2007, 12:05 PM
|
#4 (permalink)
|
|
a_g = JPKN
Join Date: Mar 2006
Posts: 5,168
|
Re: keyboard shortcut to eject CD in /out as mac does
@ranjan2001 dont tell me you dont have a "Multimedia Keyborad". 
coz your PC config is really good & i think you cant miss something like MM KB.
__________________
★-----------�-----------★
ASUS K53SV SX520D + BF3
★-----------�-----------★
|
|
|
02-03-2007, 12:19 PM
|
#5 (permalink)
|
|
Microsoft MVP
Join Date: Jul 2005
Location: AskVG.com
Posts: 5,173
|
Re: keyboard shortcut to eject CD in /out as mac does
|
|
|
02-03-2007, 12:57 PM
|
#6 (permalink)
|
|
Hanging, since 2004..
Join Date: Aug 2004
Location: hanging..
Posts: 3,334
|
Re: keyboard shortcut to eject CD in /out as mac does
Quote:
|
Originally Posted by s18000rpm
@ranjan2001 dont tell me you dont have a "Multimedia Keyborad". 
coz your PC config is really good & i think you cant miss something like MM KB.
|
I hate multimedia keyboards , thats why its always irritating for me to find a proper (default) layout standard keyboard these days  . I dont like the oversized MM keyboards with 20 extra buttons which makes it look like a spaceship. Point is MM keyboard is not a necessary part of cool PC.
__________________
Windows 8 ? :lol:
I have a better OS installed, people call it Windows7 8-)
|
|
|
02-03-2007, 10:00 PM
|
#7 (permalink)
|
|
Wise Old Owl
Join Date: Jun 2004
Location: Delhi
Posts: 1,466
|
Re: keyboard shortcut to eject CD in /out as mac does
Quote:
@ranjan2001 dont tell me you dont have a "Multimedia Keyborad".
coz your PC config is really good & i think you cant miss something like MM KB
|
Well I have it for sure but as said here, I dont really like that oversized keyboard, so I have bough another silicon rubber keyboard but this one has only 3 extra keys for power/sleep/wakeup.
Sound I control from creative speakers & winamp has shortcut keys already for the rest, the only thing I miss is inset Cd command.
This sound gud but shareware, still thanks for posting it.
Thanks that should do the job perfectly, let me try this & report back.
__________________
E6300@3.304Ghz,P5B-Dlx Wifi, 4GB Transcend DDR2 800Mhz, XFX 7600GT,Lenovo 20"Widescreen LCD, Seagate SATA2 HDD 1.5TBx2,Sony DVDRW,Creative 4.1 speakers,APC UPS 800VA,Logitech wireless mouse.
|
|
|
03-03-2007, 12:39 PM
|
#8 (permalink)
|
|
Human Spambot
Join Date: May 2005
Location: Noida
Posts: 5,601
|
Re: keyboard shortcut to eject CD in /out as mac does
Quote:
|
Originally Posted by ranjan2001
Can we have a shortcut for ejecting the CD via keyboard & taking the tray back into the rom as Mac offers it, its already there by right clicking on CD ikon>eject.
I want with the keyboard.
|
Which Mac are you talking about? 
All the latest models have slot-loading drives that require you to push the CD halfway into the drive before it automatically sucks it in. The eject button then spits the disc out.
Older macs did have tray drives though. Maybe you are talking about the iMac G5 or the Mac Pro.
__________________
Miss me already? See you on Penned Thoughts [http://aayush.me] then. Adios! :)
|
|
|
03-03-2007, 01:16 PM
|
#9 (permalink)
|
|
Section Moderator
Join Date: Mar 2007
Location: Hyderabad
Posts: 1,187
|
Re: keyboard shortcut to eject CD in /out as mac does
U CREATE UR OWN VB APP and store in aceesories and assign a shortcut
the app shouldn't be visible and terminate after ejecting/shutting
use api in vb
Code:
Private Sub Form_Load()
Dim str As String * 3
Dim i As Byte
i = 1
str = "a:\"
Do Until GetDriveType(str) = 5
i = i + 1
Mid(str, 1, 1) = Chr(Asc(str) + i)
Loop
mciSendString "open " + str + " Type cdaudio alias cdr wait shareable", vbNullString, 0, 0
mciSendString "set cdr door open", vbNullString, 0, 0
mciSendString "set cdr door closed", vbNullString, 0, 0
mciSendString "close cdr", vbNullString, 0, 0
End Sub
|
|
|
03-03-2007, 09:54 PM
|
#10 (permalink)
|
|
In The Zone
Join Date: Mar 2006
Location: Thiruvananthapuram (Now in Bengaluru)
Posts: 386
|
Re: keyboard shortcut to eject CD in /out as mac does
This is what I used to do to achieve what you asked:
Download this utility: nircmd (just a few kBs)
Create a shortcut as "path/nircmd.exe cdrom open x:" (x=drive letter)
Put it in your start menu. Assign a keyboard shortcut to it.
Similary, for injecting, create another one as "path/nircmd.exe cdrom close x:".
|
|
|
03-03-2007, 10:04 PM
|
#11 (permalink)
|
|
In The Zone
Join Date: Mar 2004
Location: Delhi/NCR
Posts: 440
|
Re: keyboard shortcut to eject CD in /out as mac does
better still, use ACTIVE KEYS. it has all what you want to have. am using it., and no software can ever match the functionality provided by this little tool.
|
|
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
|
|