Erik,
Isn't...
Do
Sleep 1
Until SetFocus("Telephony LAN-Linx Config") = 0the same as?
While
$RC = SetFocus("Untitled - Notepad") <> 0
Sleep (1)
Loop
JVD,
You probaably will need to write separate code for W95. Have you tried running it with debug on? That way you can single-step and dump variables to try and get a handle on what is happening.
I'm trying to grasp your last question. Are you wanting to run two instances of Kix at one time, one for the usual logon (mapping etc.) and the other for maintenance(installs etc.)? As far as I know they need to run in sequence. Here's a excerpt from my logon bat file:
code:
:KIX_W95_LOCAL
%windir%\KIX32.EXE %0\..\NAV.KIX
%windir%\KIX32.EXE %0\..\MDM.KIX
%windir%\KIX32.EXE %0\..\SC3.KIX
%windir%\KIX32.EXE %0\..\O301120.kix
GOTO END:KIX_NT_LOCAL
%0\..\KIX32.EXE %0\..\NAV.KIX
%0\..\KIX32.EXE %0\..\SC3.KIX
%0\..\KIX32.EXE %0\..\O301120.kix
GOTO END
:END
EXIT
I know I should combine all the scripts into one with only one call to cut down on the number of times that Kix gets loaded but I just haven't gotten around to it. Also, I don't have much code as my main logon script is on my NetWare server.