Hi I am running my script from cmd pmpt,is it possible to get a value back at the cmd pmpt screen from the script. Suppose I am using ReadScreen to get value from emulation screen into a variable ,say name now is there any way I can pass that value back to cmd pmpt .
#RumbaHi
Unfortunately not, there is no way for a Rumba script to return anything back to your command prompt.
To get around this you can have your script write set an environment variable which you can then read from your batch file.
I've not tested it, but I believe using SetEnvironmentVariable from Kernel32.dll to set the variable should work.
Regards,
Tom
Hi I am running my script from cmd pmpt,is it possible to get a value back at the cmd pmpt screen from the script. Suppose I am using ReadScreen to get value from emulation screen into a variable ,say name now is there any way I can pass that value back to cmd pmpt .
#RumbaHi
Unfortunately not, there is no way for a Rumba script to return anything back to your command prompt.
To get around this you can have your script write set an environment variable which you can then read from your batch file.
I've not tested it, but I believe using SetEnvironmentVariable from Kernel32.dll to set the variable should work.
Regards,
Tom
Hi I am running my script from cmd pmpt,is it possible to get a value back at the cmd pmpt screen from the script. Suppose I am using ReadScreen to get value from emulation screen into a variable ,say name now is there any way I can pass that value back to cmd pmpt .
#RumbaHi
Unfortunately not, there is no way for a Rumba script to return anything back to your command prompt.
To get around this you can have your script write set an environment variable which you can then read from your batch file.
I've not tested it, but I believe using SetEnvironmentVariable from Kernel32.dll to set the variable should work.
Regards,
Tom