Jump to content


Photo

On Disc Drive Close


  • Please log in to reply
5 replies to this topic

#1 computer guy

computer guy

    X-S Young Member

  • Members
  • Pip
  • 30 posts
  • Xbox Version:v1.2
  • 360 version:unknown

Posted 02 August 2005 - 02:31 AM

I to want add code in the "theDiscDrive.CloseTray()" function but cant find it anywhere.

Thanks in Advance =)

#2 Odb718

Odb718

    X-S Freak

  • Last Chance
  • PipPipPipPipPip
  • 1,589 posts
  • Xbox Version:v1.0
  • 360 version:v1 (xenon)

Posted 02 August 2005 - 07:44 AM

lol
it doesn't have to be in the xap for you to add it in.
Jist figure out how you want it to work and put it in.

like say you wanted it to close whne you hit the white button.....
CODE

function OnWhiteDown()     { theDiscDrive.CloseTray();}

sleeping.gif

#3 computer guy

computer guy

    X-S Young Member

  • Members
  • Pip
  • 30 posts
  • Xbox Version:v1.2
  • 360 version:unknown

Posted 02 August 2005 - 08:23 AM

Thanks but what i want it to do is "on tray close check what disc it is.

ie.video or game

then display somewhere on the screen what it is.

#4 Odb718

Odb718

    X-S Freak

  • Last Chance
  • PipPipPipPipPip
  • 1,589 posts
  • Xbox Version:v1.0
  • 360 version:v1 (xenon)

Posted 02 August 2005 - 09:50 AM

0_o
NNNNEEEEEEEEEEWWWWBBBB!!!!!!!
lol
sorry I had to.

Go into System, go down to dash configuration, general settings, and set autolaunch inserted media to ask.

It's basically exactly what you want.

#5 shank-

shank-

    X-S Enthusiast

  • Members
  • 16 posts

Posted 03 August 2005 - 06:34 AM

also theDiscDrive.discType; will tell you what type of disc it is

#6 computer guy

computer guy

    X-S Young Member

  • Members
  • Pip
  • 30 posts
  • Xbox Version:v1.2
  • 360 version:unknown

Posted 03 August 2005 - 09:34 AM

Don't wory i fixed it in my other post. biggrin.gif

Ps: thanks to shank- for the code & thanks to slick50zd for the original info panel.

Edited by computer guy, 03 August 2005 - 09:40 AM.





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users