Search the Community
Showing results for tags 'duplicate'.
_SingleScript UDF Close all executing scripts with the same name and continue. or Wait for completion of predecessor scripts with the same name. or Exit if other scripts with the same name are executing. or Test, if other scripts with the same name are executing. See UDF header for details and examples. _SingleScript.au3
Could someone please explain to me how you can use Func_SearchLastState more than once in the same script. My situation is I am trying to use it in the same script under different case scenarios: e.g. Case 1 Func_SearchLastState($sMachine) Case 2 Func_SearchLastState($sLaptop) Even though these are under different case scenarios the Func_SearchLastState is getting picked up as a duplicate function name. How can I use this function more than one in my script without getting the error?