HELP - xml code to run Launcher option or external application from custom menu?

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
john.doe Offline
bugmenot login
Posts: 495
Joined: Aug 2010
Reputation: 0
Question  HELP - xml code to run Launcher option or external application from custom menu? Post: #1
Hey all

My coding experience is limited, but I'm trying to customize the xml of Confluence to make Google Chrome launch from the home menu screen. I've created a menu item for it but the best I can do is run Launcher, and select Chrome from there. ie:

<onclick>ActivateWindow(Programs,plugin://plugin.program.launcher,return)</onclick>

Can anyone tell the code to launch Chrome directly, rather than linking to Launcher first? I figure it could be done either by linking to Chrome within launcher, or linking to chrome as an external application.

Thanks!
find quote
john.doe Offline
bugmenot login
Posts: 495
Joined: Aug 2010
Reputation: 0
Post: #2
I could link to Chrome externally with something like this:

<item id="15">
<label>WWW</label>
<onclick>XBMC.System.Exec("C:\Progra~1\XBMC\www\op era.exe")</onclick>
<icon>special://skin/backgrounds/network.jpg</icon>
</item>

However, I'm running XBMCLive and have no idea what to put in place of "C:\Progra~1\XBMC\www\op era.exe". I know that the application resides in /opt/google/chrome
find quote