I have a VBScript program that I'd to automate using Robotask but it just fails every time it hits a WScript object. I searched the forums and found solutions to replace some of the WScript methods but I can't find a way to mimic the WScript.Quit() method.
Is this possible or do I need to use a whole bunch of If() statements instead of just quitting the program early.
			
			
									
						
										
						How do you use WScript object in Robotask VBscript action
Re: How do you use WScript object in Robotask VBscript action
Exit statement? 
Read more here
			
			
									
						
							Read more here
Oleg Yershov
			
						Re: How do you use WScript object in Robotask VBscript action
I don't think that's the purpose of Exit. It needs a qualifier like Do or Sub.
			
			
									
						
										
						Re: How do you use WScript object in Robotask VBscript action
Stop statement stops the script in RoboTask environment.
			
			
									
						
							Oleg Yershov