[OS X TeX] Getting Finder to Refresh
Claus Gerhardt
gerhardt at math.uni-heidelberg.de
Fri Jan 21 16:08:00 EST 2005
>> osascript\
>> -e 'tell application "Finder"'\
-e 'set theWindow to POSIX file "full path"'
>> -e 'update theWindow'\
>> -e 'end tell'\
I tested the corresponding pure Applescript and it worked; the
corresponding window was open, I guess this will also be the case in
your example.
Claus
On Jan 21, 2005, at 20:10, Herb Schulz wrote:
> On 1/21/05 11:45 AM, "Claus Gerhardt" <gerhardt at math.uni-heidelberg.de>
> wrote:
>
>> Look at my shell script texshopcg in Flashmode/bin.
>>
>> Something like
>>
>> osascript\
>> -e 'tell application "Finder"'\
>> -e 'update "your choice"'\
>> -e 'end tell'\
>>
>> should do.
>>
>> Claus
>>
>
> Howdy,
>
> The question is what do I put into "your choice"? I've got the full
> path
> (Unix form /Users/...) for the file.
>
> 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
mailing list