adds Posted May 17, 2008 Share Posted May 17, 2008 ello im making a programme for my laptop as the touchpad driver keeps locking up and crashing and i want a programme which will restart the process. so far i have this CODE#include <process.au3> If Not ProcessExists ("SynTPEnh.exe") Then Run (C:\Windows\System32\DriverStore\FileRepository\synpd.inf_97429c2a\SynTPEnh.exe) Else Sleep (3000) EndIf how can i keep this open and running? and how can i add it to start at start up? thanks adds Link to comment Share on other sites More sharing options...
UPSman2 Posted May 17, 2008 Share Posted May 17, 2008 while 1 If Not ProcessExists ("SynTPEnh.exe") Then Run (C:\Windows\System32\DriverStore\FileRepository\synpd.inf_97429c2a\SynTPEnh.exe) Else Sleep (3000) wend EndIf Link to comment Share on other sites More sharing options...
adds Posted May 17, 2008 Author Share Posted May 17, 2008 cheers bro Link to comment Share on other sites More sharing options...
martin Posted May 17, 2008 Share Posted May 17, 2008 while 1 If Not ProcessExists ("SynTPEnh.exe") Then Run (C:\Windows\System32\DriverStore\FileRepository\synpd.inf_97429c2a\SynTPEnh.exe) Else Sleep (3000) wend EndIf I think you meant more like this (I hope you meant..) While 1 If Not ProcessExists("SynTPEnh.exe") Then Run(C:\Windows\System32\DriverStore\FileRepository\synpd.inf_97429c2a\SynTPEnh.exe) Else Sleep(3000) EndIf WEnd Serial port communications UDF Includes functions for binary transmission and reception.printing UDF Useful for graphs, forms, labels, reports etc.Add User Call Tips to SciTE for functions in UDFs not included with AutoIt and for your own scripts.Functions with parameters in OnEvent mode and for Hot Keys One function replaces GuiSetOnEvent, GuiCtrlSetOnEvent and HotKeySet.UDF IsConnected2 for notification of status of connected state of many urls or IPs, without slowing the script. Link to comment Share on other sites More sharing options...
TnTProductions Posted May 17, 2008 Share Posted May 17, 2008 if you look at the thousands of other posts here you'll always see the while1 wend functions used just check alot "FREEDOM is not FREE""Its a good thing war is so terrible, or we grow too fond of it" -Robert E. Lee[quote]Firestrom: global $warming = False[/quote]My scripts:Desktop Cleaner---->Total Downloads:167;;;;;;;;;;1;;;;;;1;;;;;;;;;;;;;11;;;;;;;;;;;;;;;;1;;;;;;1;;;;;;;;;;;;;11;;;;;;;;;;;;;;;;1;;;;;;1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;111111;;;;;;;;;;;;;;11;;;;;;;;;;;;;;;;1;;;;;;1;;;;;;;;;;;;;;11;;;;;;;;;;;;;;;;1;;;;;;1;;;;;;;;;;;;;;11;;;;;;"a wise man once said why use your skills when we have technology" 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