Help - Search - Members - Calendar
Full Version: Remote-control Input And Disk Freespace
Scenyx Entertainment Community > Xbox1 Forums > Dashboard Forums > Official MediaXMenu (MXM) Forum > MXM ActionScripting Forum
Kthulu
MXM is the best! this actionscript stuff is this coolest thing since video games were invented! smile.gif Thanks BenJ!!!

i've seen this
CODE
If %_GP_A% == "1" GOTO APRESSED
and would like to know how to get input from the remote. also, is it possible to distiguish between gamepad1, gamepad2, etc. if more than one is plugged in?

i've also seen
CODE
SETFUNC DVDSIZE FILESIZE D:DEFAULT.xbe
and would also like to know if this will work to get a directory size as well. also, is there a function that returns disk freespace?

thanks again!
-------------------------

forum organization suggestion:
create pinned topics for the various aspects of scripting/programming. examples...
::Variables and Data structures
::Looping and Control structures
::Functions (starting with a table of the available functions)

maybe that's too much, but at least the table of functions.
geniusalz
$DriveFFree$
Not sure what the formatting is in this, you might have to remove commas

You can replace "DriveFFree" with any variable used in skinning. (look in the skinningOverview.doc in the "Text" section)
Kthulu
thanks geniusalz, but if there is a SETFUNC function, i'd rather use that as $DriveFFree$ returns a string "F: 29,000,000,000 bytes free". I want to compare the size of D: with the freespace on F: i really don't want to get into alot of string processing, but if i must, i must...
Kthulu
ok, i used search before but didn't hit anything good. it got bumped and i saw this thread:

EDIT: http://forums.xbox-scene.com/index.php?act...T&f=58&t=123064

it answers my questions. i'm normally pretty good at searches, but on these forums, i'm a cluts...sorry.
BenJeremy
Input from the remote, for ActionScripting, is not supported.... YET.

Perhaps on the next release.
Kthulu
hey, since you're here smile.gif and we're talking about that Remote support...

i just noticed that the passcode screen accepts up/down input from the remote, but doesn't accept <select> as <A> or <back> as <B>...maybe you would knock that out at the same time?
geniusalz
And since you are still here, check the pinned ActionScript Reference topic

Just an updated version of the one you linked.

Put it together right now.
Kthulu
hehehe, thanks dude smile.gif
BenJeremy
QUOTE (Kthulu @ Nov 9 2003, 12:11 AM)
hey, since you're here smile.gif and we're talking about that Remote support...

i just noticed that the passcode screen accepts up/down input from the remote, but doesn't accept <select> as <A> or <back> as <B>...maybe you would knock that out at the same time?

I'll look into that, as well, but the input for the ActionScripting is handled in a different spot than the passcode main screen input handling.
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.