10-09-2011, 07:30 AM
Create function that ends the macro.
Use tim to run the function after 6 hours.
Function start_my_macro
Function end_my_macro
---------
Or let the macro end itself after 6 hours. Probably the macro does something repeatedly. Then it can use GetTickCount to see how long it is running.
Macro Macro1582
Use tim to run the function after 6 hours.
Function start_my_macro
mac "my_macro" ;;run macro "my_macro"
tim 6*60*60 end_my_macro ;;after 6 hours run function "end_my_macro"Function end_my_macro
---------
Or let the macro end itself after 6 hours. Probably the macro does something repeatedly. Then it can use GetTickCount to see how long it is running.
Macro Macro1582
