ZBrushCentral

Question: How disable save window when close project

Is it possible disable question about saving when project close?

I try:

 1. Save it from File Pallete before closing
 2. Revert project from File Pallete, but it generate another window ()
 3. Click on OK from macros (but as I understand this action can`t be recorded)

For project where I work it is important to do it automatically. It should open consequentially a lot of project and export textures and geometries.

// — ZBrush/ZScripts/DefaultZScript.txt

//startup
[If,1,
[If,[MemGetSize,startup_mem],
[MVarDef,startup_mem,1,0]
[IPress,Macro:Macros:Test:ExportTextures]
]
]
[pd]

// — Macros/Test/ExportTextures.txt

[IButton,???,“Press to run”,

     [FileNameSetNext,"D:\Project1.ZPR"][IPress,File:Open]

     // ... Some operations

     [FileNameSetNext,"D:\Project2.ZPR"][IPress,File:Open]

     // ... Some operations

     // ...

     [FileNameSetNext,"D:\ProjectN.ZPR"][IPress,File:Open]

     // ... Some operations

]

Attachments

CloseWindow.jpg

CloseWindow.png

You can simulate a keypress of “N” to close the dialog like this:

[FileNameSetNext,“D:\Project1.ZPR”]
[IKeyPress,78,[IPress,File:Open]]

A lot of thanks! It works.