# ActionDetails_Str

VALUE:
rem This first line allows the project to complete before closing it
TIMEOUT 1

rem This second line kills the process
taskkill /F /FI "USERNAME eq %username%" /IM [*APP_FILE]

rem This third line waits for a second before reopening the project
TIM


VALUE:
EOUT 1

rem This fourth line reopens the project and runs it
start "[*APP_NAME]" "[*APP_PATH]" /Open [*PROJECT_PATH] /Run


# Actions

NOTES:
Make sure to create a variable in the beginning of the script storing the start time


NOTES:
Create a Date variable with English-US format


NOTES:
Set the variable to the current time (the moment of starting the project) in English-US format


NOTES:
These are some typical actions in the beginning of the project before starting the forever loop


NOTES:
If the script has been running for 1 or more minutes, it will exit the loop and restart the process


NOTES:
Make sure to run this last part on full speed


NOTES:
Create a variable to store the file path of the bat file


NOTES:
Set the file path of the bat file to be the same directory of the project file


NOTES:
Create the bat file that will close and reopen the project


NOTES:
Open to run the bat file that closes and reopens the project


