View Single Post
Old 10-03-2018, 08:02 AM
bgagnon bgagnon is offline
VanDyke Technical Support
Join Date: Oct 2008
Posts: 4,352
Hi King908,

Is the data in a specific/static location each time?

You can use Get() or Get2() as described in section 4.3 (Capturing Data from a Remote Machine) in the Scripting Essentials scripting guide available on our website here.

Note also that your three Send() calls at the end of the script can be concatenated as shown:
crt.Screen.Send "/opt/sun/directory command " & strAnswer & " disk " & chr(13)

VanDyke Software
Technical Support
(505) 332-5730
Reply With Quote