[OS X TeX] Getting Finder to Refresh
Claus Gerhardt
gerhardt at math.uni-heidelberg.de
Fri Jan 21 12:45:06 EST 2005
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
On Jan 21, 2005, at 18:39, Herb Schulz wrote:
> On 1/21/05 11:06 AM, "Claus Gerhardt" <gerhardt at math.uni-heidelberg.de>
> wrote:
>
>> There is in Applescript a Finder command
>> update: Update the display of the specified object(s) to match their
>> on-disk representation
>> update reference -- the item to update
>> Lokk in the Finder's AS dictionnary, which should be what you look
>> for.
>>
>> Claus
>>
>
> Howdy,
>
> Right now I'm trying to do this all via a small shell script that gets
> made
> into a Dropscript in the end. I've thought of switching over to
> Applescript.
> Is there a way I can send the Finder the Applescript Update command
> from the
> shell?
>
> 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