start-in-allegro-directory

Generic Function

Package: common-graphics

Arguments: configuration

This configuration option determines the directory that will initially be shown in the file selection dialog the first time it is invoked in an IDE session. (After a file is actually selected in this dialog, the next invocation will initially show the directory of the most recently selected file, unless that is overridden by context-sensitive-default-path).

If this option is nil (the default), then the first invocation of the file selection dialog will show the operating system's current directory, which may have been set by another application or by a Windows shortcut that was used to start the IDE. If this option is true, then the first invocation of the file selection dialog will show the directory where Allegro is installed.

If you usually use Windows shortcuts to start the IDE, either from the Start Menu or from desktop icons, then nil (the default) is probably the suitable choice, because then the initial file selection directory will reflect the "Start In" directory of the shortcut. Multiple shortcuts can even be used to default the file selection dialog to different directories of source code for various applications. But if you instead usually start the IDE by double-clicking an EXE or DXL file in the File Explorer, or by using a custom Emacs command, then you may want to set this option to true to prevent the file selection dialog from defaulting to an arbitrary current directory that had been set by an unrelated application.

Common Graphics and IDE documentation is described in About Common Graphics and IDE documentation in cgide.htm.

The documentation is described in introduction.htm and the index is in index.htm.

Copyright (c) 1998-2000, Franz Inc. Berkeley, CA., USA. All rights reserved.

Created 2000.10.5.