Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Need to see an example script using

Status
Not open for further replies.

Mjamm

IS-IT--Management
Dec 24, 2001
88
US
Need to see an example script using $CNCTMSG, if any one has one and doesn't mind sharing.
 
I played with this a little bit last night and it seemed the best thing to do was use when $CNCTMSG to call a procedure that got the value of $CNCTMSG whenever it changes.
aspect@aspectscripting.com
 
Knob.. Can you post an example of script? I can't figure out how to setup a procedure to utilize the command.

Any help would be appreciated.
 
This is off the top of my head, as I don't have a modem on my work machine:

proc main
when $CNCNTMSG call getmsg

...rest of your script goes here

endproc

proc getmsg
string sMsg

sMsg = $CNCTMSG

...process connect message, pass back to main procedure, etc.
endproc
aspect@aspectscripting.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top