On Oct 4, 2012, at 9:57 PM, Curt Sellmer <sellmerfud at gmail.com> wrote: > Is there a way to get the current directory displayed by the file > browser from within a script (eg. bundle command). This is not possible. Partly because the file browser may not display a directory at all (e.g. it can show SCM Status, mounted volumes, or similar).