Selecting files – Apple Shake 4 User Manual
Page 41
Chapter 1
An Overview of the Shake User Interface
41
2
Click the Bookmark button.
The currently open directory is added to the Favorites list. All favorite directory paths
you add are saved in the favoritePaths.h file, located in the username/nreal/settings/
directory. By default, the favoritePaths.h file contains:
•
Your home directory
•
The nreal directory
•
The Shake application directory
When you add more directories to the Favorites, they’re automatically appended to the
code in the favoritePaths.h file. For example, if you add following directory to the
Favorites:
/Users/MyAccount/Media/
The resulting favoritePaths.h file looks like this:
// User Interface settings
SetKey(
"globals.fileBrowser.favorites", "/;$HOME;/Users/MyAccount//nreal/;/
Applications/shake-v4.00.0201/;/Applications/shake-v4.00.0201/doc/pix;/
Users/MyAccount/Media/;"
);
Note that each directory path is separated by a semicolon. MyAccount is the name of
the user directory.
To remove directories from the Favorites list:
1
Open the favoritePaths.h file (located in the /nreal/settings/ directory).
2
Delete the paths you want to remove from the Favorites list, and save the file.
You can also instruct Shake to look in certain directories when you start the software,
using the following ui.h settings. Each listing is for a type of file—images, scripts,
expressions, and so on. Note the slash at the end of the path:
gui.fileBrowser.lastImageDir= “/Documents/my_directory/”;
gui.fileBrowser.lastScriptDir= “$MYPROJ/shakeScripts/”;
gui.fileBrowser.lastExprDir= “//Server/shakeExpressions/”;
gui.fileBrowser.lastTrackerDir= “$MYPROJ/tracks/”;
gui.fileBrowser.lastAnyDir= “/”;
For more information on a ui.h file, see Chapter 14, “
Selecting Files
If you’re selecting one or more files for a FileIn operation, you can select them in
several ways.