Re: Script that "Tells" Finder just Focuses on Finder instead of running
Re: Script that "Tells" Finder just Focuses on Finder instead of running
- Subject: Re: Script that "Tells" Finder just Focuses on Finder instead of running
- From: Emmanuel LEVY <email@hidden>
- Date: Tue, 06 Jan 2015 12:40:57 +0100
For those who wonder, Satimage's "list files" command lists files, recursively or not, and is aware of packages.
Here is its dictionary.
----------------------
list files v : make a list of the files contained in the folder
list files alias, string, list of alias, or list of string : a folder
[recursively boolean] : default: true. If false, list files and folders.
[invisibles boolean] : default: false
[of extension list of string] : the required file extension(s)
[conforming to list of string] : the requested Universal Type Identifier(s) (UTI)
[not conforming to list of string] : the forbidden Universal Type Identifier(s) (UTI)
[starting with string]
[ignoring packages boolean] : consider packages as folders. Default: false
[after date] : list only files whose modification date is after the after date parameter
[before date] : list only files whose modification date is before the before date parameter
[names only boolean] : default: false
[as type] : string (URL), alias, unix path, path...
→ list of string or list of alias
Example
set {f} to navchoose folder
set x to list files f not conforming to {"public.image", "public.movie", "public.archive"} ¬
after ((get current date) - 3600) without recursively
----------------------
Emmanuel
_______________________________________________
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