xml Action definitions (1 Viewer)

KnightAzul

Portal Member
December 17, 2004
15
0
Hi,

I am trying to tweak the Naley skin so that the Power Off button actually hibernates instead of powering off. Mr Mario pointed me in the right direction of which xml file to edit, but ...

topbarhome.xml ...
<control>
<description>home button</description>
<type>button</type>
<id>10</id>
<posX>55</posX>
<posY>41</posY>
<width>40</width>
<height>37</height>
<textureFocus>topbar_powerdown.gif</textureFocus>
<textureNoFocus>topbar_powerdown_nofocus.png</textureNoFocus>
<label>-</label>
<action>99</action>
<onleft>12</onleft>
<onright>11</onright>
<onup>10</onup>
<ondown>2</ondown>
</control>

The vital piece of information that I am lacking is what action number corresponds to hibernate? Is there a list of action number definitions somwhere that I have missed in the documentation?

Thanks for any help!
KnightAzul
 

Frodo

Retired Team Member
  • Premium Supporter
  • April 22, 2004
    1,518
    121
    50
    The Netherlands
    Home Country
    Netherlands Netherlands
    ACTION_INVALID=0
    , ACTION_MOVE_LEFT =1
    , ACTION_MOVE_RIGHT =2
    , ACTION_MOVE_UP =3
    , ACTION_MOVE_DOWN =4
    , ACTION_PAGE_UP =5
    , ACTION_PAGE_DOWN =6
    , ACTION_SELECT_ITEM =7
    , ACTION_HIGHLIGHT_ITEM =8
    , ACTION_PARENT_DIR =9
    , ACTION_PREVIOUS_MENU =10
    , ACTION_SHOW_INFO =11

    , ACTION_PAUSE =12
    , ACTION_STOP =13
    , ACTION_NEXT_ITEM =14
    , ACTION_PREV_ITEM =15
    , ACTION_FORWARD =16
    , ACTION_REWIND =17

    , ACTION_SHOW_GUI =18 // toggle between GUI and movie or GUI and visualisation.
    , ACTION_ASPECT_RATIO =19 // toggle between zoom/stretch/normal during a movie. Can b used in VideoFullScreen.xml window id=2005
    , ACTION_STEP_FORWARD =20 // seek +1% in the movie. Can b used in VideoFullScreen.xml window id=2005
    , ACTION_STEP_BACK =21 // seek -1% in the movie. Can b used in VideoFullScreen.xml window id=2005
    , ACTION_BIG_STEP_FORWARD =22 // seek +10% in the movie. Can b used in VideoFullScreen.xml window id=2005
    , ACTION_BIG_STEP_BACK =23 // seek -10% in the movie. Can b used in VideoFullScreen.xml window id=2005
    , ACTION_SHOW_OSD =24 // show/hide OSD. Can b used in VideoFullScreen.xml window id=2005
    , ACTION_SHOW_SUBTITLES =25 // turn subtitles on/off. Can b used in VideoFullScreen.xml window id=2005
    , ACTION_NEXT_SUBTITLE =26 // switch to next subtitle of movie. Can b used in VideoFullScreen.xml window id=2005
    , ACTION_SHOW_CODEC =27 // show information about file. Can b used in VideoFullScreen.xml window id=2005 and in slideshow.xml window id=2007
    , ACTION_NEXT_PICTURE =28 // show next picture of slideshow. Can b used in slideshow.xml window id=2007
    , ACTION_PREV_PICTURE =29 // show previous picture of slideshow. Can b used in slideshow.xml window id=2007
    , ACTION_ZOOM_OUT =30 // zoom in picture during slideshow. Can b used in slideshow.xml window id=2007
    , ACTION_ZOOM_IN =31 // zoom out picture during slideshow. Can b used in slideshow.xml window id=2007
    , ACTION_TOGGLE_SOURCE_DEST =32 // used to toggle between source view and destination view. Can be used in myfiles.xml window id=3
    , ACTION_SHOW_PLAYLIST =33 // used to toggle between current view and playlist view. Can b used in all mymusic xml files
    , ACTION_QUEUE_ITEM =34 // used to queue a item to the playlist. Can b used in all mymusic xml files
    , ACTION_REMOVE_ITEM =35 // not used anymore
    , ACTION_SHOW_FULLSCREEN =36 // not used anymore
    , ACTION_ZOOM_LEVEL_NORMAL =37 // zoom 1x picture during slideshow. Can b used in slideshow.xml window id=2007
    , ACTION_ZOOM_LEVEL_1 =38 // zoom 2x picture during slideshow. Can b used in slideshow.xml window id=2007
    , ACTION_ZOOM_LEVEL_2 =39 // zoom 3x picture during slideshow. Can b used in slideshow.xml window id=2007
    , ACTION_ZOOM_LEVEL_3 =40 // zoom 4x picture during slideshow. Can b used in slideshow.xml window id=2007
    , ACTION_ZOOM_LEVEL_4 =41 // zoom 5x picture during slideshow. Can b used in slideshow.xml window id=2007
    , ACTION_ZOOM_LEVEL_5 =42 // zoom 6x picture during slideshow. Can b used in slideshow.xml window id=2007
    , ACTION_ZOOM_LEVEL_6 =43 // zoom 7x picture during slideshow. Can b used in slideshow.xml window id=2007
    , ACTION_ZOOM_LEVEL_7 =44 // zoom 8x picture during slideshow. Can b used in slideshow.xml window id=2007
    , ACTION_ZOOM_LEVEL_8 =45 // zoom 9x picture during slideshow. Can b used in slideshow.xml window id=2007
    , ACTION_ZOOM_LEVEL_9 =46 // zoom 10x picture during slideshow. Can b used in slideshow.xml window id=2007

    , ACTION_CALIBRATE_SWAP_ARROWS =47 // select next arrow. Can b used in: settingsScreenCalibration.xml windowid=11
    , ACTION_CALIBRATE_RESET =48 // reset calibration to defaults. Can b used in: settingsScreenCalibration.xml windowid=11/settingsUICalibration.xml windowid=10
    , ACTION_ANALOG_MOVE =49 // analog thumbstick move. Can b used in: slideshow.xml window id=2007/settingsScreenCalibration.xml windowid=11/settingsUICalibration.xml windowid=10
    , ACTION_ROTATE_PICTURE =50 // rotate current picture during slideshow. Can b used in slideshow.xml window id=2007
    , ACTION_CLOSE_DIALOG =51 // action for closing the dialog. Can b used in any dialog
    , ACTION_SUBTITLE_DELAY_MIN =52 // Decrease subtitle/movie Delay. Can b used in VideoFullScreen.xml window id=2005
    , ACTION_SUBTITLE_DELAY_PLUS =53 // Increase subtitle/movie Delay. Can b used in VideoFullScreen.xml window id=2005
    , ACTION_AUDIO_DELAY_MIN =54 // Increase avsync delay. Can b used in VideoFullScreen.xml window id=2005
    , ACTION_AUDIO_DELAY_PLUS =55 // Decrease avsync delay. Can b used in VideoFullScreen.xml window id=2005
    , ACTION_AUDIO_NEXT_LANGUAGE =56 // Select next language in movie. Can b used in VideoFullScreen.xml window id=2005
    , ACTION_CHANGE_RESOLUTION =57 // switch 2 next resolution. Can b used during screen calibration settingsScreenCalibration.xml windowid=11

    , REMOTE_0 =58 // remote keys 0-9. are used by multiple windows
    , REMOTE_1 =59 // for example in VideoFullScreen.xml window id=2005 you can
    , REMOTE_2 =60 // enter time (mmss) to jump to particular point in the movie
    , REMOTE_3 =61
    , REMOTE_4 =62 // with spincontrols you can enter 3digit number to quickly set
    , REMOTE_5 =63 // spincontrol to desired value
    , REMOTE_6 =64
    , REMOTE_7 =65
    , REMOTE_8 =66
    , REMOTE_9 =67

    , ACTION_PLAY =68 // Play current movie. Unpauses movie and sets playspeed to 1x. Can b used in VideoFullScreen.xml window id=2005
    , ACTION_OSD_SHOW_LEFT =69 // Move left in OSD. Can b used in VideoFullScreen.xml window id=2005
    , ACTION_OSD_SHOW_RIGHT =70 // Move right in OSD. Can b used in VideoFullScreen.xml window id=2005
    , ACTION_OSD_SHOW_UP =71 // Move up in OSD. Can b used in VideoFullScreen.xml window id=2005
    , ACTION_OSD_SHOW_DOWN =72 // Move down in OSD. Can b used in VideoFullScreen.xml window id=2005
    , ACTION_OSD_SHOW_SELECT =73 // toggle/select option in OSD. Can b used in VideoFullScreen.xml window id=2005
    , ACTION_OSD_SHOW_VALUE_PLUS =74 // increase value of current option in OSD. Can b used in VideoFullScreen.xml window id=2005
    , ACTION_OSD_SHOW_VALUE_MIN =75 // decrease value of current option in OSD. Can b used in VideoFullScreen.xml window id=2005
    , ACTION_SMALL_STEP_BACK =76 // jumps a few seconds back during playback of movie. Can b used in VideoFullScreen.xml window id=2005

    , ACTION_MUSIC_FORWARD =77 // FF in current song. global action, can be used anywhere
    , ACTION_MUSIC_REWIND =78 // RW in current song. global action, can be used anywhere
    , ACTION_MUSIC_PLAY =79 // Play current song. Unpauses song and sets playspeed to 1x. global action, can be used anywhere

    , ACTION_DELETE_ITEM =80 // delete current selected item. Can be used in myfiles.xml window id=3 and in myVideoTitle.xml window id=25
    , ACTION_COPY_ITEM =81 // copy current selected item. Can be used in myfiles.xml window id=3
    , ACTION_MOVE_ITEM =82 // move current selected item. Can be used in myfiles.xml window id=3
    , ACTION_SHOW_MPLAYER_OSD =83 // toggles mplayers OSD. Can be used in Videofullscreen.xml window id=2005
    , ACTION_OSD_HIDESUBMENU =84 // removes an OSD sub menu. Can be used in VideoOSD.xml window id=2901
    , ACTION_TAKE_SCREENSHOT =85 // take a screenshot
    , ACTION_INCREASE_TIMEBLOCK=86
    , ACTION_DECREASE_TIMEBLOCK=87
    , ACTION_DEFAULT_TIMEBLOCK=88
    , ACTION_RECORD=89
    , ACTION_DVD_MENU=90
    , ACTION_NEXT_CHAPTER=91
    , ACTION_PREV_CHAPTER=92
    , ACTION_KEY_PRESSED=93
    , ACTION_PREV_CHANNEL=94
    , ACTION_NEXT_CHANNEL=95
    ,ACTION_TVGUIDE_RESET=96
    ,ACTION_EXIT=97
    ,ACTION_REBOOT=98
    ,ACTION_SHUTDOWN=99
    ,ACTION_EJECTCD=100
    ,ACTION_BACKGROUND_TOGGLE=101
    ,ACTION_VOLUME_DOWN=102
    ,ACTION_VOLUME_UP=103
    ,ACTION_TOGGLE_WINDOWED_FULSLCREEN=104
    ,ACTION_PAUSE_PICTURE=105
    ,ACTION_CONTEXT_MENU=106
    ,ACTION_MOUSE_MOVE=2000
    ,ACTION_MOUSE_CLICK=2001
    ,ACTION_MOUSE_DOUBLECLICK=2002



    These are all actions
    there's no action for hibernation yet
     

    Users who are viewing this thread

    Similar threads

    Agree totally with the first part of this, my intentions are to move the buttons that I don't like off of the screen where they can't be seen. What I was hoping to do was create two new buttons in the menubutton style, (dialoglist mode), and alter the relevant OnlineVideos properties. As one is only number of items to display, and...
    Agree totally with the first part of this, my intentions are to move the buttons that I don't like off of the screen where they...
    Good evening everyone, I need some help with skinning buttons for Online Videos. What I am trying to achieve is move the buttons...
    Replies
    2
    Views
    650
    Yes that's more or less correct. I would like to set the #selectedindex to a value passed by hyperlinkParameter and set the focus. Of course we would know the control ID of what we want to focus, that should be the easy part by setting the default control on the screen we are jumping to but it is jumping to the correct item in the...
    Yes that's more or less correct. I would like to set the #selectedindex to a value passed by hyperlinkParameter and set the focus...
    Evening all! Here's a challenge. I would like a button on Basic Home, or wherever, to take me to a specific item in a listcontrol...
    Replies
    2
    Views
    741
    Ich schreibe gerade an einem Plugin und bin an der Stelle, wo ich die Texte mehrsprachig machen will. Orientiert habe ich mich dabei am Plugin für OnlineVideos. Dort gibt es in der myonlinevideos z.B. den Eintrag: <control> <type>button</type> <description>Update Sites</description> <id>13</id>...
    Ich schreibe gerade an einem Plugin und bin an der Stelle, wo ich die Texte mehrsprachig machen will. Orientiert habe ich mich...
    Ich schreibe gerade an einem Plugin und bin an der Stelle, wo ich die Texte mehrsprachig machen will. Orientiert habe ich mich...
    Replies
    0
    Views
    866
    This works fine Thank You... Another quest. When it works i ask this in Skin specific forum, but is it given from your tool, that i can onup go too the dashboard in basichome and scroll through the covers and enter the info site from there ? For example latest movies...
    This works fine Thank You... Another quest. When it works i ask this in Skin specific forum, but is it given from your tool, that...
    Hm i have little problems to show the covers in the basic home dashboard, the rest is showen. In trakt directly the covers are...
    Replies
    5
    Views
    1K
    Finally read that will not work.
    Finally read that will not work.
    How can I learn there is a control with what that ID? Why does not the animation, if it is registered in references.xml? Ie...
    Replies
    7
    Views
    1K
    Top Bottom