Subscribe Bookmark RSS Feed

how to create a dialog box that opens full script which are connected to each other

matoirich

Community Member

Joined:

Nov 6, 2014

how to create a dialog box that opens full script which are connected to each other?

1 REPLY
pmroz

Super User

Joined:

Jun 23, 2011

Use NEW WINDOW, and in the OK button handler section, use INCLUDE to run a program.  Here's a simple example:

nw = new window("Test Window",

    text box("Click OK to run the program"),

    hlistbox(

        button box("OK",

            include("c:\temp\myprogram.jsl");

            nw << close window;

        ),

        button box("Cancel", nw << close window)

    )

);