[OS X TeX] Getting Finder to Refresh
Herb Schulz
herbs at wideopenwest.com
Fri Jan 21 19:43:16 CET 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)
> (fstengel<at>mac.com)
> (fstengel<at>nordnet.fr)
Howdy,
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.
Good Luck,
Herb Schulz
(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 macostex-archives
mailing list