REstudio Save Script
The REstudio Save Script automatically saves the current RE Studio project before Open iT performs the configured idle action (for example, terminating the application). This helps prevent data loss when the application is closed because of inactivity.
How It Works
When triggered, the script:
- Activates the RE Studio window.
- Opens the Save As dialog.
- Generates a file name automatically.
- Saves the project.
- Returns the full path of the saved file.
Generated File Name
Saved files use the following format:
autosave_<PID>_<YYYYMMDDTHHMMSS>
| Component | Description |
|---|---|
autosave | Indicates that the file was generated automatically. |
PID | Process ID (PID) of the RE Studio application. |
YYYYMMDDTHHMMSS | Date and time the project was saved. |
REstudio Autosave File
For example:
autosave_1234_20260629T142210
The date and time saved in this example is 2026-06-29 14:22:10.
Save Location
The script saves the file in the following order of precedence:
-
The configured save folder, if specified.
-
Otherwise, the Windows temporary directory:
C:\Users\<username>\AppData\Local\Temp
Example Configuration
Example: Restudio Save Script Custom Actions
BEGIN custom_actions
-------------------------------------------------------------------------------
title = Restudio Save Script
command = %bin%/AutoHotKey.exe
args ="%bin%ahk4\Ctrl+Shift+s-save-script_5.ahk" %pid% "%root%Log\temp\Freeze\" |more
condition=exe=*RE-Studio-Intersect.exe*
timeout = P5M
when-to-run = pre
---------------------------------------------------------------------------------
END