Pause when Click on Box

allsystems

Client
Регистрация
08.07.2013
Сообщения
81
Благодарностей
1
Баллы
8
I am creating a very basic template to view URLs, All I need to do is view the URL for 3 second and make it load the next URL. I have 2 problem. I need Zenno Window to always open in full screen and I also need a button in the top right of Zenno. This button must have option "Pause". If I click this then the template pause at the action. It must also have button "Resume". This is so I can pause at URL I like and resume when I need to. Any ideas how to do this? Much appreciate to anyone who helps.

Thanks
 

bigcajones

Client
Регистрация
09.02.2011
Сообщения
1 216
Благодарностей
683
Баллы
113
For the pause, do a word processing action put this old macro and set it to a variable...

{-JS.Alert-|-All Hail The King!-}

To set the instance to open full size, use this c# code as the first action in your template....

Код:
foreach (var screen in System.Windows.Forms.Screen.AllScreens)
{
    if(screen.Primary)
    {
        instance.SetWindowSize(screen.WorkingArea.Width,screen.WorkingArea.Height);
                return 0;
    }
}
 

allsystems

Client
Регистрация
08.07.2013
Сообщения
81
Благодарностей
1
Баллы
8
Thanks homie. Big CA has been helping me for a while now :-)
 

Кто просматривает тему: (Всего: 1, Пользователи: 0, Гости: 1)