[OS X TeX] Getting Finder to Refresh
gerhardt at math.uni-heidelberg.de
Fri Jan 21 17:18:50 EST 2005
This was your original question
will convert all the .pgn's to .tex's) but the Finder takes it bloody
to refresh and show the new .tex files in the folder. Is there a shell
command I can add to the script to tell the Finder to refresh window
That is exactly what the Finder does, showing the contents of a folder.
If the file is e.g., a .tex file then a corresponding editor is going
to display it and eventually to update it, not the Finder. Thus, what
do you want to update and which application should do it?
I assume that you want the folder window to be updated, then get its
path, the best is to use the shell command
dirname "path of test"
On Jan 21, 2005, at 22:46, Herb Schulz wrote:
> On 1/21/05 3:12 PM, "Claus Gerhardt" <gerhardt at math.uni-heidelberg.de>
>> Better syntax is
>> On Jan 21, 2005, at 22:08, Claus Gerhardt wrote:
>>> -e 'set theWindow to "full path"as POSIX file'
> I've got a folder with some file called 'test' on my Desktop. When I
> try to
> tell application "Finder"
> set theWindow to "/Users/username/Desktop/test" as POSIX file
> update theWindow
> end tell
> I get an error in Script Editor and the 'update theWindow' line is
> 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>
--------------------- 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