Manual Page for osa_direc_browser

     osa_direc_browser(7)     Mac OS X Darwin customization    osa_direc_browser(7)

    NAME
           osa_direc_browser  -   returns  the  path matching the directory chosen
           with the GUI

    SYNOPSIS
           osa_direc_browser

    DESCRIPTION
           osa_direc_browser is an osascript  embedded  in  a  shell  script  that
           returns  the path corresponding to the directory (folder) selected from
           the GUI file browser.  Its real value lies in being able to incorporate
           it as a module for scripting.  Here is a simple example

           cdg, i.e.,

           alias cdg='open "$(osa_direc_browser)"'

           The  command cdg then changes the pwd of the command-line to the direc-
           tory selected from the GUI.

    AUTHOR
            William Scott

    SEE ALSO
           osa_file_browser(7), osa_display_dialog(7), osa_choose_list(7)

    Mac OS X                       October 25, 2005           osa_direc_browser(7)