No Subject
No Subject
- Subject: No Subject
- From: email@hidden
- Date: Thu, 25 Jul 2002 19:10:48 EDT
Bascially, ask the finder to give you a list of all the items in the folder
(result: list of items), then get info on each item (see Finder Dicitionary,
results for get info are:
(*no tab, no line #'s):
1 {name:"somefile.jpg"
2 creation date:date "Friday, September 24, 1999 8:19:53 AM"
3 modification date:date "Friday, September 24, 1999 8:20:54 AM"
4 icon position:{-1, -1}
5 visible:true
6 size:4.3873E+4
7 folder:false
8 alias:false
9 locked:false
10 busy status:false
11 file creator:"ogle"
12 file type:"JPEG"
13 short version:""
14 long version:""
15 default application:alias
"Mac HD:Applications (Mac OS 9):QuickTime:PictureViewer"}
Then sort the results to the newest.
Now, I'm sure there is a much more efficient way (Arthur?) to simply ask the
finder in a single line for all items of folder whatever whose modification
date is latest, but I'm not familiar with it, being an old-style, verbose
programmer.
Best Wishes
=-= Marc Glasgow
* Just Enough Info to get you to learnb" *
B&P Wrote:
>
I know this is probably really simple....
>
>
I want to be able to select the most recent file in a
>
folder (which has just been created by Filemaker) and move
>
it to to a subfolder. Can someone explain how to select
>
such a file?
_______________________________________________
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.