Help - Search - Members - Calendar
Full Version: On Disc Drive Close
Scenyx Entertainment Community > Xbox1 Forums > Dashboard Forums > Official Team UIX Forums > User.Interface.X (UIX) Code
computer guy
I to want add code in the "theDiscDrive.CloseTray()" function but cant find it anywhere.

Thanks in Advance =)
Odb718
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
computer guy
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.
Odb718
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.
shank-
also theDiscDrive.discType; will tell you what type of disc it is
computer guy
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.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2013 Invision Power Services, Inc.