Seitenhierarchie

  Wiki Navigation

    Loading...


 Recently Updated


 Latest Releases

 MediaPortal 1.32
            Releasenews | Download
 MediaPortal 2.5
            Releasenews | Download


Overview

The "Run Program" command can be used to launch applications or other files.

Configuration

  • Program - Type in the file path to the application you want to run, or select the executable by clicking the "..." button.
  • Start in folder - This is the folder the program will be launched from, this will affect software that then tries to access other files through the use of relative paths. By default, when you select the program executable the plugin will automatically fill in the start folder and you should only need to change this in special circumstances. You will know when.
  • Parameters - Type in any command line parameters you wish to pass to the application. You will need to put in special command line parameters if you are using this program for channel changing on a set top box. If you have set up the program from the External Channel Changing dialog you will see a "?" button to the right of the parameters field. Clicking this button will show a list of special parameters for external channel changing if applicable, they are:
    • %1 = Current channel number digit (-1 for Select/Pre-Change)
    • %2 = Full channel number string
  • Window Style - Choose how the external program should appear, this can be either in a normal window, maximised window, minimised window or hidden.
  • No Window - Set this option to stop the program from creating a window when run.
  • Start using ShellExecute -  This option determines if the program should be launched by the "ShellExecute" command. ShellExecute lets you specify non-executable file types, like .txt or .html, or even shell recognised commands like web addresses or "mailto:" commands. These types of commands are then executed using the program that is associated to them. For example, specifying a .html file as the program will launch your default web browser and load that file.
  • Wait for exit - This will make MediaPortal wait until the program has finished before moving on.
  • Force window focus - This will attempt to force the application's main window into focus. Try enabling this option if you find you application is launched but without focus.

Links

Command-SourceCode

Config-SourceCode

   

 

  • Keine Stichwörter

This page has no comments.