JScript on startup screen - to close screen

 0 Replies
 0 Subscribed to this topic
 11 Subscribed to this forum
Sort:
Author
Messages
woody33
New Member
Posts: 1
New Member

    Hello,


    It is possible to close a screen on a startup script ?

     

    I tried 2 possibilities but it dosn't work :

     

    1.  

      var auto = new MFormsAutomation();

                auto.AddStep(ActionType.Key, "F3");

                var uriF3 = auto.ToUri();

                DashboardTaskService.Manager.LaunchTask(new Task(uriF3));

     

         2-

               controller.PressButton("F3");

     

    With a shorcut this solution works but not with a startup script.

    Anyone have an idea ?

    Thank you !