
Wolfie
Canada
Asked
— Edited

New Feature Request
Hello im hoping a new script feature can bee added soon many of my scripts are on hold till this feature gets implamented what it is is something like Get? that when called up in a script it will open a little window that you type your string into with out having to add anything else to the string then hit enter then what it does is add the typed string into a $variable
$variable = Get?
This will greatly add to the scripts as it will help with creating "learning" scripts
I dont think it will be hard to implament from what ive seen sofare
I really would appreciate this feature
I do appreciate all you at EZ-Robot does for us as I know many many others on here do to
ok I don't know why it saying I selected that I require assistance when I selected general :S
Add the script console and just write the command i.e. $variable = "variable"
How do you plan to use the variable though? Can you give an example of when this would be required?
you could have the command wait for a variable to change, and then use it. This also would allow you to use voice commands to set the variable. Let me find the thread that I do this in because I am not at my computer with my project on it right now.
near the end of this thread
I need the scripts to be able to ask for needed input and be able to add the info on the fly with out having to open and edit a script that way the bot can learn many of my scripts need info on the go to work scripts like games and stuff or the scripts will not work at all and cant interact with the user and learn
Voice commands only work with pre scripted voice commands and not with new info the variables that change will be the ones the scripts need info for on the fly when I user plays a game they don't stop to open a script and program there name or other info into a script the only real way of doing it is to have the script pop up a little window that asks for the needed info with that feature scripts will be able to learn as they go
If it's a set phrase list (regardless of how big it may need to be) you can use voice prompts to wait for the answer.
You could quite easily write a small application in c#, python, php etc. to send these variable values too. When a question is asked it pops up the application or webpage (which can be done with the exec() command) and waits for user input. The web page, app etc. would then set the variable by talking to ARC through telnet, the script would then detect a change in the variable and continue.
I expect DJ could add in a command for that however in the mean time there are workarounds.
so what you are looking for is a popup box that has a textbox in it. The textbox would be allowed to insert any data into it. when the person hits enter, the textbox would pass the data to a variable that would then be readable by a script. The script would do as listed above "WaitForChange($QuestionAnswer)". I assume that you would want to be able to define the name of the variable that you want this data to be stored in. Does that cover it?