WinBatch Tech Support Home

Database Search

If you can't find the information using the categories below, post a question over in our WinBatch Tech Support Forum.

TechHome

UDF - UDS Library
plus
plus
plus
plus
plus
plus
plus
plus
plus
plus
plus
plus
plus
plus
plus
plus
plus
plus
plus
plus
plus
plus
plus

Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.

UDF Serial Sendkey Resource Lock

Keywords: 	 UDF Serial sendkey lock  serial resource lock

#DefineFunction WAITSendKeysTo(w,k)

;Get Serial Resource Lock
while 1
   ErrorMode(@off)
   handle=FileOpen("C:\serial.lock","WRITE")
   ErrorMode(@cancel)
   if handle !=0 then break
   TimeDelay(1)
endwhile


SendKeysTo(w,k)

;Free Serial Resource Lock
FileCLose(handle)
return (1)
#EndFunction

Article ID:   W15320
File Created: 2002:09:05:13:51:20
Last Updated: 2002:09:05:13:51:20