osa_file_browser(7)

NAME
osa_file_browser - returns the path matching the file chosen with the GUI

SYNOPSIS
osa_file_browser

DESCRIPTION
osa_file_browser is an osascript embedded in a shell script that returns the path corresponding to the file 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 openg, i.e., alias openg='open "$(osa_file_browser)"' The command openg then opens the selected file in the default application.

AUTHOR
 William Scott

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