hi,
i sent this earlier but i don't see the post. i apologize if this becomes a duplicate post
here's my problem. i saw this coding from WinBlowsME here: but i can't get it to compile. i get an "Unknown function:Wait"
what do i need to do to correct this?
here's my code
thanks
zach
i sent this earlier but i don't see the post. i apologize if this becomes a duplicate post
here's my problem. i saw this coding from WinBlowsME here: but i can't get it to compile. i get an "Unknown function:Wait"
what do i need to do to correct this?
here's my code
Code:
Sub Main
Dim Sessions As Object
Dim System As Object
Set System = CreateObject("EXTRA.System") ' Gets the system object
Set Sessions = System.Sessions
Dim Sess0 As Object
Set Sess0 = System.ActiveSession
Sess0.Screen.SendKeys("<right><enter>")
Call Wait (Sess) 'this is where it's highlighted
Private Sub Wait(Sess As Object)
Do While Sess.Screen.OIA.Xstatus <> 0
DoEvents
Loop
End Sub
thanks
zach