SaveFile Reminder

6 votes
Version: 
1.5
Date Updated: 
01/04/2014
Author Name: 
Branko Živković

••• version 1.5

This simple macro will remind you to save modified scene over a specified period of time.
When working on large scenes often happens that the autosave starts to freezes viewport and slows down the work process.
My solution allows you to decide when you want to save the file or to continue with the work.

Additional Info: 

>>> Installation:
Drag and drop *.mcr in viewport. U can find this tool under category "bgaTools" > "Save File Reminder". Place this tool on some toolbar.
>>> How it works:
When toolbar button "S • F • R" is checked then AUTOSAVE will be disabled and "Time Setup" dialog will popups. There you need to setup period of time for notification.

Spinner value represent time in minutes (default: 5 minute).
After you close the dialog the tool starts automatically.
Uncheck "S • F • R" to stop this tool and enabled AUTOSAVE mode.
This dialog will popups in a given time period only if the scene is modified.

>>> Update 1.1:
-- Added auto-option to disable/enable notification when render starts/ends
>>> Update 1.2:
-> Fixed some minor bugs:
- check for clean save
- callback problem
-> Added button icon
-> Print message about current time when:
- File is saved
- Rendering starts
- Rendering ends
>>> Update 1.5:
-- Code has been overwritten from the scratch
-- Added new timer object

Version Requirement: 
2010+
AttachmentSize
bga_savefile_reminder_v1.2.mcr1.99 KB
bga_savefile_reminder_v1.5.mcr2.09 KB

Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
miauu's picture

.

Download the script. Open it in MaxScript Editor, delete this line:

macroScript SFR category:"bgaTools" buttonText:"S • F • R" toolTip:"SaveFile Reminder v1.5" Icon:#("SubObjectIcons",29)

Save it and put it in maxroot/scripts/startup folder. Restart 3ds Max and check if the script is running.

benaski's picture

Auto start script

Sorry for the English but it is automatically translated from Spanish.
Just one question: is there an option to start just starting the 3dsmax? Is that if it does not start alone, I'm working and I do not remember activating it, I'm afraid we're the same as if we did not ...

Thank you

barigazy's picture

...

I was tired last night :)

Tanks friend!

bga

miauu's picture

.

I want to report one little error in the description:

Code revriten from scratch

:)

barigazy's picture

...

Hey asymptote,
can you try this version (v1.5)?

bga

barigazy's picture

...

I use this tool on max2015sp2 and not have that problem.

bga

asymptote's picture

A few errors in 2015 SP2.....;)

When rendering...

-- Error occurred in postRender(); filename: D:\_Plugs & Scripts\SaveFile Reminder v1.2.0\bga_savefile_reminder_v1.2_0.mcr; position: 558; line: 10
-- Frame:
-- n: dotNetObject:System.Windows.Forms.Timer
-- called in anonymous codeblock
-- Frame:
>> MAXScript Callback script Exception:
-- Unknown property: "enabled" in dotNetObject:System.Windows.Forms.Timer <<

When clicking the icon...

-- Error occurred in execute(); filename: D:\_Plugs & Scripts\SaveFile Reminder v1.2.0\bga_savefile_reminder_v1.2_0.mcr; position: 1609; line: 36
-- Frame:
-- called in anonymous codeblock
-- Frame:
>> MAXScript MacroScript Error Exception:
-- Unknown property: "stop" in dotNetObject:System.Windows.Forms.Timer <<

Why do AD keep breaking your scripts?...a-holes :)

Buddho's picture

Hi! I think there is a issue

Hi! I think there is a issue with rendering. the save reminder window pops up as soon as i render, no matter if i saved just before or not. the window keeps poping up even if i cancel.

barigazy's picture

...

Yep. If you want to use 20min as default every time when you start the tool

bga

ibm's picture

.

9 line type:#integer range:[1,1440,5] 5 is replaced by 20? correctly

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.