You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
111 lines
2.9 KiB
111 lines
2.9 KiB
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
|
<plist version="1.0">
|
|
<dict>
|
|
<key>bundleid</key>
|
|
<string></string>
|
|
<key>connections</key>
|
|
<dict/>
|
|
<key>createdby</key>
|
|
<string></string>
|
|
<key>description</key>
|
|
<string></string>
|
|
<key>disabled</key>
|
|
<false/>
|
|
<key>name</key>
|
|
<string>UTC</string>
|
|
<key>objects</key>
|
|
<array>
|
|
<dict>
|
|
<key>config</key>
|
|
<dict>
|
|
<key>argumenttype</key>
|
|
<integer>1</integer>
|
|
<key>escaping</key>
|
|
<integer>127</integer>
|
|
<key>keyword</key>
|
|
<string>utc</string>
|
|
<key>script</key>
|
|
<string>puts <<XML
|
|
<?xml version="1.0"?>
|
|
|
|
<items>
|
|
<item uid="local">
|
|
<title>#{Time.parse('{query}').local}</title>
|
|
</item>
|
|
|
|
<item uid="utc">
|
|
<title>#{Time.parse('{query}').utc}</title>
|
|
</item>
|
|
|
|
<item uid="now">
|
|
<title>#{Time.now.utc}</title>
|
|
</item>
|
|
|
|
<!--
|
|
Example of using icon type 'fileicon' to load the file icon directly.
|
|
This item is of type "file" which means it will be treated as a file in
|
|
Alfred's results, so can be actioned and revealed in finder.
|
|
Autocomplete sets what will complete when the user autocompletes.
|
|
-->
|
|
|
|
<item uid="desktop" arg="~/Desktop" valid="YES" autocomplete="Desktop" type="file">
|
|
<title>Desktop</title>
|
|
<subtitle>~/Desktop</subtitle>
|
|
<icon type="fileicon">~/Desktop</icon>
|
|
</item>
|
|
|
|
<!--
|
|
Example of loading an icon from the Workflow's folder.
|
|
This item is set as valid no, which means it won't be actioned
|
|
-->
|
|
|
|
<item uid="flickr" valid="no" autocomplete="flickr">
|
|
<title>Flickr</title>
|
|
<icon>flickr.png</icon>
|
|
</item>
|
|
|
|
<!--
|
|
Example of using icon type 'filetype' to load the icon for the file type.
|
|
This item is of type "file" which means it will be treated as a file in
|
|
Alfred's results, so can be actioned and revealed in finder.
|
|
-->
|
|
|
|
<item uid="image" autocomplete="My holiday photo" type="file">
|
|
<title>My holiday photo</title>
|
|
<subtitle>~/Pictures/My holiday photo.jpg</subtitle>
|
|
<icon type="filetype">public.jpeg</icon>
|
|
</item>
|
|
|
|
</items>
|
|
XML</string>
|
|
<key>title</key>
|
|
<string>UTC</string>
|
|
<key>type</key>
|
|
<integer>2</integer>
|
|
<key>withspace</key>
|
|
<true/>
|
|
</dict>
|
|
<key>type</key>
|
|
<string>alfred.workflow.input.scriptfilter</string>
|
|
<key>uid</key>
|
|
<string>E27FC871-7F10-4A94-9E7E-1978EF1E5B7A</string>
|
|
<key>version</key>
|
|
<integer>0</integer>
|
|
</dict>
|
|
</array>
|
|
<key>readme</key>
|
|
<string></string>
|
|
<key>uidata</key>
|
|
<dict>
|
|
<key>E27FC871-7F10-4A94-9E7E-1978EF1E5B7A</key>
|
|
<dict>
|
|
<key>ypos</key>
|
|
<real>130</real>
|
|
</dict>
|
|
</dict>
|
|
<key>webaddress</key>
|
|
<string></string>
|
|
</dict>
|
|
</plist>
|