• 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: finding new files in a folder
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: finding new files in a folder


  • Subject: Re: finding new files in a folder
  • From: John Cochrane <email@hidden>
  • Date: Wed, 17 Mar 2004 23:44:40 +1100

On 17/03/2004, at 14:55, Richard 23 wrote:

Might I suggest:

tell application "Finder" to get a reference to -->
(files of folder scan_folder whose file type = "tiff")
set scan_folder_contents to result's name as list

-- script to perform the scan goes here, then

tell application "Finder" to get a reference to -->
(files of folder scan_folder whose file type = "tiff" -->
and name is not in scan_folder_contents)
set new_contents to result's name as list

All suggestions gratefully accepted. Thanks for the improvement.

I notice you use the "reference to" terminology.
Are there any general guidelines as to when it is most appropriate to use one of the terms "alias", "file" and "reference to" in preference to the other two.

John
_______________________________________________
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.


  • Prev by Date: Re: AC power testing
  • Next by Date: osascript and Modification Date of Compiled Script
  • Previous by thread: Re: do shell script "perl... " to find/replace in a string
  • Next by thread: osascript and Modification Date of Compiled Script
  • Index(es):
    • Date
    • Thread