[RELEASE] Launcher - application launcher plugin for Linux, Mac, Windows, and Xbox

  Thread Rating:
  • 7 Votes - 4.86 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
ronie Offline
Team-XBMC Member
Posts: 8,254
Joined: Jan 2009
Reputation: 108
Post: #291
slacker666 Wrote:maybe there is a problem for me starting xbmc automatically, could you go throw every step you make for it to run?

Have you already made these changes:
http://forum.xbmc.org/showpost.php?p=286...tcount=248

If not, you should do so, otherwise Launcher won't work properly.

Next create a file and copy the three lines of code in my previous post.
Next make the file executable.

There's nothing more to it, i guess. You can now launch the firefox.sh script with the Launcher plugin.
find quote
empty Offline
Senior Member
Posts: 147
Joined: Jan 2007
Reputation: 0
Location: Germany
Post: #292
ronie Wrote:Have you already made these changes:
http://forum.xbmc.org/showpost.php?p=286...tcount=248

If not, you should do so, otherwise Launcher won't work properly.

Next create a file and copy the three lines of code in my previous post.
Next make the file executable.

There's nothing more to it, i guess. You can now launch the firefox.sh script with the Launcher plugin.

Thanks a lot that was the problem with the new special folder Wink
find quote
Livin Offline
Posting Freak
Posts: 3,432
Joined: May 2004
Reputation: 17
Location: above ground
Post: #293
Is there a way to directly launch an EXE from the Home menu - without going into the Launcher menu? Smile

thx

I'm not an expert but I play one at work.
find quote
kricker Online
Team-XBMC QA Specialist
Posts: 3,307
Joined: Apr 2004
Reputation: 16
Location: Knoxville, TN
Post: #294
Livin Wrote:Is there a way to directly launch an EXE from the Home menu - without going into the Launcher menu? Smile

thx
You can do it directly using XBMC built in functions. Gimme a minute and I'll post an example.

Built in:
Code:
<item id="2">
    <description>SageTV</description>
    <label>SageTV</label>
    <onclick>XBMC.System.Exec("C:\Program Files\EventGhost\EventGhost.exe" -e myTV)</onclick>
</item>
This is done from within Mediastream's home menu under the TV blade.

You can also execute the Launcher script from a home menu item, but I'm not sure how to actually choose one of those applications directly.
Code:
<onclick>XBMC.ActivateWindow(Programs,plugin://programs/Launcher)</onclick>

Read this before using these builds.
XBMC win32 SVN builds
Changelog
(This post was last modified: 2009-03-10 03:21 by kricker.)
find quote
Livin Offline
Posting Freak
Posts: 3,432
Joined: May 2004
Reputation: 17
Location: above ground
Post: #295
kricker Wrote:You can also execute the Launcher script from a home menu item, but I'm not sure how to actually choose one of those applications directly.
Code:
<onclick>XBMC.ActivateWindow(Programs,plugin://programs/Launcher)</onclick>

This is the issue I want to solve... how to directly launch a specific app using launcher, without using the launcher menu?

I figured I'd use Launcher since it tracks when the app is opened and closed so that XBMC comes back.

IMO this really would be best to be a native XBMC function, I hope someone codes it in SVN. Seems like <take this with grain of salt: I'm not a coder, but I work with them daily> that a process watch dog would be able to monitor the launched app for when it closes and maximize XBMC to full screen (or last screen state)?

I'm not an expert but I play one at work.
find quote
kricker Online
Team-XBMC QA Specialist
Posts: 3,307
Joined: Apr 2004
Reputation: 16
Location: Knoxville, TN
Post: #296
I know it is still not what you want, but this is doable using the
XBMC.System.ExecWait command without launcher.
Code:
<onclick>XBMC.System.ExecWait("D:\Communications\Firefox\firefox.exe" -p karl)</onclick>

Seems to do this with the XBMC.SystemExec command as well. I tested launching firefox, and both times XBMC minimized then restored itself when firefox was closed.

Read this before using these builds.
XBMC win32 SVN builds
Changelog
(This post was last modified: 2009-03-10 05:10 by kricker.)
find quote
Livin Offline
Posting Freak
Posts: 3,432
Joined: May 2004
Reputation: 17
Location: above ground
Thumbs Up    Post: #297
kricker Wrote:I know it is still not what you want, but this is doable using the
XBMC.System.ExecWait command without launcher.
Code:
<onclick>XBMC.System.ExecWait("D:\Communications\Firefox\firefox.exe" -p karl)</onclick>

Seems to do this with the XBMC.SystemExec command as well. I tested launching firefox, and both times XBMC minimized then restored itself when firefox was closed.

seems to work so far... this may just be the ticket!

thank you mucho! Big Grin

I'm not an expert but I play one at work.
find quote
kricker Online
Team-XBMC QA Specialist
Posts: 3,307
Joined: Apr 2004
Reputation: 16
Location: Knoxville, TN
Post: #298
Livin Wrote:seems to work so far... this may just be the ticket!

thank you mucho! Big Grin
I only have issues when I try to use it to launch something thru Evventghost. It sees Eventghost as closed after Eventghost triggers what it should and therefore XBMC maximizes itself back to the front when I'm not necessarily ready for it to be.

Read this before using these builds.
XBMC win32 SVN builds
Changelog
find quote
Livin Offline
Posting Freak
Posts: 3,432
Joined: May 2004
Reputation: 17
Location: above ground
Post: #299
kricker Wrote:I only have issues when I try to use it to launch something thru Evventghost. It sees Eventghost as closed after Eventghost triggers what it should and therefore XBMC maximizes itself back to the front when I'm not necessarily ready for it to be.

Why do you use EG to launch apps via XBMC? Why not just launch the using XBMC and monitor the event (open/close/etc) using EG?

I'm not an expert but I play one at work.
find quote
kricker Online
Team-XBMC QA Specialist
Posts: 3,307
Joined: Apr 2004
Reputation: 16
Location: Knoxville, TN
Post: #300
Because with Evenghost I can have SageTV restore from the tray to a specific screen by invoking a sage command. I can not do this with the XBMC execute.

Read this before using these builds.
XBMC win32 SVN builds
Changelog
find quote
Post Reply