This repository has been archived by the owner on Oct 2, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathinfo.plist
158 lines (147 loc) · 3.79 KB
/
info.plist
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
<?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>com.kopepasah.google-url-shortener</string>
<key>connections</key>
<dict>
<key>320A4CFF-6BE3-4410-A09F-AC6BC2ABA1C3</key>
<array>
<dict>
<key>destinationuid</key>
<string>5F51E1CB-3C26-4FB1-BAC9-B4BB6989AC3B</string>
<key>modifiers</key>
<integer>0</integer>
<key>modifiersubtext</key>
<string></string>
</dict>
<dict>
<key>destinationuid</key>
<string>C54169F4-B66A-451F-B3C2-F7203BE8E6F7</string>
<key>modifiers</key>
<integer>0</integer>
<key>modifiersubtext</key>
<string></string>
</dict>
</array>
</dict>
<key>createdby</key>
<string>Justin Kopepasah</string>
<key>description</key>
<string>Shorten a long URL using goo.gl.</string>
<key>disabled</key>
<false/>
<key>name</key>
<string>Google URL Shortener</string>
<key>objects</key>
<array>
<dict>
<key>config</key>
<dict>
<key>autopaste</key>
<false/>
<key>clipboardtext</key>
<string>{query}</string>
</dict>
<key>type</key>
<string>alfred.workflow.output.clipboard</string>
<key>uid</key>
<string>5F51E1CB-3C26-4FB1-BAC9-B4BB6989AC3B</string>
<key>version</key>
<integer>0</integer>
</dict>
<dict>
<key>config</key>
<dict>
<key>argumenttype</key>
<integer>0</integer>
<key>escaping</key>
<integer>63</integer>
<key>keyword</key>
<string>goo.gl</string>
<key>runningsubtext</key>
<string>Fetching URL...</string>
<key>script</key>
<string>define( 'API_KEY', 'AIzaSyD7ejtWQ4feSzK_6GNCpDzT5xCUUdGM1Uo' );
// Pull in the Workflows class.
require_once( 'workflows.php' );
// Pull in the Google API Class.
require_once( 'api.php' );
// Require our URL builder.
require_once( 'url.php' );
// Get URL!
get_url( '{query}' );</string>
<key>subtext</key>
<string>Paste/Type Long URL</string>
<key>title</key>
<string>Google URL Shortener</string>
<key>type</key>
<integer>1</integer>
<key>withspace</key>
<true/>
</dict>
<key>type</key>
<string>alfred.workflow.input.scriptfilter</string>
<key>uid</key>
<string>320A4CFF-6BE3-4410-A09F-AC6BC2ABA1C3</string>
<key>version</key>
<integer>0</integer>
</dict>
<dict>
<key>config</key>
<dict>
<key>lastpathcomponent</key>
<false/>
<key>onlyshowifquerypopulated</key>
<false/>
<key>output</key>
<integer>0</integer>
<key>removeextension</key>
<false/>
<key>sticky</key>
<false/>
<key>text</key>
<string>{query}</string>
<key>title</key>
<string>Goo.gl URL Copied</string>
</dict>
<key>type</key>
<string>alfred.workflow.output.notification</string>
<key>uid</key>
<string>C54169F4-B66A-451F-B3C2-F7203BE8E6F7</string>
<key>version</key>
<integer>0</integer>
</dict>
</array>
<key>readme</key>
<string>Google URL Shortener
An Alfred Extension that uses Google's URL Shortener API to shorten long URLs.
Workflows class is written by David Ferguson (many thanks).
NOTE: All goo.gl URLs and click analytics are public and can be accessed by anyone.
Installation
Download the latest release and install the workflow via Alfred.
Usage
Type goo.gl and paste/type your long URL, press enter/return to copy to clipboard.</string>
<key>uidata</key>
<dict>
<key>320A4CFF-6BE3-4410-A09F-AC6BC2ABA1C3</key>
<dict>
<key>ypos</key>
<real>120</real>
</dict>
<key>5F51E1CB-3C26-4FB1-BAC9-B4BB6989AC3B</key>
<dict>
<key>ypos</key>
<real>30</real>
</dict>
<key>C54169F4-B66A-451F-B3C2-F7203BE8E6F7</key>
<dict>
<key>ypos</key>
<real>220</real>
</dict>
</dict>
<key>webaddress</key>
<string>kopepasah.com</string>
</dict>
</plist>