Discussion - new version 5.21.1.0

Deemer84

Administrator
Регистрация
10.05.2017
Сообщения
410
Благодарностей
84
Баллы
28
Questions&Feedback about new version 5.21.1.0.
 

VladZen

Administrator
Команда форума
Регистрация
05.11.2014
Сообщения
22 446
Благодарностей
5 905
Баллы
113
Variables can be saved to profile with the following C# code:
Код:
project.Profile.Save("C:\\profile.txt", saveVariables: new[]{"var1", "var10"});
 

sMax

Client
Регистрация
04.05.2011
Сообщения
132
Благодарностей
49
Баллы
28
@VladZen
Well hello there!

Good stuff,

A quick question. how can I pass variables into the plugins?

I have the plugin with the Botui, but I don't see how to pass variables into it
PluginVariable.PNG


In this example, how do I pass a 'Start Page' {-Variable.StartPage-} into that BotUi interface?
PluginVariable2.PNG


The version where it is set as a project in project with input variables works without a problem, The plugin one with the BotUi does not work (as I expect it to work). Please advise.

As always, thanks in advance

PS. when debugging this the projectmaker keeps giving "Debug Thread Errors" But i have no idea why or what for. at this point it only happens when debugging the template with the plugin .

edit 8/25/2018

O OH https://zennolab.com/discussion/threads/bot-ui.43634/

And I'm aware of this ..https://zennolab.com/discussion/threads/passing-objects-between-snippets-projects.38877/ ... But

Why can't the BotUi pass variables? or just made to use input variables...... If i am missing something, please point me in the right direction.
 
Последнее редактирование:

sMax

Client
Регистрация
04.05.2011
Сообщения
132
Благодарностей
49
Баллы
28
Последнее редактирование:

VladZen

Administrator
Команда форума
Регистрация
05.11.2014
Сообщения
22 446
Благодарностей
5 905
Баллы
113
@VladZen
Well hello there!

Good stuff,

A quick question. how can I pass variables into the plugins?

I have the plugin with the Botui, but I don't see how to pass variables into it
Посмотреть вложение 31566

In this example, how do I pass a 'Start Page' {-Variable.StartPage-} into that BotUi interface?
Посмотреть вложение 31567

The version where it is set as a project in project with input variables works without a problem, The plugin one with the BotUi does not work (as I expect it to work). Please advise.

As always, thanks in advance

PS. when debugging this the projectmaker keeps giving "Debug Thread Errors" But i have no idea why or what for. at this point it only happens when debugging the template with the plugin .

edit 8/25/2018

O OH https://zennolab.com/discussion/threads/bot-ui.43634/

And I'm aware of this ..https://zennolab.com/discussion/threads/passing-objects-between-snippets-projects.38877/ ... But

Why can't the BotUi pass variables? or just made to use input variables.... If I am missing something, please point me in the right direction.
You did right, passing variable works this way:
https://clip2net.com/s/3WsQ9LD
https://clip2net.com/s/3WsQgdv
 

Вложения

  • Спасибо
Реакции: sMax и morpheus93

sMax

Client
Регистрация
04.05.2011
Сообщения
132
Благодарностей
49
Баллы
28
Ok @VladZen, Thanks.
Back to debugging.
 

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