[OS X TeX] Getting Finder to Refresh
herbs at wideopenwest.com
Fri Jan 21 13:43:16 EST 2005
On 1/21/05 12:08 PM, "Frank STENGEL" <fstengel at mac.com> wrote:
> as far as I can tell, this:
> osascript -e 'tell application "Finder" to update target of finder
> window 1'
> updates the topmost window...
> Frank STENGEL (stengelf<at>menara.ma)
Unfortunately, the focus is not always on the window that has the files you
are converting; e.g., the files are on the desktop while the directory with
the Dropscript has the focus.
So far the osascript solution sounds the best bet. It appears that the
Dropscript gets the full path (not relative path) to the file(s) so the
script can set up the osacript refresh easily.
(herbs at wideopenwest.com)
--------------------- Info ---------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
& FAQ: http://latex.yauh.de/faq/
TeX FAQ: http://www.tex.ac.uk/faq
List Post: <mailto:MacOSX-TeX at email.esm.psu.edu>
More information about the MacOSX-TeX