So it´s best to leave the DefaultScript just calling the StartUpMacro custom button. And write all the comands you want in this macro.
Here is my StartUpMacro. Located in Zbrush4 R6/ZStartup/Macros/Misc
[IButton,???,“Startup Config”,
[IPress, Material: BasicMaterial] // Set your favorite material
[ISet,Document: Back, 46.18038] //Set your background color
[ISet,Document: Range, 0] // Set your Document Range
[VarSet,docW,[IGet,Document:Width]]
[VarSet,docH,[IGet,Document:Height]]
[IUnPress,Document:Pro]
[ISet,Document:Width,1280]//set to your monitor width
[ISet,Document:Height,990]//set to your monitor Height minus Windows Bar (-34 pixels in my case)
[IKeyPress,ALT,[IPress,Document:Resize]]
[IPress,Document:Pro]
[ISet,Document:Width,docW]
[ISet,Document:Height,docH]
[ISet,Document:Width,1024] // Set your favorite document width
[ISet,Document:Height,768] // Set your favorite document height
]//end of macro button
And here is the DefaultZScript. Located in Zbrush4 R6/ZScripts
//startup
[If,1,
[IPress,Macro:Macros:Misc:StartUpMacro]
]
[pd]
Thanks for the tip Marcus! Now it works much better
small_orange_diamond
small_orange_diamond
small_orange_diamond
small_orange_diamond