View Full Version : how to cancel save file,with filePreSave callback?
CallBacks.AddScript #filePreSave "CancelSave" id:#FileScaleCheck
|
|
denisT
12-15-2009, 12:51 AM
CallBacks.AddScript #filePreSave "CancelSave" id:#FileScaleCheck
you can't cancel file saving. On presave stage the file is already open for save and setting #readonly flag doesn't not help either.
you can make a copy of the file, and on #postsave replace the file with the copy.
CGTalk Moderation
12-15-2009, 01:04 AM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.
vBulletin v3.0.5, Copyright ©2000-2013, Jelsoft Enterprises Ltd.