Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <key>NSExtensionAttributes</key>
- <dict>
- <key>NSExtensionActivationRule</key>
- <string>
- SUBQUERY (
- extensionItems,
- $extensionItem,
- SUBQUERY (
- $extensionItem.attachments,
- $attachment,
- ANY $attachment.registeredTypeIdentifiers UTI-CONFORMS-TO "public.url" ||
- ANY $attachment.registeredTypeIdentifiers UTI-CONFORMS-TO "public.text" ||
- ANY $attachment.registeredTypeIdentifiers UTI-CONFORMS-TO "public.data"
- AND NOT (ANY $attachment.registeredTypeIdentifiers UTI-CONFORMS-TO "public.jpeg")
- AND NOT (ANY $attachment.registeredTypeIdentifiers UTI-CONFORMS-TO "public.png")
- AND NOT (ANY $attachment.registeredTypeIdentifiers UTI-CONFORMS-TO "public.peg-2000")
- AND NOT (ANY $attachment.registeredTypeIdentifiers UTI-CONFORMS-TO "public.camera-raw-imag")
- AND NOT (ANY $attachment.registeredTypeIdentifiers UTI-CONFORMS-TO "public.public.xbitmap-image")
- AND NOT (ANY $attachment.registeredTypeIdentifiers UTI-CONFORMS-TO "public.movie")
- ).@count == $extensionItem.attachments.@count
- ).@count > 0
- </string>
- </dict>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement