Re: Get ID of items Modified with 1 month
Re: Get ID of items Modified with 1 month
- Subject: Re: Get ID of items Modified with 1 month
- From: John Baltutis <email@hidden>
- Date: Tue, 18 Mar 2003 00:34:56 -0800
On 3/18/03, John Delacour <email@hidden> wrote, among other things:
>
>
I don't think you can do it without a loop if you're using 'entire
>
contents'. If you want to look only at the top level, then you can
>
do it in one go.
>
>
Pick a folder (not one with gigabytes of stuff) in the Finder and run this:
>
>
set d to (current date) - 1 * days
shouldn't that be - 30 * days, since he wanted within one month?
<snip>
>
>
>Im trying to get a value which will make the name of "Untitled folder" to
>
>"1/12/02 - 1/01/03"
>
>sure I could do that manually, but that takes the fun out of scripting.
>
>
It'll take the fun out of computing if you do it in OS 10. Slashes
>
are illegal in file names.
Not entirely true. Probably only true when assigning names to files within
applications. Case in point. Select a file in a folder or on the desktop,
click on its name, and add this (without the parens) to the end of its
current title: " 3/3/3" OS X allows that. Then click on the desktop and do
a search for 3/3/3 using CMD + F. Find will display it. Therefore, it's
legal, just not in all cases.
_______________________________________________
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.