How to reduce Maximum Thread by 1 in template?

Cyrix

Client
Регистрация
16.12.2011
Сообщения
390
Благодарностей
11
Баллы
18
Is it possible to reduce Maximum Thread by 1 using C# or actions in a template?
Thanks.
 

rostonix

Известная личность
Регистрация
23.12.2011
Сообщения
29 067
Благодарностей
5 715
Баллы
113
You'll need to know task id.
Right click on project - create bat file - set needed settings, save, open with notepad.
then you can use this as draft to create bat files within projects which you can run with "own program" action
 

Cyrix

Client
Регистрация
16.12.2011
Сообщения
390
Благодарностей
11
Баллы
18
You'll need to know task id.
Right click on project - create bat file - set needed settings, save, open with notepad.
then you can use this as draft to create bat files within projects which you can run with "own program" action
Does the task id remain the same after I remove the template and add it back on?
Also would it remain the same if I restart the computer?

Is there a dynamic way to return the task id the template is running?

Thanks.
 

rostonix

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

lokiys

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

Cyrix

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

Cyrix

Client
Регистрация
16.12.2011
Сообщения
390
Благодарностей
11
Баллы
18
You'll need to know task id.
Right click on project - create bat file - set needed settings, save, open with notepad.
then you can use this as draft to create bat files within projects which you can run with "own program" action
I created a bat file, but from the Edit I didn't see where it can specify number of maximum threads.
It reads something like this
"C:\Program Files (x86)\ZennoLab\ZennoPoster Pro\Progs\TasksRunner.exe" -o StartTask -ids afcb1bac-3cf7-435a-b1c7-a2d58ac0f9f0
 

rostonix

Известная личность
Регистрация
23.12.2011
Сообщения
29 067
Благодарностей
5 715
Баллы
113
next build will have ability to operate with tasks via C# without tasks ids.
 
  • Спасибо
Реакции: lokiys

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