• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Is Finder "update" command broken in OSX?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: Is Finder "update" command broken in OSX?
      • From: Cornwall <email@hidden>
  • Prev by Date: Finder can't walk and chew gum
  • Next by Date: Set BOUNDS to FileMaker Pro
  • Previous by thread: Is Finder "update" command broken in OSX?
  • Next by thread: Re: Is Finder "update" command broken in OSX?
  • Index(es):
    • Date
    • Thread