Is there a way to write in script action by writing something in Input Dialogue action??
Actually want to add elements in script by using input dialogue.
Write in script action
Moderator: Martin
Re: Write in script action
Hi,
I'm not sure if I understand your question properly but you could create a global variable with a list and add element to this list with a script:
Following script would add a new element to the list that contains the text of the value entered in the input dialog (when the input dialog was closed with OK):
The first block checks if the list already exists, if not, it creates an empty list.
The second block checks if the input dialog was closed with OK, if yes, it adds the value to the list.
Regards,
Martin
I'm not sure if I understand your question properly but you could create a global variable with a list and add element to this list with a script:
Following script would add a new element to the list that contains the text of the value entered in the input dialog (when the input dialog was closed with OK):
Code: Select all
if (global_list==null)
{
global_list = newList();
}
if (operation=="ok")
{
addElement(global_list, value);
}
The second block checks if the input dialog was closed with OK, if yes, it adds the value to the list.
Regards,
Martin