kMDItemContentType == "com.microsoft.word.doc" ||
kMDItemContentType == "org.openxmlformats.wordprocessingml.document"
Query format
inRange(attributeName,minValue,maxValue)
c The Comparison is case insensitive.
d The Comparison is insensitive to diacritical marks.
w The Comparison is word based, and also detects transitions from lower-case to upper-case
"Paris" Matches Paris, but not paris nor "I love Paris".
"Paris"c Matches Paris, paris, but not "I love Paris".
"Paris"wc Matches Paris, paris, "I love Paris", paris-france.jpg, but not Comparison.
"Window"w Matches MyWindowClass and "Broken Window", but not NSWindow.
*paris*
$time.now current date and time.
$time.today current date.
$time.yesterday Yesterdays date.
$time.last_week Dates in previous week.
$time.this_week
$time.this_month
$time.this_year
$time.now(seconds) current time + [-]seconds
$time.today(days) the current day + [-]days
$time.this_week(weeks) current week …
$time.this_month(month) current month …
$time.this_year(years)
$time.iso(ISO-8601-STR)
((kMDItemAuthors == "Kevin"wc || kMDItemAuthors = "Steve"wc) &&
(kMDItemContentType == "audio"wc || kMDItemContentType = "video"wc)) &&
(kMDItemFSContentChangeDate > $time.last_week)
Common kMDItem…s
Comment
ContactKeywords
Audiences
Authors
Contributors
PhoneNumbers
EmailAddresses
InstantMessageAddress
Copyright
Creator
Publishers
ContactCredit
FinderComment
Coverage
Description
Title
Version
DisplayName
DueDate
DurationSeconds
EncodingApplication
Fonts
Organizations
City
StateOrProvince
Country
Languages
Headline
Identifier
Keywords
Instructions
Kind
NumberOfPages
PageHeight
Width
AttributeChangeDate
LastUsedDate
ModificationDate
Type
Projects
Recipients
Rights
SecurityMethod
StarRating
TextContent
WhereFroms
Image
AcquistionMake¿
Model
Album
ProfileName
BitsPerSample
ColorSpace
EXIFVersion
ExposureMode
Program
TimeSeconds
String
Aperature
Fnumber
FlashOnOff
FocalLength
HasAlphaChannel
ISOSpeeed
LayerNames
MaxAperature
MeteringMode
Orientation
PixelHeight
Width
RedEyeOnOff
ResolutionHeightDPI
WeidthDPI
WhiteBalance
Video
AudioBitRate
Codecs
DeliveryType
MediaTypes
Streamable
TotalBitRate
VideoBitRate
Audio
AppleLoopDescriptors
sKeyFilterType
LoopMode
RootKey
AudioChannelCount
EncodingApplication
SampleRate
TrackNumber
Composer
IsGeneralMIDISequence
KeySignature
Lyricist
MusicalGenre
InstrumentCategory
Namke
RecordingDate
Year
Tempo
TimeSignature
File System
FSContentChangeDate
CreationDate
Invisible
IsExtensionHidden
Label
Name
NodeCount
OwnerUserID
OwnerGroupId
Size
Path
| | | | | | | | |