thefudgeishot Posted April 26, 2019 Share Posted April 26, 2019 I know this is kinda basic but I only started today. The while 1 is not connecting to WEnd While 1 if ProcessExists("mesen.exe") Then Sleep(7000) Send("(F1 1)") Wend Link to comment Share on other sites More sharing options...
badcoder123 Posted April 26, 2019 Share Posted April 26, 2019 While 1 If ProcessExists("mesen.exe") Then Sleep(7000) Send("(F1)") EndIf Wend Link to comment Share on other sites More sharing options...
Subz Posted April 26, 2019 Share Posted April 26, 2019 Or While 1 If ProcessExists("mesen.exe") Then Sleep(7000) Send("(F1)") Else ExitLoop EndIf Wend ;~ Or While ProcessExists("mesen.exe") Send("{F1}") ;~ Assume you meant F1 key rather than (F1) - although could be wrong. Sleep(7000) Wend Link to comment Share on other sites More sharing options...
Developers Jos Posted April 26, 2019 Developers Share Posted April 26, 2019 Welcome to the AutoIt forum. Unfortunately you appear to have missed the Forum rules on your way in. Please read them now - particularly the bit about not discussing game automation - and then you will understand why you will get no help and this thread will now be locked. See you soon with a legitimate question I hope. The Moderation team SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
Recommended Posts