DexterMorgan Posted March 7, 2008 Share Posted March 7, 2008 I want to make a script but i am running into a problem pretend my script looks like this While 1 Msgbox(0,"something,"something") Sleep(10000000) Msgbox(0,"something,"something") Wend While 1 processclose("Tskmgr.exe") Wend Now how can i make it both happen at the same time??? If i run this it would only do the first part. And if i put the Process close part in the first one then it would sleep... Please help me Thank you in advanced Sorry if it is a stupid question i tend to ask a lot of stupid questions code Link to comment Share on other sites More sharing options...
ReaImDown Posted March 7, 2008 Share Posted March 7, 2008 I want to make a script but i am running into a problem pretend my script looks like this While 1 Msgbox(0,"something,"something") Sleep(10000000) Msgbox(0,"something,"something") WendWhile 1 processclose("Tskmgr.exe")Wend Now how can i make it both happen at the same time??? If i run this it would only do the first part. And if i put the Process close part in the first one then it would sleep...Please help me Thank you in advanced Sorry if it is a stupid question i tend to ask a lot of stupid questionsadlibenable("Check")While 1 Msgbox(0,"something,"something") Sleep(10000000) Msgbox(0,"something,"something") Wendfunc Check() processclose("Tskmgr.exe")endfunc [u][font="Century Gothic"]~я α и d γ ĵ . ċ . ѕ қ ϊ и и ε я~- My Programs -auto shutdownSleep funcdisallow programs[/font][/u] Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now