MediaPortal Wiki > MediaPortal 1 > Extensions > Plugins > IRSS (IR Server Suite) > Apps > Macro Editor > External Program

External Program

Was this page helpful?
  • You do not have permissions to view this page - please try logging in.
Table of contents
No headers
edit.png

On 20 Sep 2010, chefkoch suggested that this page or content is incomplete and needs to be expanded or rewritten -

external_program.png

This window is for setting up the "Run" command to launch applications.

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.



Go to top
Powered by MindTouch
Running the latest version?
V1.2.3 - released April 2012
Releasenews | Download
Changelog
 | Requirements
opensource-logoTeam-MediaPortal 
About
Contact |  Press
Partners