Customizing file path and browser controls, Setting default browser directories – Apple Shake 4 User Manual
Page 371

Chapter 14
Customizing Shake
371
Setting the Time Bar Frame Range
In the ui directory:
gui.timeRangeMin = 1;
gui.timeRangeMax = 100;
That pretty much says it all, doesn’t it?
Default Timecode Modes and Displays
In the startup or ui directory:
script.framesPerSecond = 24;
script.timecodeMode = “24 FPS”;
gui.timecodeDisplay = 0;
Set one or the other. Setting the timecodeMode allows you to use drop-frame settings.
See above to set the timecode modes. The third line specifies whether the frames in
the Curve Editor and Time Bar are displayed as frames or timecode. 1 = timecode;
0 = frames.
Customizing File Path and Browser Controls
This section lists ways of customizing the File Browser.
Setting Default Browser Directories
In the ui directory:
gui.fileBrowser.lastScriptDir = “$MYPROJ/shakeScripts/” ;
gui.fileBrowser.lastExprDir = “//Server/shakeExpressions/” ;
gui.fileBrowser.lastTrackerDir = “$MYPROJ/tracks/” ;
gui.fileBrowser.lastAnyDir = “C:/Jojo/” ;
You can assign specific directories for the Browser to scan when you start the interface.
You can assign different directories to different types of files, such as scripts, images,
trackers, and expressions.
Important:
There must be a slash at the end of the path.