Show all scripts

GetApplicationDirectory

Category: Input/Output
Author:
Description: When opening or saving files, commands such as opendialog() produce a dialog which opens at a default directory. This example script shows how to source and change this default directory. The current default path is sourced and an open dialog command points to it by way of demonstration. Next a new default path is created by the script (the Digital Micrograph Folder), and an open dialog points to it. Finally, the default folder is restored and an open dialog points to that. acknowledgements
Script version: 1.0
DM/GMS version: 3.11.x
Script written as a function: No
Source: Show code
Download Source Code: Download
Download Zip File: Download