[MOD] Add an internet browser-button (or any application) to Home-menu (Win7)
t2ffn
Fan Posts: 533 Joined: Oct 2009 Reputation: 0 |
2010-02-01 02:28
Post: #11
Double post.
(This post was last modified: 2010-02-01 02:31 by t2ffn.)
|
| find quote |
sraue
Team-XBMC Developer Posts: 796 Joined: Oct 2009 Reputation: 14 Location: Switzerland, Solothurn |
2010-02-01 02:50
Post: #12
t2ffn Wrote:Ok, tried it with internet explorer and still comes back with a windows cannot find C:\Program '. you can try (i dont know enough from windows): 1. <onclick>XBMC.System.Exec("C:\Program files\Mozilla Firefox\Firefox.exe")</onclick> (use quotes) 2. <onclick>XBMC.System.Exec(C:\Progra~1\Mozill~1\Firefox.exe)</onclick> 3. create an c:\firefox.bat with that contains: C:\Program files\Mozilla Firefox\Firefox.exe and use: <onclick>XBMC.System.Exec(C:\firefox.bat)</onclick> 4. setup path also to C:\Program files\Mozilla Firefox\ and use: <onclick>XBMC.System.Exec(Firefox.exe)</onclick>
(This post was last modified: 2010-02-01 13:43 by sraue.)
|
| find quote |
RustyCage
Junior Member Posts: 46 Joined: May 2006 Reputation: 0 |
2010-02-02 01:10
Post: #13
(This post was last modified: 2010-02-02 01:25 by RustyCage.)
|
| find quote |
sgkcem
Junior Member Posts: 2 Joined: Oct 2011 Reputation: 0 |
2011-10-17 06:00
Post: #14
I've ran this script and have gotten xbmc to launch the application (google chrome) how ever right after it opens the page xbmc pops back up and I have to alt+tab to bring up the page.
I'm running xbmc dharma build under the xii skin with win7 any thoughts ? sgkcem |
| find quote |
sgkcem
Junior Member Posts: 2 Joined: Oct 2011 Reputation: 0 |
2011-10-17 09:07
Post: #15
I was able to figure it out
Thanks for looking |
| find quote |
cuillin
Junior Member Posts: 3 Joined: Nov 2011 Reputation: 0 |
2011-11-23 10:01
Post: #16
t2ffn Wrote:Ok, tried it with internet explorer and still comes back with a windows cannot find C:\Program '. I'm having the same problem, I've tried using the the short 8.3 version of the filename and putting the filename in a .bat file and pointing the button to that, it still can't find it. I've tried, by way of experiment, pointing the button to a program which has no spaces in it's file address and that seems to work fine. Short of re-naming the whole file structure for the program I want, does anyone have any idea? Thanks |
| find quote |
keig
Junior Member Posts: 14 Joined: Sep 2011 Reputation: 0 |
2011-12-16 14:56
Post: #17
sgkcem Wrote:I was able to figure it out Would you like to give some information? How did you solve this problem? |
| find quote |
Ripster
Junior Member Posts: 1 Joined: Dec 2011 Reputation: 0 Location: Vernon, B.C. Canada |
2011-12-28 17:00
Post: #18
If you have a 32 bit WIN OS you need to use: C:\Progra~1\Mozill~1\firefox.exe
If you have a 64 bit WIN OS you need to use: C:\Progra~2\Mozill~1\firefox.exe "32bit" <item id="12"> <label>Internet</label> <onclick>XBMC.System.Exec(C:\Progra~1\Mozill~1\firefox.exe)</onclick> <icon>special://skin/backgrounds/firefox.jpg</icon> </item> "64bit" <item id="12"> <label>Internet</label> <onclick>XBMC.System.Exec(C:\Progra~2\Mozill~1\firefox.exe)</onclick> <icon>special://skin/backgrounds/firefox.jpg</icon> </item> Peace Out!!! |
| find quote |
Bert02
Junior Member Posts: 11 Joined: Feb 2012 Reputation: 0 |
2012-04-12 12:29
Post: #19
thanks i used this to setup one in aeon nox skin
a few things are diff XBMC INTERNET rename favourite 6 to INTERNET in XMBC main menu (aeon nox) - via the settings menu close xbmc open C:\Users\Bert02\AppData\Roaming\XBMC\addons\skin.aeon.nox\720p\Includes_MainMenu.xml in wordpad find this string this is a direct copy from my file Code: <include name="CustomMainFav6">change <onclick>XBMC.System.Exec(C:\Users\Bert02\Firefox.exe)</onclick> with location of exe bat etc a few things i have found i get the Quote:windows cannot find error...if i didnt have the correct lowercase/upper case i changed the location from the one with spaces but then found the casing to be my problem after it still didnt work i dont know if you use the quotation marks that it may not be a problem with the spaces "C:\Users\Bert02\Firefox.exe" |
| find quote |

![[Image: userbar-openelec-001.gif]](http://artwork.openelec.tv/userbar-openelec-001.gif)
![[Image: project_thin_badge.gif]](http://www.ohloh.net/p/openelec/widgets/project_thin_badge.gif)
Search
Help