"refresh" the Finder?

Chris Sheffield revlist at cableone.net
Thu Feb 3 16:37:18 EST 2005


Thanks, Frank.  I used AppleScript to delete my folder and that seems to
work.

The problem now is that it just places the folder in the Trash, and it
didn't do that before.  Does anyone know if there's a way to remove a
specific folder from the trash using AppleScript?  I tried using the empty
command followed by the reference to the folder in the trash, but it didn't
work.  If not, I'll just empty the trash, but I thought that's probably not
a very nice thing to do.  Shouldn't be a big deal in this case, however.

Sorry this is kind of OT.

Thanks again,

Chris Sheffield
Software Development
Read Naturally


-----Original Message-----
From: use-revolution-bounces at lists.runrev.com
[mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Frank D.
Engel, Jr.
Sent: Thursday, February 03, 2005 1:43 PM
To: How to use Revolution
Subject: Re: "refresh" the Finder?

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Clicking on the window (or in the case of the desktop, on the desktop) 
refreshes the display.

Meanwhile, you could try using AppleScript to tell the finder to delete 
the file or folder, rather than deleting it from Rev... maybe the 
Finder will automatically refresh itself if you do it that way?  Not 
sure, just a thought.

On Feb 3, 2005, at 3:23 PM, Chris Sheffield wrote:

> Does anyone know of some way that one can “refresh” the Finder under 
> OS X?
> I’m not even really sure if that’s the right question or not.  Let me
> explain.
>
> I have an application that runs from CD-ROM.  When the program 
> launches, it
> copies certain temporary files to the user’s preferences folder on the 
> hard
> drive.  When the program exits, it deletes those files if the user 
> chooses
> to.  The problem is that the folder where I store the files does not 
> really
> get deleted or something.  It’s hard to explain.  But if I navigate to 
> the
> Preferences folder, I see my temporary folder momentarily before it
> disappears.  Now, if I do that in between sessions of running my
> application, everything’s fine.  But if I don’t, then when the app runs
> again, I get a file copy error.  And it's strange because you would 
> think
> that if the files were there it would just overwrite them, but that's 
> not
> the case.  Anyone know why this would be?  Has anyone seen anything 
> like
> this before?  It’s kind of the same thing where if you save a file 
> from some
> program (TextEdit for example) the file does not always appear listed 
> in the
> Finder until you refresh the view somehow (move to another folder then
> back).
>
> Anyone have any ideas on this?  Something in Transciprt would be 
> great, but
> AppleScript or a shell command would be welcome too.
>
> Thanks,
>
> Chris Sheffield
> Software Development
> Read Naturally
> csheffield at readnaturally.com
>
>
> -- 
> No virus found in this outgoing message.
> Checked by AVG Anti-Virus.
> Version: 7.0.300 / Virus Database: 265.8.4 - Release Date: 2/1/2005
>
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
>
- -----------------------------------------------------------
Frank D. Engel, Jr.  <fde101 at fjrhome.net>

$ ln -s /usr/share/kjvbible /usr/manual
$ true | cat /usr/manual | grep "John 3:16"
John 3:16 For God so loved the world, that he gave his only begotten 
Son, that whosoever believeth in him should not perish, but have 
everlasting life.
$
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (Darwin)

iD8DBQFCAozz7aqtWrR9cZoRAqmSAJ0UEztgy3nxGv3b9a/roCq1/2yUowCghUid
rWYEnl0sEmzd0JRl4c2kkqA=
=GzJy
-----END PGP SIGNATURE-----



___________________________________________________________
$0 Web Hosting with up to 120MB web space, 1000 MB Transfer
10 Personalized POP and Web E-mail Accounts, and much more.
Signup at www.doteasy.com

_______________________________________________
use-revolution mailing list
use-revolution at lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution

-- 
No virus found in this incoming message.
Checked by AVG Anti-Virus.
Version: 7.0.300 / Virus Database: 265.8.4 - Release Date: 2/1/2005
 

-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.300 / Virus Database: 265.8.4 - Release Date: 2/1/2005
 



More information about the use-livecode mailing list