Hi,
I am trying to use the following script which, after running overnight I found gives a "Recursion error - limit reached" type of error.
This is the code I am trying to use:
Loop()
Func Loop()
; Check if Powerpoint is running
If ProcessExists("powerpnt.exe") Then
Sleep(15000)
Call("Loop")
Else
Run("C:\\scripts\\open.bat", "", @SW_HIDE)
Sleep(10000)
Send("U")
Sleep(8000)
Send("{F5}")
Call("Loop")
EndIf
EndFunc ;Loop
I found Recursion in the Wiki which gives an example on how it works, and how to work around it - but my script does not have any +1 type counter in there which i can implement an If x(limit) reached then Return ;
----Source: https://www.autoitscript.com/wiki/Recursion
Any help would be really appreciated.
Kyle