• 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: weird behaviour
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: weird behaviour


  • Subject: Re: weird behaviour
  • From: Michelle Steiner <email@hidden>
  • Date: Mon, 28 Jul 2008 10:58:11 -0700

On Jul 28, 2008, at 8:13 AM, Ronald Hofmann DE wrote:

By the way, is there an easier way to find files older than two weeks than looping thru a list and make info for for each item of the list?


My screenshots folder is the desktop; here is the script:

set the screenshotsFolder to path to the desktop
tell application "Finder" to move (files of the screenshotsFolder whose creation date is less than ((current date) - 14 * days)) to the trash


-- Michelle

--
Please contribute to the Leukemia and Lymphoma Society, and help me meet my fund raising goal for my marathon training.
<http://www.active.com/donate/tntdms/tntdmsMSteine>





_______________________________________________ Do not post admin requests to the list. They will be ignored. AppleScript-Users mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden
  • Follow-Ups:
    • Re: weird behaviour (solved)
      • From: Ronald Hofmann DE <email@hidden>
References: 
 >weird behaviour (From: Ronald Hofmann DE <email@hidden>)

  • Prev by Date: Re: osascript and text output
  • Next by Date: Re: replacing embedded images in Illustrator
  • Previous by thread: Re: weird behaviour
  • Next by thread: Re: weird behaviour (solved)
  • Index(es):
    • Date
    • Thread