interrupt to stop pause as well

Cyrix

Client
Регистрация
16.12.2011
Сообщения
390
Благодарностей
11
Баллы
18
Can you make "interrupt" to stop a running pause action?
Now it appears that it needs to wait for it to complete.
Thanks.
 

lokiys

Moderator
Регистрация
01.02.2012
Сообщения
4 770
Благодарностей
1 182
Баллы
113

Cyrix

Client
Регистрация
16.12.2011
Сообщения
390
Благодарностей
11
Баллы
18
But if the template is in the middle of a Pause action, Interrupt is not effective until the Pause is finished.
This request is to make Interrupt able to stop the Pause immediately.
 

lokiys

Moderator
Регистрация
01.02.2012
Сообщения
4 770
Благодарностей
1 182
Баллы
113
no pause action will interrupt as fast as you will press stop...

Example you have pause 60 sec and you press play and then after 5 sec you press stop and pause action will stop count seconds and will interrupt...
 

Cyrix

Client
Регистрация
16.12.2011
Сообщения
390
Благодарностей
11
Баллы
18
I don't know why mine isn't doing this. For example this:



When I press Interrupt, it becomes this


0% forever (or 9999 seconds), waiting for the Pause to complete - we can't do anything (and pressing the Start button simply makes it a star icon without any other effect) - project stuck.
 
Последнее редактирование:

lokiys

Moderator
Регистрация
01.02.2012
Сообщения
4 770
Благодарностей
1 182
Баллы
113
Oh sorry I talked about PM not zennoposter... :D

Yes in zennoposter interrupt will happen after action is finished...
Stop will happen when template is finished

This is how those options works
 

Cyrix

Client
Регистрация
16.12.2011
Сообщения
390
Благодарностей
11
Баллы
18
Yes, that why I was suggesting to interrupt the Pause immediately like in PM.
I think almost all users who use interrupt in ZP have the purpose of ending the project at that moment.
Thanks.
 

Tobbe

Client
Регистрация
01.08.2013
Сообщения
428
Благодарностей
148
Баллы
43
Yes, that why I was suggesting to interrupt the Pause immediately like in PM.
I think almost all users who use interrupt in ZP have the purpose of ending the project at that moment.
Thanks.
A work around for now could be to have it loop a great amount of times and set the pause time to a lower.
 

lokiys

Moderator
Регистрация
01.02.2012
Сообщения
4 770
Благодарностей
1 182
Баллы
113
Yes, that why I was suggesting to interrupt the Pause immediately like in PM.
I think almost all users who use interrupt in ZP have the purpose of ending the project at that moment.
Thanks.

If you really have pause for 9999 sec and you want to interrupt that then you can remove template and add it back...
 

Cyrix

Client
Регистрация
16.12.2011
Сообщения
390
Благодарностей
11
Баллы
18

Cyrix

Client
Регистрация
16.12.2011
Сообщения
390
Благодарностей
11
Баллы
18

Tobbe

Client
Регистрация
01.08.2013
Сообщения
428
Благодарностей
148
Баллы
43
Yes, but this way consumes CPU resource.
But thanks.
I don't think pausing it for 60 sec -> show an alert -> Repeat, would need that much memory. Throw in a counter and IF statement if needed.
Why would you need a 9999 sec delay as last action anyway? You could write a .txt in your project directory as last action and prevent a new thread from starting until it's deleted as well.
Either with a timer and delete action or manually.
 

rostonix

Известная личность
Регистрация
23.12.2011
Сообщения
29 067
Благодарностей
5 707
Баллы
113
Task was set to developers
 

lokiys

Moderator
Регистрация
01.02.2012
Сообщения
4 770
Благодарностей
1 182
Баллы
113
I can add more about interrupting - would be good if stop in PM mean Stop also when c# is executed, like if you press stop then it break out of c# action and not try to finish it... Same as in Zennoposter, Interrupt should mean immediately stop and not after action is finished...

I already wrote about this in thread http://zennolab.com/discussion/threads/poster-close-with-task-manager.15054/ I think this is because zenno try to wait while some actions finish and only then closes, but I think if close is pressed with red cross then it should close program right away...

Thanks
 

rostonix

Известная личность
Регистрация
23.12.2011
Сообщения
29 067
Благодарностей
5 707
Баллы
113
Added correction work for Interrupt function for pauses and email processing in ZennoPoster
Will ask about C# in PM
 
  • Спасибо
Реакции: lokiys

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