When I type Command+O, in Mac OSX 10, Mathematica automatically opens my directory: "Users/john"
How can I change this setting to make it open "Users/john/Documents/Mathematica/GameOfLife"
the current folder I am working in?
There are many ways to solve your problem. I suggest this one because it very easy to do and undo.
When you go back to Mathematica and issue Cmnd+O, the dialog you get will show the target in its sidebar.
Click on the target in the sidebar.
The Open dialog will now show the folder that you want to see.
When you move on from your current project and no longer want quick access to the target, just drag its icon out of the sidebar far enough that you see a cloud icon below the mouse pointer and let go.
What you need is NotebookBrowseDirectory
. For example, if I evaluate the following at the top of the notebook
SetOptions[$FrontEnd,
NotebookBrowseDirectory -> "~/Documents/Mathematica"]
then I hit Ctrl+O (I'm using Linux so the path structure above and the buttons are for my OS) it opens to that directory.
Then I can just enter the line above in the init.m file located in "~/.Mathematica/Kernel/init.m" and the above line is evaluated every time I start a kernel.
SystemDialogInput
instead of Command+O. This allows you to specify the directory you want to look at as its second argument. $\endgroup$$FrontEnd
optionNotebookBrowseDirectory
but I wasn't able to manually set it using the usual methods (meaning I appeared to manually set it but the default directory did not change other than by selecting a new directing via CMD + O) $\endgroup$