Pause when Click on Box

  • Автор темы Автор темы allsystems
  • Дата начала Дата начала

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
 
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;
    }
}
 
Thanks homie. Big CA has been helping me for a while now :)
 

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