ZBrushCentral

Setting up a macro to run on startup

sorry yet what sort of second conduct you need the defaultZscript catch to have after the in the event that you tap on it after the session has begun ?

  1. at session begin, the content setup some choice for you .

  2. click again after the session begin, on the off chance that you need to reset the zbrush condition regardless of whether this don’t delete devices which are stacked in the instrument board like it would in the event that you press init zbrush.

interestingly, you need to have the landing page content to popup at startup yet not on the off chance that you press the default content catch Bluestacks Kodi Lucky Patcher .

In the event that truly, my technique isn’t right, yet I alright for generation as the code don’t retry unendingly to execute it. it will dependably return True, and therefore I want to utilize my technique, as I simply avert Zbrush to make persistant mem square when I needn’t bother with that.

@rossi Thanks mate, worked for me! 9Apps Cartoon HD Vidmate

Hi guys. Tried this startup code. And it doesn’t open zproject.

[If,[MemGetSize,startup_mem],
[If,[IGetID,DefaultZScript]==[IGet,Preferences:Utilities:View Window Id],
//code to run when DefaultZScript button is pressed
[FileNameSetNext,“ZBRUSH_\ZProjects\START.ZPR”][IPress,File:Open]
]
,
[MVarDef,startup_mem,1,0]
//code to run once at startup
[FileNameSetNext,“ZBRUSH_\ZProjects\START.ZPR”][IPress,File:Open]
]

[PD]

What doea it means, where i can find it?

This post was flagged by the community and is temporarily hidden.

This post was flagged by the community and is temporarily hidden.

Could you tell me how you put the macro? I have never used that option and I don’t know how it works.

put them in the folder :
← yourzbrushInstall -->/ZStartup/Macros

then go to macro → reload all macros to refresh the macro list.

see :
https://docs.pixologic.com/reference-guide/macro/macros/

But do I paste that text that you put in a txt file?

what do you want to do exactly ?

switch subtool by pressing ALT + Q

So, I create a txt file with the following code.

[IButton,???,test, [IKeyPress, ALT,[CanvasClick, [MouseHPos], [MouseVPos]]] ]

And then I put it in the macros folder?

yes,

  • Put it on the macro folder (named it clickalt.txt for exemple),
  • Press Macros-> Reload All Macros, the new macro (named “clickalt”) should appear.
  • Create a shortcut on this new macro button by clicking ctrl+alt and then entering the shortcut(alt+q)
  • Choose a model with subtool and try the shortcut.

I press reload macros but the new text file I put in the folder does not appear
Captura de pantalla (687)

Captura de pantalla (686)

Captura de pantalla (688)

https://docs.pixologic.com/user-guide/customizing-zbrush/macros/

Two things :

  • create a new folder or use the Misc folder in the macros folder to retrieve your files
  • the ??? are important. Your code must use them to identify it as a macro. Your code must be :
    [IButton,???,test, [IKeyPress, ALT,[CanvasClick, [MouseHPos], [MouseVPos]]] ]

after you created this macro and the button appears you can assign a shortcut with CTRL+ALT
https://docs.pixologic.com/user-guide/customizing-zbrush/hotkeys/

1 Like

Ohh ok, sorry, I thought the “???” It was a placeholder and had to be replaced with the key you wanted. I can now use the macro correctly, thank you very much

1 Like

You’re welcome :+1:, always happy to help :wink: