Jump to content
Simio Forum

Welcome to the Simio Forum

Welcome to the Simio Forum! Experience the full experience of the forum by becoming a Simio Insider! You must be an Insider to post on any forum!


New Software Release

Our latest release, Simio 11, is here!

Sign in to follow this  

Saving SIMIO experiments automatically while they run.

Recommended Posts

I have been running very large experiments that take a few days to run. Murphy's law seems to interfere through either power outages or automatic updates which can cost me a couple of days of computer time. So I found some code using autohotkey and modified it to work great with SIMIO. autohotkey is a free download and easy to use. The below code runs a loop which hits {control S} on the SIMIO window if it is open every 10 minutes.


;run a loop 100 times saving every ten minutes if your SIMIO file is open.

loop, 100


;save file every 10 minutes

MsgBox, Iteration number is %A_Index%.

setTimer, AutoSave, 6000000,on


IfWinActive, ;name_of_simio_file_without_spfx_extension

Send {Blind}^s




Share this post

Link to post
Share on other sites
Sign in to follow this  

  • Create New...