xboxscene.org forums

Pages: 1 [2]

Author Topic: Add "homebrew" Button To Games Blade  (Read 668 times)

conners

  • Archived User
  • Full Member
  • *
  • Posts: 175
Add "homebrew" Button To Games Blade
« Reply #15 on: June 11, 2006, 11:09:00 AM »

anyway off making it launch a default.xbe instead of opening up a new window. Wanting it to launch dvd2xbox instead of going to applications.

CONNERS
Logged

Popy

  • Archived User
  • Newbie
  • *
  • Posts: 14
Add "homebrew" Button To Games Blade
« Reply #16 on: June 11, 2006, 11:17:00 AM »

You can launch a script like it was before:

<onclick>XBMC.RunScript(Q:\skin\MC360\extras\gametrailers.py)</onclick>

 Here you can see how to modify the phyton script to launch your dvd2xbox from xbmc!

pOpY
Logged

conners

  • Archived User
  • Full Member
  • *
  • Posts: 175
Add "homebrew" Button To Games Blade
« Reply #17 on: June 11, 2006, 11:21:00 AM »

nice 1
Logged

ventline

  • Archived User
  • Jr. Member
  • *
  • Posts: 76
Add "homebrew" Button To Games Blade
« Reply #18 on: June 11, 2006, 11:19:00 AM »

QUOTE(conners @ Jun 11 2006, 11:40 AM) View Post

anyway off making it launch a default.xbe instead of opening up a new window. Wanting it to launch dvd2xbox instead of going to applications.

CONNERS


QUOTE(Popy @ Jun 11 2006, 11:48 AM) View Post

You can launch a script like it was before:

<onclick>XBMC.RunScript(Q:\skin\MC360\extras\gametrailers.py)</onclick>

 Here you can see how to modify the phyton script to launch your dvd2xbox from xbmc!

pOpY


ok why use a script to do a onclick
<onclick>f:\apps\dvd2xbox\default.xbe)</onclick>
Logged

Aaries

  • Archived User
  • Jr. Member
  • *
  • Posts: 52
Add "homebrew" Button To Games Blade
« Reply #19 on: June 21, 2006, 09:58:00 PM »

Ok, so why doesn't this work?

<onclick>XBMC.RunScript(Q:XBMCscriptsXBMCScriptsInstaller.py)</onclick>

(I don't know why the slashes aren't showing up, but they're there).

That's the directory it's in and everything...I click on the button I added and nothing happens.  The script works fine if I go into the "scripts" section and browse to it.  I just wanted a 1-click access to it.

This is a screenshot of what I'm talking about:

(IMG:http://www.aarongentry.com/screenshot000.jpg)

This post has been edited by Aaries: Jun 22 2006, 05:16 AM
Logged

Aaries

  • Archived User
  • Jr. Member
  • *
  • Posts: 52
Add "homebrew" Button To Games Blade
« Reply #20 on: June 21, 2006, 10:23:00 PM »

Here's the full section of code:

<control>
                <description>Download Push Button</description>
                <type>button</type>
                <id>8</id>
                <posx>77</posx>
                <posy>180</posy>
                <width>281</width>
                <height>270</height>
                <onleft>8</onleft>
                <onright>2</onright>
                <onup>7</onup>
                <ondown>10</ondown>
                <texturefocus>homebutton-4a.png</texturefocus>
                <texturenofocus>-</texturenofocus>
                <pulseonselect>no</pulseonselect>            
                <onclick>XBMC.RunScript(Q:\XBMC\skin\MC360\extras\Installer.py)</onclick>
                <visible>!Control.HasFocus(2)</visible>
                <animation effect="fade" time="100">WindowOpen</animation>
</control>


(Yes, I changed the directory to the suggested one...obviously it didn't help)


This post has been edited by Aaries: Jun 22 2006, 05:24 AM
Logged

Nagi

  • Archived User
  • Newbie
  • *
  • Posts: 22
Add "homebrew" Button To Games Blade
« Reply #21 on: June 23, 2006, 01:14:00 PM »

Well you are missing one of the line. you have to have a line that says xbmc.Activatewindow and the window number. I was have the same problem. but I got scripts to run and dvd 2 xbox. I replace the games trailer button and the the video trailers button.. on media and on games
Logged

Aaries

  • Archived User
  • Jr. Member
  • *
  • Posts: 52
Add "homebrew" Button To Games Blade
« Reply #22 on: June 23, 2006, 03:03:00 PM »

Yeah, I've tried adding that line in, too with the same results.  Do you know what window I should be opening?  I tried opening 1117, Scripts, and another that I can't recall and if it works at all, it opens up that screen, but then nothing happens.  Can you show me the code you used to get your script to run, please?
Logged

Aaries

  • Archived User
  • Jr. Member
  • *
  • Posts: 52
Add "homebrew" Button To Games Blade
« Reply #23 on: June 24, 2006, 10:01:00 AM »

pretty please?  anyone?
Logged

EBear

  • Archived User
  • Full Member
  • *
  • Posts: 100
Add "homebrew" Button To Games Blade
« Reply #24 on: June 25, 2006, 06:15:00 AM »

Any idea on how the get the extra (4th) description text working?

Edit: Figured it out. (I feel stupid now, it was easy.)

This post has been edited by EBear: Jun 25 2006, 01:17 PM
Logged

sotu

  • Archived User
  • Sr. Member
  • *
  • Posts: 267
Add "homebrew" Button To Games Blade
« Reply #25 on: July 14, 2006, 04:09:00 AM »

QUOTE(sadalius @ Jun 10 2006, 05:54 AM) *

Thanks pOpY, that activated the button for me. Can you point me to somewhere that I can learn how to get my homebrew to show up when I click my new homebrew button?


With the new builds of xbmc that don't have the xbmc.xml you can make a bookmark by clicking your Homebrew button which will open your programs.  Then to make a bookmark click the white button and Add Source name it Homebrew and now your button will open the homebrew folder.

This post has been edited by sotu: Jul 14 2006, 11:12 AM
Logged

futurecheeto

  • Archived User
  • Newbie
  • *
  • Posts: 9
Add "homebrew" Button To Games Blade
« Reply #26 on: September 20, 2006, 11:09:00 AM »

anyone know how to do this with the new MC360, September build?
Logged
Pages: 1 [2]