How can I pass commands from Nscript to...
Articles and Tips: qna
01 Mar 2003
Q.
How can I pass commands from Nscript to the NLM screen (not console)? Is it possible from Nscript?
A.
NetBasic 6 has such features. You could try a script similar to following, which sends EXIT and a 'Enter' key to the Test Screen:
#include "key.h" Sub Main CR = DATA:CHAR(13) i=0 Do While (i<= 10) KEY:Write ("EXIT"+CR, "TEST Screen") i=i+1 EndDo End Sub
* Originally published in Novell AppNotes
Disclaimer
The origin of this information may be internal or external to Novell. While Novell makes all reasonable efforts to verify this information, Novell does not make explicit or implied claims to its validity.