Re: Is Finder "update" command broken in OSX?
Re: Is Finder "update" command broken in OSX?
- Subject: Re: Is Finder "update" command broken in OSX?
- From: bill <email@hidden>
- Date: Sun, 28 Apr 2002 11:18:29 +0800
Corny,
Try to update the parent folder of the file that you want to open, in your
script, it9s the folder "HD:Users:me:Folding1:work:".
So, try it in this way:
tell application "Finder"
update alias "HD:Users:me:Folding1:work:"
set fil1 to first file of folder "HD:Users:me:Folding1:work:" whose
name contains "logfile_"
Open fil1
end tell
Secondly, are you sure these log files can be opened with application
3TextEdit2? Or, let the Finder to decide which application to use,
otherwise, some unexpected behaviours.
Thirdly, there is an example script 3Build web page2 from Apple, it9s in the
folder 3Image Capture scripting2, can9t tell you the exact location now, I
moved it long time ago, so try to search it.
In this long script, the Finder update folder very often, have a look.
Finally, if every civilized method fail, quit the Finder or kill the process
before you want to open the log file, a brutal way to let Finder updates.
bill
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.