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.
barigazy's picture

...

I was tired last night :)

Tanks friend!

barigazy

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)?

barigazy

barigazy's picture

...

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

barigazy

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

barigazy

ibm's picture

.

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

Buddho's picture

thanks for the script. there

thanks for the script. there is only one issue when rendering (vray) the timer seems to be reseted and doesn't show up. is there a possibility to fix this?

barigazy's picture

...

By pressing macro button you will open "Time Setup" rollout. Just type 20 instead of 5

barigazy

Comment viewing options

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