Re: Need help writing some AppleScripts!!! Please help!
Re: Need help writing some AppleScripts!!! Please help!
- Subject: Re: Need help writing some AppleScripts!!! Please help!
- From: Jason Bourque <email@hidden>
- Date: Fri, 17 May 2002 19:03:48 -0400
But OS 10.1.4 is broken with
Every file of folder "folderpath" whose modification date > vCompareDate
I have a project that I could really use this on.
Thanks,
Jason Bourque
Co-Director Boston AppleScript Users Group
On 5/17/02 6:38 PM, "Christopher Nebel" <email@hidden> wrote:
>
On Friday, May 17, 2002, at 01:05 PM, David Nelson wrote:
>
>
> -- Get a list of alias references to all the stuff on the desktop.
>
> set desktopItems to every item of desktop as alias list
>
>
>
> -- Loop through all the alias references in the list desktopItems
>
> adding those
>
> -- that are not found in the list exclusionList and whose kind is not
>
> Volume to a
>
> -- new list called desktopClutter.
>
> set desktopClutter to {}
>
> repeat with i in desktopItems
>
> if ((name of contents of i) is not in exclusionList) and ((kind of
>
> contents of i) is not "Volume") then
>
> set desktopClutter to (desktopClutter & contents of i)
>
> end if
>
> end repeat
>
>
Alternatively:
>
>
get every item of the desktop whose kind is not "Volume" and name
>
is not in exclusionList
>
>
Works quite nicely in 10.1.4; haven't tried it in 9.
>
>
>
--Chris Nebel
>
AppleScript Engineering
>
_______________________________________________
>
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.
_______________________________________________
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.