Radimus,
Thanks for the quick reply. I see now it was in fact your modified UDF. I tried adding your code but it still won't open a browser. Here's my current code, can you see anything wrong ?(or right..hehe). I'm sorry for the ignorance, i'm not used to UDF's
code:
break on
:top
if not findproc("iexplore.exe')
run "c:\program files\internet explorer\iexplore.exe"
endif
sleep 5
goto top
FUNCTION FindPROC($PROC,optional $COMPUTER, optional $terminate)
dim $GetObject, $Select
if not $computer
$computer=@wksta
endif
$GetObject="winmgmts:{impersonationLevel=impersonate}!//$COMPUTER"
$select="select * from Win32_Process where Name='$PROC'"
For each $Process in GetObject("$GetObject").ExecQuery("$select")
if $terminate
$Process.Terminate
endif
$FindPROC=$Process.ProcessId
Next
ENDFUNCTION
Thanks again
_________________________
----------------------------
Diane
Confucious say: Woman who keep washing liquid on top shelf, jump for joy