Installing and creating macros, How to install macros, Where to install macros – Apple Shake 4 User Manual

Page 905: Chapter, See chapter 30, Installing and, Creating macros, Chapter 30

Advertising
background image

30

905

30

Installing and Creating Macros

If there’s a particular image-processing tree you’ve
created that you would like to save for future use, you
can turn it into a macro. Macros act like other nodes
within Shake, except that you create them yourself using
Shake’s other nodes as the initial building blocks. You can
then add your own expressions, scripting, and user
interface elements to extend their functionality.

How to Install Macros

This section covers how to install macros on your computer, whether they’re macros
you’ve created, or macros provided by your facility, or downloaded from the web.

When you’re provided with a macro, you may receive as many as three files:

The macro itself

A custom user UI (user interface) file for that macro

A custom icon

Each of these files needs to be installed into a special directory for Shake to find and
load it successfully.

Where to Install Macros

Macros all have a .h file extension, and are located in:

$HOME/include/startup

If this directory does not already exist, you’ll need to create a series of nested
directories with those exact names. For example, if you were to install the AutoDOD.h
macro from the cookbook, a common location is:

/Users/myAccount/nreal/include/startup/AutoDOD.h

Advertising