Launching Background Commands (from old TGB forums)

Post Reply
tad

Posts: 226
Joined: Thu Aug 30, 2012 2:55 am
Location:

HTPC Specs: Show details

Launching Background Commands (from old TGB forums)

#1

Post by tad » Tue Nov 05, 2013 5:49 pm

In early 2009, two original greenbutton members wrote a dll that allowed Media Center users to run Background Commands from an entrypoint (by default located in the Extras Library, but movable to a menu strip using Media Center studio).

They wrote a .dll named MissingRemote.AppLauncher.dll. The process for using the .dll is described in this blog post: http://www.hack7mc.com/2009/12/launchin ... brary.html

I haven't used this in years, but now I want to use it to control some lighting scenes on my vera. However, 7MC throws an "Invalid Application" error when I try to run the command using this dll. It looks like the .dll is not compatible with Windows 7.

So, does anyone know of an updated version of this, or an alternate way to accomplish the same thing?

I can setup an entry point in Media Center Studio that will call the batch file I need, but it minimizes Media Center, invokes the batch file, and then maximizes media center again. This is very disruptive (the original DLL ran the command entirely from the background).

barnabas1969

Posts: 5738
Joined: Tue Jun 21, 2011 7:23 pm
Location: Titusville, Florida, USA

HTPC Specs: Show details

#2

Post by barnabas1969 » Tue Nov 05, 2013 6:34 pm

Check out Relaunch. Read this:
http://thedigitallifestyle.com/w/index. ... ia-center/

Or, you could use Richard1980's VB Script code to launch the command window in hidden mode.

tad

Posts: 226
Joined: Thu Aug 30, 2012 2:55 am
Location:

HTPC Specs: Show details

#3

Post by tad » Tue Nov 05, 2013 7:03 pm

barnabas1969 wrote:Check out Relaunch. Read this:
http://thedigitallifestyle.com/w/index. ... ia-center/

Or, you could use Richard1980's VB Script code to launch the command window in hidden mode.
Thanks - I looked at Relaunch but it looks like that will minimize/close media center to run the script (the same way an entrypoint created by Media Center Studio behaves). Am I incorrect?

I'll take a look at the VB Script code from Richard1980... any idea where to find that?

barnabas1969

Posts: 5738
Joined: Tue Jun 21, 2011 7:23 pm
Location: Titusville, Florida, USA

HTPC Specs: Show details

#4

Post by barnabas1969 » Tue Nov 05, 2013 10:44 pm


Post Reply