Re: REALbasic-NUG Digest #7445 (Real Studio network user group Mailinglist archive)

Back to the thread list
Previous thread: p.s.
Next thread: Refresh?


Re: REALbasic-NUG Digest #7445   -   Eric M. Williams
  Re: REALbasic-NUG Digest #7445   -   nstepp
  Re: REALbasic-NUG Digest #7445   -   Dennis Birch
  Re: REALbasic-NUG Digest #7445   -   Dennis Birch
   Re: REALbasic-NUG Digest #7445   -   Dennis Birch

Re: REALbasic-NUG Digest #7445
Date: 13.12.02 21:00 (Fri, 13 Dec 2002 12:00:01 -0800)
From: Eric M. Williams
> > How do I force the finder to update when I create a new file? If I
>> create a new text file it often doesn't show up until I quit my
>> application...........
>
>completely subject to the operating system and not realbasic, methinks.

I have the answer to this, after an hour of frustration
AppleScripting the Finder:

tell application "Finder"
update folder "Folder"
end

In OS X, this causes the Finder to (obviously) update the folder in
question. You have to do this after certain operations, especially
when working on server volumes, because the new Finder isn't as
responsible about updating its own windows as the OS 9 Finder.

Eric M. Williams

Re: REALbasic-NUG Digest #7445
Date: 13.12.02 21:00 (Fri, 13 Dec 2002 15:00:45 -0500)
From: nstepp
> How do I force the finder to update when I create a new file? If I
> create a new text file it often doesn't show up until I quit my
> application...........

completely subject to the operating system and not realbasic, methinks.

(why does he keep tossing his amateur hat in the ring?)

---
A searchable archive of this list is available at:
<http://dbserver.realsoftware.com/KBDB/search.php>

Unsubscribe:
<mailto:<email address removed>>

Subscribe to the digest:
<mailto:<email address removed>>

Re: REALbasic-NUG Digest #7445
Date: 13.12.02 21:22 (Fri, 13 Dec 2002 12:22:46 -0800)
From: Dennis Birch
At 3:00 PM -0500 12/13/02, nstepp wrote:
>> How do I force the finder to update when I create a new file? If I
>> create a new text file it often doesn't show up until I quit my
>> application...........
>
>completely subject to the operating system and not realbasic, methinks.

It seems to me there must be some way of forcing this. I have noticed
that when I create a new RB file on the desktop, it appears almost
immediately, even though I am still in RB and not in the Finder. If I
copy a file to the Desktop with RB, it does not appear until I
activate the Finder. I'd love to know how to make newly copied files
appear (and deleted files disappear).

Perhaps an RS engineer can comment?

---
A searchable archive of this list is available at:
<http://dbserver.realsoftware.com/KBDB/search.php>

Unsubscribe:
<mailto:<email address removed>>

Subscribe to the digest:
<mailto:<email address removed>>

Re: REALbasic-NUG Digest #7445
Date: 13.12.02 22:55 (Fri, 13 Dec 2002 13:55:59 -0800)
From: Dennis Birch
At 12:00 PM -0800 12/13/02, Eric M. Williams wrote:
>> > How do I force the finder to update when I create a new file? If I
>>> create a new text file it often doesn't show up until I quit my
>>> application...........
>I have the answer to this, after an hour of frustration
>AppleScripting the Finder:
>
>tell application "Finder"
> update folder "Folder"
>end
>
>In OS X, this causes the Finder to (obviously) update the folder in
>question. You have to do this after certain operations, especially
>when working on server volumes, because the new Finder isn't as
>responsible about updating its own windows as the OS 9 Finder.

I'm not having any success with this, after having tried updating
both the folder where a file has been copied to, and the file that
has been copied (in separate runs). Can you elaborate?

---
A searchable archive of this list is available at:
<http://dbserver.realsoftware.com/KBDB/search.php>

Unsubscribe:
<mailto:<email address removed>>

Subscribe to the digest:
<mailto:<email address removed>>

Re: REALbasic-NUG Digest #7445
Date: 13.12.02 22:59 (Fri, 13 Dec 2002 13:59:11 -0800)
From: Dennis Birch
At 1:58 PM -0800 12/13/02, Dennis Birch wrote:
>At 12:00 PM -0800 12/13/02, Eric M. Williams wrote:
>>> > How do I force the finder to update when I create a new file? If I
>>>> create a new text file it often doesn't show up until I quit my
>>>> application...........
>>I have the answer to this, after an hour of frustration
>>AppleScripting the Finder:
>>
>>tell application "Finder"
>> update folder "Folder"
>>end
>>
>>In OS X, this causes the Finder to (obviously) update the folder in
>>question. You have to do this after certain operations, especially
>>when working on server volumes, because the new Finder isn't as
>>responsible about updating its own windows as the OS 9 Finder.
>
>I'm not having any success with this, after having tried updating
>both the folder where a file has been copied to, and the file that
>has been copied (in separate runs). Can you elaborate?

Let me retract that. I made one slight change to my AppleScript and
it works fine now.

---
A searchable archive of this list is available at:
<http://dbserver.realsoftware.com/KBDB/search.php>

Unsubscribe:
<mailto:<email address removed>>

Subscribe to the digest:
<mailto:<email address removed>>