Announcement

Collapse
No announcement yet.

play video with portable program

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • play video with portable program

    hi
    me define video, but want video play with portable program in root
    any can help me how can run "a.mp4" with program b that is in this path: "doc//b.exe"
    thanks

  • #2
    Got to Project > File Layout, and add the video player program to your project. You want to copy it to the root, which can be done like this:

    Click image for larger version

Name:	SCRN-2017-06-06-01.png
Views:	166
Size:	40.0 KB
ID:	297894

    Open the script editor on a tab where you want to play the file, and start the Action Wizard:

    Click image for larger version

Name:	SCRN-2017-06-06-02.png
Views:	54
Size:	18.5 KB
ID:	297895

    Select the "File.Run" action, because you want to run a program.

    Click image for larger version

Name:	SCRN-2017-06-06-03.png
Views:	63
Size:	84.5 KB
ID:	297896

    Now select the program you wish to run. Click on the "Browse" button, hidden at the end of the line:

    Click image for larger version

Name:	SCRN-2017-06-06-04.png
Views:	62
Size:	86.5 KB
ID:	297897

    Navigate to the root of your project, by first clicking "My Project" in the left pane, then clicking the "Up" icon until you reach the CD root folder.

    Click image for larger version

Name:	SCRN-2017-06-06-05.png
Views:	46
Size:	19.5 KB
ID:	297898

    Once you reach the root folder, select the program you wish to run:

    Click image for larger version

Name:	SCRN-2017-06-06-06.png
Views:	61
Size:	22.6 KB
ID:	297899

    Now set the path to the video file you wish to open with the player as the argument, unless the program requires additional options/switches. Once done, click Finish.

    Click image for larger version

Name:	SCRN-2017-06-06-08.png
Views:	77
Size:	88.1 KB
ID:	297900

    You should have now a working Lua script which opens a certain video file using an external program, found in the root of the project.

    Ulrich

    Comment

    Working...
    X