xboxscene.org forums

Author Topic: Actionscripts...where To Put Them  (Read 730 times)

elfey1

  • Archived User
  • Jr. Member
  • *
  • Posts: 98
Actionscripts...where To Put Them
« on: April 10, 2004, 08:09:00 AM »

is there a tutorial somewhere which shows where to put the actionscripts, im thinking i may b missing some .xml file or something that i need for them to work, im pretty desperate to get the clock fix actionscript up and running (i unplug a lot) if someone could give me some pointers. cheers
Logged

chilin_dude

  • Archived User
  • Hero Member
  • *
  • Posts: 3068
Actionscripts...where To Put Them
« Reply #1 on: April 10, 2004, 08:19:00 AM »

There isn't any folder...easiest way to show you is an example! Just add the script in the following format:

<Item>
<Title>Date Changer</Title>
<Description>Correct the date</Description>
<Action>Callfile E:\scripts\Datechanger.xas</Action>
<Media>E:\MXM Videos\scripts.wmv</Media>
</Item>

Any q's just post em!
Logged

elfey1

  • Archived User
  • Jr. Member
  • *
  • Posts: 98
Actionscripts...where To Put Them
« Reply #2 on: April 10, 2004, 08:21:00 AM »

smile.gif )
Logged

koldfuzion

  • Archived User
  • Hero Member
  • *
  • Posts: 1226
Actionscripts...where To Put Them
« Reply #3 on: April 10, 2004, 08:55:00 AM »

menu.xml    best thing to do would be to create a Scripts Submenu.



   <Submenu>
     <SortField>Title</SortField>
     <Title>Scripts</Title>
     <Media>C:\\mxmvideos\\scripts.wmv</Media>
      <Thumbnail>C:\\mxmvideos\\folderstuff.png</Thumbnail>

   <item>
   <title>MXM Setup Script</title>
   <descr>For New Users Only</descr>
   <Action>Callfile c:\mxmscripts\newuser.xas</Action>
   <media>C:\mxmvideos\newuser.wmv</media>
   <thumbnail>C:\mxmvideos\config_info.png</thumbnail>
   </item>

   <item>
   <title>NewsFeed Switch</title>
   <descr>Turn Newsfeed on or off</descr>
   <Action>Callfile c:\\mxmscripts\\newsfeedswitch.xas</Action>
   <media>C:\\mxmvideos\\newsfeed.wmv</media>
   <thumbnail>C:\\mxmvideos\\newsfeed.png</thumbnail>
   </item>

   <item>
   <title>IP Changer</title>
   <descr>Edit your Current IP Address</descr>
   <Action>Callfile c:\\mxmscripts\\ipchanger.xas</Action>
   <media>C:\\mxmvideos\\ipchanger.wmv</media>
   <thumbnail>C:\\mxmvideos\\checklist.png</thumbnail>
   </item>

   <item>
   <title>Fan Speed Adj</title>
   <descr>Allows adjustment of fan speed</descr>
   <Action>Callfile c:\\mxmscripts\\fanspeed.xas</Action>
   <media>C:\\mxmvideos\\fanspeed.wmv</media>
   <thumbnail>C:\\mxmvideos\\config_info.png</thumbnail>
   </item>

   <item>
   <title>Date Fix</title>
   <descr>Repair Invalid or Set New Date</descr>
   <Action>Callfile c:\mxmscripts\\DateFix.xas</Action>
   <media>C:\\mxmvideos\\datefix.wmv</media>
   <thumbnail>C:\\mxmvideos\\date.png</thumbnail>
   </item>

   <item>
   <title>System Menu Protection</title>
   <Passcode>1234</Passcode>
   <descr>Disable/re-enable the sytem menu</descr>
   <Action>Callfile c:\\mxmscripts\\SysMenuPtn.xas</Action>
   </item>    
   </Submenu>
Logged

flattspott

  • Archived User
  • Hero Member
  • *
  • Posts: 1220
Actionscripts...where To Put Them
« Reply #4 on: April 10, 2004, 10:52:00 AM »

Normal scripts go in Menu.xml
Override and Context scripts go in MXM.xml
Logged

elfey1

  • Archived User
  • Jr. Member
  • *
  • Posts: 98
Actionscripts...where To Put Them
« Reply #5 on: April 10, 2004, 11:30:00 AM »

cheers, ill give it a go asap.
Logged

elfey1

  • Archived User
  • Jr. Member
  • *
  • Posts: 98
Actionscripts...where To Put Them
« Reply #6 on: April 10, 2004, 11:31:00 AM »

cheers, ill give it a go asap.
Logged