-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathAE all snippets from blog post.textexpander
1599 lines (1276 loc) · 48.3 KB
/
AE all snippets from blog post.textexpander
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
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
<?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>groupInfo</key>
<dict>
<key>expandAfterMode</key>
<integer>0</integer>
<key>groupName</key>
<string>AE all snippets from blog post</string>
</dict>
<key>snippetsTE2</key>
<array>
<dict>
<key>abbreviation</key>
<string>xbye</string>
<key>abbreviationMode</key>
<integer>0</integer>
<key>creationDate</key>
<date>2015-05-21T13:46:55Z</date>
<key>label</key>
<string>Random Good Bye </string>
<key>modificationDate</key>
<date>2015-09-03T22:00:57Z</date>
<key>plainText</key>
<string>-- Helmut Hauser-- http://www.worksmartandberemarkable.com-- July 2015-- ------------------------------------------ for Asian Efficieny-- http://www.asianefficiency.com/-- ------------------------------------------ Script originally taken from http://smilesoftware.com/help/TextExpander/applescript.html------------------------------------------ You can adapt the list to your needs----------------------------------------set greetingsList to {"All the best", "Live long and prosper", "Hasta la vista baby", "Peace Out", "Have a good day"}
----------------------------------------set listLength to count greetingsListset randomNumber to (random number from 1 to listLength)set selectedGreeting to item randomNumber of greetingsList------------------------------------------ You can change here some the formatting----------------------------------------set finalOutput to selectedGreeting & "," & return & "Mike Schmitz"return finalOutput
</string>
<key>snippetType</key>
<integer>2</integer>
<key>uuidString</key>
<string>E6F067C4-1FD2-4BCA-93BD-EA1840D0F13D</string>
</dict>
<dict>
<key>abbreviation</key>
<string>nxsat</string>
<key>abbreviationMode</key>
<integer>0</integer>
<key>creationDate</key>
<date>2015-05-21T09:16:55Z</date>
<key>label</key>
<string>date of next Saturday</string>
<key>modificationDate</key>
<date>2015-06-16T10:25:09Z</date>
<key>plainText</key>
<string># AppleScript for TextExpander# Helmut Hauser# May 21, 2015# http://www.worksmartandberemarkable.com## for Asian Efficiency# http://www.asianefficiency.com/# For different weekdays you simply have to change the this line# e.g., set dateOfNextWeekday to getDateOfNextWeekWeekday(Monday) -- Mondayset dateOfNextWeekday to getDateOfNextWeekday(Saturday) -- Saturdayset myWeekDay to weekday of dateOfNextWeekdayset myMonth to month of dateOfNextWeekdayset myDay to day of dateOfNextWeekdayset myYear to year of dateOfNextWeekday# Here we put the final output together# if you want a different format, you will have to change this line# simply combine variables, like myMonth or my Day), with other textpiece like ")" # together with &set fullOutput to "next " & myWeekDay & " (" & myMonth & " " & myDay & ", " & myYear & ")"return fullOutput# ----------------------------------------# subroutine from Doug Stephen# see http://canadian-fury.com/2012/08/31/performing-fixed-point-date-arithmetic-in-textexpander-using-applescript/# adapted by Helmut Hauser# eneric script that allows you to get the date information of a specific upcoming weekday# e.g., to get the date of next Monday# getDateOfNextWeekday(Monday)# Note that the scripts caculates the next upcoming weekday # If today is Monday, getDateOfNextWeekday(Monday) will return the date for Monday next week# If today is Monday, getDateOfNextWeekday(Tuesday) will return the date of tomorrowon getDateOfNextWeekday(nextWeekdayToFind) set returnDate to current date if returnDate's weekday is nextWeekdayToFind then return (current date) + (7 * days) repeat until returnDate's weekday is nextWeekdayToFind set returnDate to returnDate + days end repeat return returnDateend getDateOfNextWeekday#----------------------------------------</string>
<key>snippetType</key>
<integer>2</integer>
<key>uuidString</key>
<string>1F564A8F-C1D1-42D8-9E89-E707E9C6A98C</string>
</dict>
<dict>
<key>abbreviation</key>
<string>nxsun</string>
<key>abbreviationMode</key>
<integer>0</integer>
<key>creationDate</key>
<date>2015-05-21T09:16:55Z</date>
<key>label</key>
<string>date of next Sunday</string>
<key>modificationDate</key>
<date>2015-06-16T10:22:18Z</date>
<key>plainText</key>
<string># AppleScript for TextExpander# Helmut Hauser# May 21, 2015# http://www.worksmartandberemarkable.com## for Asian Efficiency# http://www.asianefficiency.com/# For different weekdays you simply have to change the this line# e.g., set dateOfNextWeekday to getDateOfNextWeekWeekday(Monday) -- Mondayset dateOfNextWeekday to getDateOfNextWeekday(Sunday) -- Sundayset myWeekDay to weekday of dateOfNextWeekdayset myMonth to month of dateOfNextWeekdayset myDay to day of dateOfNextWeekdayset myYear to year of dateOfNextWeekday# Here we put the final output together# if you want a different format, you will have to change this line# simply combine variables, like myMonth or my Day), with other textpiece like ")" # together with &set fullOutput to "next " & myWeekDay & " (" & myMonth & " " & myDay & ", " & myYear & ")"return fullOutput# ----------------------------------------# subroutine from Doug Stephen# see http://canadian-fury.com/2012/08/31/performing-fixed-point-date-arithmetic-in-textexpander-using-applescript/# adapted by Helmut Hauser# eneric script that allows you to get the date information of a specific upcoming weekday# e.g., to get the date of next Monday# getDateOfNextWeekday(Monday)# Note that the scripts caculates the next upcoming weekday # If today is Monday, getDateOfNextWeekday(Monday) will return the date for Monday next week# If today is Monday, getDateOfNextWeekday(Tuesday) will return the date of tomorrowon getDateOfNextWeekday(nextWeekdayToFind) set returnDate to current date if returnDate's weekday is nextWeekdayToFind then return (current date) + (7 * days) repeat until returnDate's weekday is nextWeekdayToFind set returnDate to returnDate + days end repeat return returnDateend getDateOfNextWeekday#----------------------------------------</string>
<key>snippetType</key>
<integer>2</integer>
<key>uuidString</key>
<string>4255DDAA-41FD-4383-906B-4800E4A1ABAB</string>
</dict>
<dict>
<key>abbreviation</key>
<string>nxthu</string>
<key>abbreviationMode</key>
<integer>0</integer>
<key>creationDate</key>
<date>2015-05-21T09:16:55Z</date>
<key>label</key>
<string>date of next Thursday</string>
<key>modificationDate</key>
<date>2015-06-16T10:24:24Z</date>
<key>plainText</key>
<string># AppleScript for TextExpander# Helmut Hauser# May 21, 2015# http://www.worksmartandberemarkable.com## for Asian Efficiency# http://www.asianefficiency.com/# For different weekdays you simply have to change the this line# e.g., set dateOfNextWeekday to getDateOfNextWeekWeekday(Monday) -- Mondayset dateOfNextWeekday to getDateOfNextWeekday(Thursday) -- Thursdayset myWeekDay to weekday of dateOfNextWeekdayset myMonth to month of dateOfNextWeekdayset myDay to day of dateOfNextWeekdayset myYear to year of dateOfNextWeekday# Here we put the final output together# if you want a different format, you will have to change this line# simply combine variables, like myMonth or my Day), with other textpiece like ")" # together with &set fullOutput to "next " & myWeekDay & " (" & myMonth & " " & myDay & ", " & myYear & ")"return fullOutput# ----------------------------------------# subroutine from Doug Stephen# see http://canadian-fury.com/2012/08/31/performing-fixed-point-date-arithmetic-in-textexpander-using-applescript/# adapted by Helmut Hauser# eneric script that allows you to get the date information of a specific upcoming weekday# e.g., to get the date of next Monday# getDateOfNextWeekday(Monday)# Note that the scripts caculates the next upcoming weekday # If today is Monday, getDateOfNextWeekday(Monday) will return the date for Monday next week# If today is Monday, getDateOfNextWeekday(Tuesday) will return the date of tomorrowon getDateOfNextWeekday(nextWeekdayToFind) set returnDate to current date if returnDate's weekday is nextWeekdayToFind then return (current date) + (7 * days) repeat until returnDate's weekday is nextWeekdayToFind set returnDate to returnDate + days end repeat return returnDateend getDateOfNextWeekday#----------------------------------------</string>
<key>snippetType</key>
<integer>2</integer>
<key>uuidString</key>
<string>B4D2A906-F13A-4545-9FBE-85981A19AE4B</string>
</dict>
<dict>
<key>abbreviation</key>
<string>nxtue</string>
<key>abbreviationMode</key>
<integer>0</integer>
<key>creationDate</key>
<date>2015-05-21T09:16:55Z</date>
<key>label</key>
<string>date of next Tueday</string>
<key>modificationDate</key>
<date>2015-07-13T21:00:18Z</date>
<key>plainText</key>
<string># AppleScript for TextExpander# Helmut Hauser# May 21, 2015# http://www.worksmartandberemarkable.com## for Asian Efficiency# http://www.asianefficiency.com/# For different weekdays you simply have to change the this line# e.g., set dateOfNextWeekday to getDateOfNextWeekWeekday(Monday) -- Mondayset dateOfNextWeekday to getDateOfNextWeekday(Tuesday) -- Tuesdayset myWeekDay to weekday of dateOfNextWeekdayset myMonth to month of dateOfNextWeekdayset myDay to day of dateOfNextWeekdayset myYear to year of dateOfNextWeekday# Here we put the final output together# if you want a different format, you will have to change this line# simply combine variables, like myMonth or my Day), with other textpiece like ")" # together with &set fullOutput to "next " & myWeekDay & " (" & myMonth & " " & myDay & ", " & myYear & ")"return fullOutput# ----------------------------------------# subroutine from Doug Stephen# see http://canadian-fury.com/2012/08/31/performing-fixed-point-date-arithmetic-in-textexpander-using-applescript/# adapted by Helmut Hauser# eneric script that allows you to get the date information of a specific upcoming weekday# e.g., to get the date of next Monday# getDateOfNextWeekday(Monday)# Note that the scripts caculates the next upcoming weekday # If today is Monday, getDateOfNextWeekday(Monday) will return the date for Monday next week# If today is Monday, getDateOfNextWeekday(Tuesday) will return the date of tomorrowon getDateOfNextWeekday(nextWeekdayToFind) set returnDate to current date if returnDate's weekday is nextWeekdayToFind then return (current date) + (7 * days) repeat until returnDate's weekday is nextWeekdayToFind set returnDate to returnDate + days end repeat return returnDateend getDateOfNextWeekday#----------------------------------------</string>
<key>snippetType</key>
<integer>2</integer>
<key>uuidString</key>
<string>3778F06C-0F0A-46F9-8CC5-6B52FFFEAA7A</string>
</dict>
<dict>
<key>abbreviation</key>
<string>nxwed</string>
<key>abbreviationMode</key>
<integer>0</integer>
<key>creationDate</key>
<date>2015-05-21T09:16:55Z</date>
<key>label</key>
<string>date of next Wednesday</string>
<key>modificationDate</key>
<date>2015-06-16T10:24:10Z</date>
<key>plainText</key>
<string># AppleScript for TextExpander# Helmut Hauser# May 21, 2015# http://www.worksmartandberemarkable.com## for Asian Efficiency# http://www.asianefficiency.com/# For different weekdays you simply have to change the this line# e.g., set dateOfNextWeekday to getDateOfNextWeekWeekday(Monday) -- Mondayset dateOfNextWeekday to getDateOfNextWeekday(Wednesday) -- Wednesdayset myWeekDay to weekday of dateOfNextWeekdayset myMonth to month of dateOfNextWeekdayset myDay to day of dateOfNextWeekdayset myYear to year of dateOfNextWeekday# Here we put the final output together# if you want a different format, you will have to change this line# simply combine variables, like myMonth or my Day), with other textpiece like ")" # together with &set fullOutput to "next " & myWeekDay & " (" & myMonth & " " & myDay & ", " & myYear & ")"return fullOutput# ----------------------------------------# subroutine from Doug Stephen# see http://canadian-fury.com/2012/08/31/performing-fixed-point-date-arithmetic-in-textexpander-using-applescript/# adapted by Helmut Hauser# eneric script that allows you to get the date information of a specific upcoming weekday# e.g., to get the date of next Monday# getDateOfNextWeekday(Monday)# Note that the scripts caculates the next upcoming weekday # If today is Monday, getDateOfNextWeekday(Monday) will return the date for Monday next week# If today is Monday, getDateOfNextWeekday(Tuesday) will return the date of tomorrowon getDateOfNextWeekday(nextWeekdayToFind) set returnDate to current date if returnDate's weekday is nextWeekdayToFind then return (current date) + (7 * days) repeat until returnDate's weekday is nextWeekdayToFind set returnDate to returnDate + days end repeat return returnDateend getDateOfNextWeekday#----------------------------------------</string>
<key>snippetType</key>
<integer>2</integer>
<key>uuidString</key>
<string>BD5668F0-2C8F-41C8-B361-3B911DBDDDC3</string>
</dict>
<dict>
<key>abbreviation</key>
<string>lmail</string>
<key>abbreviationMode</key>
<integer>0</integer>
<key>creationDate</key>
<date>2015-05-29T12:42:09Z</date>
<key>label</key>
<string>get unique email link</string>
<key>modificationDate</key>
<date>2015-09-03T22:02:28Z</date>
<key>plainText</key>
<string># Helmut Hauser # http://www.worksmartandberemarkable.com # # Jun 2015 # # for Asian Efficiency # http://www.asianefficiency.com/# You have to adapt this line to your mail account name
# You can find it in your Mail preferences under accounts and there in "Description"
set accountName to "Personal"
tell application "Mail" set _links to {} set _msg to first message of mailbox "Sent" of account accountName set _messageURL to "message://%3c" & _msg's message id & "%3e" set end of _links to _messageURL set AppleScript's text item delimiters to return return (_links as string)end tell</string>
<key>snippetType</key>
<integer>2</integer>
<key>uuidString</key>
<string>EF344DA5-626C-4032-8C7B-67A215E56953</string>
</dict>
<dict>
<key>abbreviation</key>
<string>lnvalt</string>
<key>abbreviationMode</key>
<integer>0</integer>
<key>creationDate</key>
<date>2015-05-27T10:16:07Z</date>
<key>label</key>
<string>get link to nvALT document</string>
<key>modificationDate</key>
<date>2015-07-26T06:31:49Z</date>
<key>plainText</key>
<string>on textexpander(abbreviation)
# Helmut Hauser # http://www.worksmartandberemarkable.com # # Jun 2015 # # for Asian Efficiency # http://www.asianefficiency.com/ # Form to link to nvALT: # nv://find/ideas%20for%papers # spaces are converted to "%20" #convert to URL scheme #get title from the currently highlighted nvALT document tell application "System Events" tell process "nvALT" tell window "nvALT" set textVal to (value of (text field 1 of group 1 of toolbar 1)) end tell end tell end tell set finalOutput to "nv://find/" & replace_chars(textVal, " ", "%20") set ouT to (finalOutput as text) return (ouT) end textexpander# subroutine taken from# http://www.macosxautomation.com/applescript/sbrt/sbrt-06.htmlon replace_chars(this_text, search_string, replacement_string) set AppleScript's text item delimiters to the search_string set the item_list to every text item of this_text set AppleScript's text item delimiters to the replacement_string set this_text to the item_list as string set AppleScript's text item delimiters to "" return this_textend replace_chars</string>
<key>snippetType</key>
<integer>2</integer>
<key>uuidString</key>
<string>491531B9-CE2B-442E-9BC5-F30F71545E3A</string>
</dict>
<dict>
<key>abbreviation</key>
<string>ltiny</string>
<key>abbreviationMode</key>
<integer>0</integer>
<key>creationDate</key>
<date>2015-01-20T11:02:49Z</date>
<key>label</key>
<string>get shortened URL link via tinyurl</string>
<key>modificationDate</key>
<date>2015-07-26T06:27:10Z</date>
<key>plainText</key>
<string># script that takes the URL of the currently active Safari window and returns # a shortened link created by the tinyurl service-- Helmut Hauser-- http://www.worksmartandberemarkable.com-- July 2, 2015-- ------------------------------------------ for Asian Efficieny-- http://www.asianefficiency.com/-- code adapted from -- https://gist.github.com/justin/332866tell application "Safari" set ClipURL to URL of current tab of window 1end tellignoring case set curlCMD to ¬ "curl --stderr /dev/null \"http://tinyurl.com/api-create.php?url=" & ClipURL & "\"" -- Run the script and get the result: set tinyURL to (do shell script curlCMD) return tinyURL end ignoring</string>
<key>snippetType</key>
<integer>2</integer>
<key>uuidString</key>
<string>87E36173-8F62-421E-9ECB-FE62D6659C2D</string>
</dict>
<dict>
<key>abbreviation</key>
<string>lhtml</string>
<key>abbreviationMode</key>
<integer>0</integer>
<key>creationDate</key>
<date>2015-07-13T06:19:39Z</date>
<key>label</key>
<string>URL to HTML link</string>
<key>modificationDate</key>
<date>2015-07-26T06:40:09Z</date>
<key>plainText</key>
<string># Helmut Hauser# http://www.worksmartandberemarkable.com# # July 2015## for Asian Efficiency# http://www.asianefficiency.com/
<a href="%snippet:safurl%"> %| </a></string>
<key>snippetType</key>
<integer>0</integer>
<key>uuidString</key>
<string>181C7928-50C6-4EC8-98CC-860932375061</string>
</dict>
<dict>
<key>abbreviation</key>
<string>llatex</string>
<key>abbreviationMode</key>
<integer>0</integer>
<key>creationDate</key>
<date>2015-07-13T06:19:39Z</date>
<key>label</key>
<string>URL to LaTeX link</string>
<key>modificationDate</key>
<date>2015-07-26T06:40:15Z</date>
<key>plainText</key>
<string># Helmut Hauser# http://www.worksmartandberemarkable.com# # July 2015## for Asian Efficiency# http://www.asianefficiency.com/
\href{%snippet:safurl%}{ %| }</string>
<key>snippetType</key>
<integer>0</integer>
<key>uuidString</key>
<string>657792AF-5EA3-4FD6-85AA-1BFB8935FA3C</string>
</dict>
<dict>
<key>abbreviation</key>
<string>lmd</string>
<key>abbreviationMode</key>
<integer>0</integer>
<key>creationDate</key>
<date>2015-07-13T06:19:39Z</date>
<key>label</key>
<string>URL to Markdown link</string>
<key>modificationDate</key>
<date>2015-07-26T06:40:19Z</date>
<key>plainText</key>
<string># Helmut Hauser# http://www.worksmartandberemarkable.com# # July 2015## for Asian Efficiency# http://www.asianefficiency.com/
[ %| ](%snippet:safurl%)</string>
<key>snippetType</key>
<integer>0</integer>
<key>uuidString</key>
<string>00D159DF-D0E1-410C-8408-8F16B879E4EE</string>
</dict>
<dict>
<key>abbreviation</key>
<string>chrtit</string>
<key>abbreviationMode</key>
<integer>0</integer>
<key>creationDate</key>
<date>2015-07-13T06:19:39Z</date>
<key>label</key>
<string>get title of Chrome browser</string>
<key>modificationDate</key>
<date>2015-07-26T06:19:58Z</date>
<key>plainText</key>
<string>#simple script that returns the title of the foremost window and tab of Google Chrome
-- Helmut Hauser-- http://www.worksmartandberemarkable.com-- July 2, 2015-- ------------------------------------------ for Asian Efficieny-- http://www.asianefficiency.com/
tell application "Google Chrome" to return title of active tab of front window</string>
<key>snippetType</key>
<integer>2</integer>
<key>uuidString</key>
<string>F5AFB08E-1991-4A1C-AB7E-92CE8AF470BD</string>
</dict>
<dict>
<key>abbreviation</key>
<string>chrurl</string>
<key>abbreviationMode</key>
<integer>0</integer>
<key>creationDate</key>
<date>2015-07-13T06:19:39Z</date>
<key>label</key>
<string>get URL of Chrome browser</string>
<key>modificationDate</key>
<date>2015-07-26T06:20:06Z</date>
<key>plainText</key>
<string>#simple script that returns the URL of the foremost window and tab of Google Chrome
-- Helmut Hauser-- http://www.worksmartandberemarkable.com-- July 2, 2015-- ------------------------------------------ for Asian Efficieny-- http://www.asianefficiency.com/
tell application "Google Chrome" to return URL of active tab of front window</string>
<key>snippetType</key>
<integer>2</integer>
<key>uuidString</key>
<string>30138987-F38F-414E-A4D9-552E89CE67B2</string>
</dict>
<dict>
<key>abbreviation</key>
<string>saftit</string>
<key>abbreviationMode</key>
<integer>0</integer>
<key>creationDate</key>
<date>2015-07-13T06:19:39Z</date>
<key>label</key>
<string>get title of Safari browser</string>
<key>modificationDate</key>
<date>2015-07-26T06:19:50Z</date>
<key>plainText</key>
<string>#simple script that returns the title of the foremost window and tab of Safari
-- Helmut Hauser-- http://www.worksmartandberemarkable.com-- July 2, 2015-- ------------------------------------------ for Asian Efficieny-- http://www.asianefficiency.com/
tell application "Safari" to return name of current tab of window 1</string>
<key>snippetType</key>
<integer>2</integer>
<key>uuidString</key>
<string>88DBBF79-6210-424F-B245-D8212B91A317</string>
</dict>
<dict>
<key>abbreviation</key>
<string>safurl</string>
<key>abbreviationMode</key>
<integer>0</integer>
<key>creationDate</key>
<date>2015-07-13T06:19:39Z</date>
<key>label</key>
<string>get URL of Safari browser</string>
<key>modificationDate</key>
<date>2015-07-26T06:20:25Z</date>
<key>plainText</key>
<string>#simple script that returns the URL of the foremost window and tab of Safari
-- Helmut Hauser-- http://www.worksmartandberemarkable.com-- July 2, 2015-- ------------------------------------------ for Asian Efficieny-- http://www.asianefficiency.com/
tell application "Safari" to return URL of current tab of window 1</string>
<key>snippetType</key>
<integer>2</integer>
<key>uuidString</key>
<string>EA249560-CB2D-4469-83A9-B757CD0FBD89</string>
</dict>
<dict>
<key>abbreviation</key>
<string>newtop</string>
<key>abbreviationMode</key>
<integer>0</integer>
<key>creationDate</key>
<date>2015-01-25T17:30:20Z</date>
<key>label</key>
<string>next week nicely formatted</string>
<key>modificationDate</key>
<date>2015-07-25T22:04:47Z</date>
<key>plainText</key>
<string># Helmut Hauser# http://www.worksmartandberemarkable.com# # 17. Jun 2015## for Asian Efficiency# http://www.asianefficiency.com/# Get date information from Monday to Sunday# If weekday is Monday or Tuesday still calculate the date range for the current week# otherwise take the upcoming weekglobal TodayDateset TodayDate to current date# to insure that on Tuesdays still provides the current week if TodayDate's weekday is Tuesday then set TodayDate to TodayDate - daysend ifif TodayDate's weekday is Monday then # caculate still the date range for the current week set dayNextSunday to (day of getDateOfNextWeekday(Sunday)) set dayNextMonday to (day of TodayDate) set monthNextSunday to (month of getDateOfNextWeekday(Sunday)) set monthNextMonday to (month of TodayDate)else # caculate the date range for the upcoming week set dayNextSunday to (day of getDateOfNextWeekWeekday(Sunday)) set dayNextMonday to (day of getDateOfNextWeekWeekday(Monday)) set monthNextSunday to (month of getDateOfNextWeekWeekday(Sunday)) set monthNextMonday to (month of getDateOfNextWeekWeekday(Monday))end if# ========================================# formatting the final output# ========================================set monthNextMonday to (text 1 thru 3 of (monthNextMonday as string))set monthNextSunday to (text 1 thru 3 of (monthNextSunday as string))set longLine to ("========================================" as string)set fullOutput to longLine & return & " " & dayNextMonday & ". " & monthNextMonday & " - " & dayNextSunday & ". " & monthNextSunday & return & longLine & returnreturn fullOutput# Script from Doug Stephen (adapted by Helmut Hauser)# see http://canadian-fury.com/2012/08/31/performing-fixed-point-date-arithmetic-in-textexpander-using-applescript/# generic script that allows you to the date informmation of the # e.g., getting the date of next Monday# getDateOfNextWeekday(Monday)
# Note if today is this weekday (e.g., Monday) it returns the date of the next week's Mondayon getDateOfNextWeekday(nextWeekdayToFind) set returnDate to current date if returnDate's weekday is nextWeekdayToFind then set returnDate to returnDate + days --if returnDate's weekday is nextWeekdayToFind then set returnDate to returnDate + 7 repeat until returnDate's weekday is nextWeekdayToFind set returnDate to returnDate + days end repeat return returnDateend getDateOfNextWeekday## ========================================on getDateOfNextWeekWeekday(nextWeekdayToFind) #find next Sunday as a starting point to count (i.e., week starts with Monday) set nextSundayDate to TodayDate if nextSundayDate's weekday is Sunday then nextSundayDate is ((TodayDate) + (7 * days)) else repeat until nextSundayDate's weekday is Sunday set nextSundayDate to nextSundayDate + days end repeat end if # Using Sunday as starting point to find the date of the weekday set returnDate to nextSundayDate if returnDate's weekday is nextWeekdayToFind then return (nextSundayDate) + (7 * days) repeat until returnDate's weekday is nextWeekdayToFind set returnDate to returnDate + days end repeat return returnDate end getDateOfNextWeekWeekday</string>
<key>snippetType</key>
<integer>2</integer>
<key>uuidString</key>
<string>5358B78C-C8C4-45C0-9825-45415D769971</string>
</dict>
<dict>
<key>abbreviation</key>
<string>nwfri</string>
<key>abbreviationMode</key>
<integer>0</integer>
<key>creationDate</key>
<date>2015-06-16T10:10:05Z</date>
<key>label</key>
<string>date of Friday next week</string>
<key>modificationDate</key>
<date>2015-08-02T19:38:27Z</date>
<key>plainText</key>
<string># AppleScript for TextExpander# Helmut Hauser# May 21, 2015# http://www.worksmartandberemarkable.com## for Asian Efficiency# http://www.asianefficiency.com/# For different weekdays you simply have to change the this line# e.g, set dateOfNextWeekday to getDateOfNextWeekWeekday(Sunday) -- Sundayset dateOfNextWeekday to getDateOfNextWeekWeekday(Friday) -- Fridayset myWeekDay to weekday of dateOfNextWeekdayset myMonth to month of dateOfNextWeekdayset myDay to day of dateOfNextWeekdayset myYear to year of dateOfNextWeekday# Here we put the final output together# if you want a different format, you will have to change this line# simply combine variables, like myMonth or my Day, with other text pieces like ")" or "," # You will have to put an ampersand "&" in between# If you need to make a newline use the keyword "return" (without quotation mark)set fullOutput to "" & myWeekDay & " next week" & " (" & myMonth & " " & myDay & ", " & myYear & ")"return fullOutput# ----------------------------------------# subroutine is based on script by Doug Stephen# see http://canadian-fury.com/2012/08/31/performing-fixed-point-date-arithmetic-in-textexpander-using-applescript/# adapted by Helmut Hauser#----------------------------------------on getDateOfNextWeekWeekday(nextWeekdayToFind) #find next Sunday as a starting point to count (i.e., week starts with Monday) set nextSundayDate to current date if nextSundayDate's weekday is Sunday then nextSundayDate is ((current date) + (7 * days)) else repeat until nextSundayDate's weekday is Sunday set nextSundayDate to nextSundayDate + days end repeat end if # Using Sunday as starting point to find the date of the weekday set returnDate to nextSundayDate if returnDate's weekday is nextWeekdayToFind then return (nextSundayDate) + (7 * days) repeat until returnDate's weekday is nextWeekdayToFind set returnDate to returnDate + days end repeat return returnDate end getDateOfNextWeekWeekday</string>
<key>snippetType</key>
<integer>2</integer>
<key>uuidString</key>
<string>D85166B6-7CD5-4F8B-9BC2-C863DBFECD6C</string>
</dict>
<dict>
<key>abbreviation</key>
<string>nwmon</string>
<key>abbreviationMode</key>
<integer>0</integer>
<key>creationDate</key>
<date>2015-06-16T10:10:05Z</date>
<key>label</key>
<string>date of Monday next week</string>
<key>modificationDate</key>
<date>2015-08-02T19:40:40Z</date>
<key>plainText</key>
<string># AppleScript for TextExpander# Helmut Hauser# May 21, 2015# http://www.worksmartandberemarkable.com## for Asian Efficiency# http://www.asianefficiency.com/# For different weekdays you simply have to change the this line# e.g, set dateOfNextWeekday to getDateOfNextWeekWeekday(Sunday) -- Sundayset dateOfNextWeekday to getDateOfNextWeekWeekday(Monday) -- Mondayset myWeekDay to weekday of dateOfNextWeekdayset myMonth to month of dateOfNextWeekdayset myDay to day of dateOfNextWeekdayset myYear to year of dateOfNextWeekday# Here we put the final output together# if you want a different format, you will have to change this line# simply combine variables, like myMonth or my Day, with other text pieces like ")" or "," # You will have to put an ampersand "&" in between# If you need to make a newline use the keyword "return" (without quotation mark)set fullOutput to "" & myWeekDay & " next week" & " (" & myMonth & " " & myDay & ", " & myYear & ")"return fullOutput# ----------------------------------------# subroutine is based on script by Doug Stephen# see http://canadian-fury.com/2012/08/31/performing-fixed-point-date-arithmetic-in-textexpander-using-applescript/# adapted by Helmut Hauser#----------------------------------------on getDateOfNextWeekWeekday(nextWeekdayToFind) #find next Sunday as a starting point to count (i.e., week starts with Monday) set nextSundayDate to current date if nextSundayDate's weekday is Sunday then nextSundayDate is ((current date) + (7 * days)) else repeat until nextSundayDate's weekday is Sunday set nextSundayDate to nextSundayDate + days end repeat end if # Using Sunday as starting point to find the date of the weekday set returnDate to nextSundayDate if returnDate's weekday is nextWeekdayToFind then return (nextSundayDate) + (7 * days) repeat until returnDate's weekday is nextWeekdayToFind set returnDate to returnDate + days end repeat return returnDate end getDateOfNextWeekWeekday</string>
<key>snippetType</key>
<integer>2</integer>
<key>uuidString</key>
<string>B4EE08F1-EE9C-4592-A82E-1132E994ABBE</string>
</dict>
<dict>
<key>abbreviation</key>
<string>nwsat</string>
<key>abbreviationMode</key>
<integer>0</integer>
<key>creationDate</key>
<date>2015-06-16T10:10:05Z</date>
<key>label</key>
<string>date of Saturday next week</string>
<key>modificationDate</key>
<date>2015-08-02T19:39:14Z</date>
<key>plainText</key>
<string># AppleScript for TextExpander# Helmut Hauser# May 21, 2015# http://www.worksmartandberemarkable.com## for Asian Efficiency# http://www.asianefficiency.com/# For different weekdays you simply have to change the this line# e.g, set dateOfNextWeekday to getDateOfNextWeekWeekday(Sunday) -- Sundayset dateOfNextWeekday to getDateOfNextWeekWeekday(Saturday) -- Saturdayset myWeekDay to weekday of dateOfNextWeekdayset myMonth to month of dateOfNextWeekdayset myDay to day of dateOfNextWeekdayset myYear to year of dateOfNextWeekday# Here we put the final output together# if you want a different format, you will have to change this line# simply combine variables, like myMonth or my Day, with other text pieces like ")" or "," # You will have to put an ampersand "&" in between# If you need to make a newline use the keyword "return" (without quotation mark)set fullOutput to "" & myWeekDay & " next week" & " (" & myMonth & " " & myDay & ", " & myYear & ")"return fullOutput# ----------------------------------------# subroutine is based on script by Doug Stephen# see http://canadian-fury.com/2012/08/31/performing-fixed-point-date-arithmetic-in-textexpander-using-applescript/# adapted by Helmut Hauser#----------------------------------------on getDateOfNextWeekWeekday(nextWeekdayToFind) #find next Sunday as a starting point to count (i.e., week starts with Monday) set nextSundayDate to current date if nextSundayDate's weekday is Sunday then nextSundayDate is ((current date) + (7 * days)) else repeat until nextSundayDate's weekday is Sunday set nextSundayDate to nextSundayDate + days end repeat end if # Using Sunday as starting point to find the date of the weekday set returnDate to nextSundayDate if returnDate's weekday is nextWeekdayToFind then return (nextSundayDate) + (7 * days) repeat until returnDate's weekday is nextWeekdayToFind set returnDate to returnDate + days end repeat return returnDate end getDateOfNextWeekWeekday</string>
<key>snippetType</key>
<integer>2</integer>
<key>uuidString</key>
<string>73EB0959-B5E8-48E5-9CA6-149ADC494E64</string>
</dict>
<dict>
<key>abbreviation</key>
<string>nwsun</string>
<key>abbreviationMode</key>
<integer>0</integer>
<key>creationDate</key>
<date>2015-06-16T10:10:05Z</date>
<key>label</key>
<string>date of Sunday next week</string>
<key>modificationDate</key>
<date>2015-08-02T19:39:19Z</date>
<key>plainText</key>
<string># AppleScript for TextExpander# Helmut Hauser# May 21, 2015# http://www.worksmartandberemarkable.com## for Asian Efficiency# http://www.asianefficiency.com/# For different weekdays you simply have to change the this line# e.g., set dateOfNextWeekday to getDateOfNextWeekWeekday(Monday) -- Mondayset dateOfNextWeekday to getDateOfNextWeekWeekday(Sunday) -- Sundayset myWeekDay to weekday of dateOfNextWeekdayset myMonth to month of dateOfNextWeekdayset myDay to day of dateOfNextWeekdayset myYear to year of dateOfNextWeekday# Here we put the final output together# if you want a different format, you will have to change this line# simply combine variables, like myMonth or my Day, with other text pieces like ")" or "," # You will have to put an ampersand "&" in between# If you need to make a newline use the keyword "return" (without quotation mark)set fullOutput to "" & myWeekDay & " next week" & " (" & myMonth & " " & myDay & ", " & myYear & ")"return fullOutput# ----------------------------------------# subroutine is based on script by Doug Stephen# see http://canadian-fury.com/2012/08/31/performing-fixed-point-date-arithmetic-in-textexpander-using-applescript/# adapted by Helmut Hauser#----------------------------------------on getDateOfNextWeekWeekday(nextWeekdayToFind) #find next Sunday as a starting point to count (i.e., week starts with Monday) set nextSundayDate to current date if nextSundayDate's weekday is Sunday then nextSundayDate is ((current date) + (7 * days)) else repeat until nextSundayDate's weekday is Sunday set nextSundayDate to nextSundayDate + days end repeat end if # Using Sunday as starting point to find the date of the weekday set returnDate to nextSundayDate if returnDate's weekday is nextWeekdayToFind then return (nextSundayDate) + (7 * days) repeat until returnDate's weekday is nextWeekdayToFind set returnDate to returnDate + days end repeat return returnDate end getDateOfNextWeekWeekday</string>
<key>snippetType</key>
<integer>2</integer>
<key>uuidString</key>
<string>8802BC71-2BFC-4A61-B4B4-A7B3407CB07D</string>
</dict>
<dict>
<key>abbreviation</key>
<string>nwthu</string>
<key>abbreviationMode</key>
<integer>0</integer>
<key>creationDate</key>
<date>2015-06-16T10:10:05Z</date>
<key>label</key>
<string>date of Thursday next week</string>
<key>modificationDate</key>
<date>2015-08-02T19:39:27Z</date>
<key>plainText</key>
<string># AppleScript for TextExpander# Helmut Hauser# May 21, 2015# http://www.worksmartandberemarkable.com## for Asian Efficiency# http://www.asianefficiency.com/# For different weekdays you simply have to change the this line# e.g, set dateOfNextWeekday to getDateOfNextWeekWeekday(Sunday) -- Sundayset dateOfNextWeekday to getDateOfNextWeekWeekday(Thursday) -- Thursdayset myWeekDay to weekday of dateOfNextWeekdayset myMonth to month of dateOfNextWeekdayset myDay to day of dateOfNextWeekdayset myYear to year of dateOfNextWeekday# Here we put the final output together# if you want a different format, you will have to change this line# simply combine variables, like myMonth or my Day, with other text pieces like ")" or "," # You will have to put an ampersand "&" in between# If you need to make a newline use the keyword "return" (without quotation mark)set fullOutput to "" & myWeekDay & " next week" & " (" & myMonth & " " & myDay & ", " & myYear & ")"return fullOutput# ----------------------------------------# subroutine is based on script by Doug Stephen# see http://canadian-fury.com/2012/08/31/performing-fixed-point-date-arithmetic-in-textexpander-using-applescript/# adapted by Helmut Hauser#----------------------------------------on getDateOfNextWeekWeekday(nextWeekdayToFind) #find next Sunday as a starting point to count (i.e., week starts with Monday) set nextSundayDate to current date if nextSundayDate's weekday is Sunday then nextSundayDate is ((current date) + (7 * days)) else repeat until nextSundayDate's weekday is Sunday set nextSundayDate to nextSundayDate + days end repeat end if # Using Sunday as starting point to find the date of the weekday set returnDate to nextSundayDate if returnDate's weekday is nextWeekdayToFind then return (nextSundayDate) + (7 * days) repeat until returnDate's weekday is nextWeekdayToFind set returnDate to returnDate + days end repeat return returnDate end getDateOfNextWeekWeekday</string>
<key>snippetType</key>
<integer>2</integer>
<key>uuidString</key>
<string>DEA609B5-0B61-454F-8596-0264CFC8AB89</string>
</dict>
<dict>
<key>abbreviation</key>
<string>nwtue</string>
<key>abbreviationMode</key>
<integer>0</integer>
<key>creationDate</key>
<date>2015-06-16T10:10:05Z</date>
<key>label</key>
<string>date of Monday next week</string>
<key>modificationDate</key>
<date>2015-08-02T19:39:33Z</date>
<key>plainText</key>
<string># AppleScript for TextExpander# Helmut Hauser# May 21, 2015# http://www.worksmartandberemarkable.com## for Asian Efficiency# http://www.asianefficiency.com/# For different weekdays you simply have to change the this line# e.g., set dateOfNextWeekday to getDateOfNextWeekWeekday(Sunday) -- Sundayset dateOfNextWeekday to getDateOfNextWeekWeekday(Tuesday) -- Tuesdayset myWeekDay to weekday of dateOfNextWeekdayset myMonth to month of dateOfNextWeekdayset myDay to day of dateOfNextWeekdayset myYear to year of dateOfNextWeekday# Here we put the final output together# if you want a different format, you will have to change this line# simply combine variables, like myMonth or my Day, with other text pieces like ")" or "," # You will have to put an ampersand "&" in between# If you need to make a newline use the keyword "return" (without quotation mark)set fullOutput to "" & myWeekDay & " next week" & " (" & myMonth & " " & myDay & ", " & myYear & ")"return fullOutput# ----------------------------------------# subroutine is based on script by Doug Stephen# see http://canadian-fury.com/2012/08/31/performing-fixed-point-date-arithmetic-in-textexpander-using-applescript/# adapted by Helmut Hauser#----------------------------------------on getDateOfNextWeekWeekday(nextWeekdayToFind) #find next Sunday as a starting point to count (i.e., week starts with Monday) set nextSundayDate to current date if nextSundayDate's weekday is Sunday then nextSundayDate is ((current date) + (7 * days)) else repeat until nextSundayDate's weekday is Sunday set nextSundayDate to nextSundayDate + days end repeat end if # Using Sunday as starting point to find the date of the weekday set returnDate to nextSundayDate if returnDate's weekday is nextWeekdayToFind then return (nextSundayDate) + (7 * days) repeat until returnDate's weekday is nextWeekdayToFind set returnDate to returnDate + days end repeat return returnDate end getDateOfNextWeekWeekday</string>
<key>snippetType</key>
<integer>2</integer>
<key>uuidString</key>
<string>CE1B4648-B524-40CB-B166-5551C7F55208</string>
</dict>
<dict>
<key>abbreviation</key>
<string>nwwed</string>
<key>abbreviationMode</key>
<integer>0</integer>
<key>creationDate</key>
<date>2015-06-16T10:10:05Z</date>
<key>label</key>
<string>date of Wednesday next week</string>
<key>modificationDate</key>
<date>2015-08-02T19:39:37Z</date>
<key>plainText</key>
<string># AppleScript for TextExpander# Helmut Hauser# May 21, 2015# http://www.worksmartandberemarkable.com## for Asian Efficiency# http://www.asianefficiency.com/# For different weekdays you simply have to change the this line# e.g., set dateOfNextWeekday to getDateOfNextWeekWeekday(Sunday) -- Sundayset dateOfNextWeekday to getDateOfNextWeekWeekday(Wednesday) -- Wednesdayset myWeekDay to weekday of dateOfNextWeekdayset myMonth to month of dateOfNextWeekdayset myDay to day of dateOfNextWeekdayset myYear to year of dateOfNextWeekday# Here we put the final output together# if you want a different format, you will have to change this line# simply combine variables, like myMonth or my Day, with other text pieces like ")" or "," # You will have to put an ampersand "&" in between# If you need to make a newline use the keyword "return" (without quotation mark)set fullOutput to "" & myWeekDay & " next week" & " (" & myMonth & " " & myDay & ", " & myYear & ")"return fullOutput# ----------------------------------------# subroutine is based on script by Doug Stephen# see http://canadian-fury.com/2012/08/31/performing-fixed-point-date-arithmetic-in-textexpander-using-applescript/# adapted by Helmut Hauser#----------------------------------------on getDateOfNextWeekWeekday(nextWeekdayToFind) #find next Sunday as a starting point to count (i.e., week starts with Monday) set nextSundayDate to current date if nextSundayDate's weekday is Sunday then nextSundayDate is ((current date) + (7 * days)) else repeat until nextSundayDate's weekday is Sunday set nextSundayDate to nextSundayDate + days end repeat end if # Using Sunday as starting point to find the date of the weekday set returnDate to nextSundayDate if returnDate's weekday is nextWeekdayToFind then return (nextSundayDate) + (7 * days) repeat until returnDate's weekday is nextWeekdayToFind set returnDate to returnDate + days end repeat return returnDate end getDateOfNextWeekWeekday</string>
<key>snippetType</key>
<integer>2</integer>
<key>uuidString</key>
<string>D34B38AF-2EAB-471E-B4E1-0E5A65F35B1F</string>
</dict>
<dict>
<key>abbreviation</key>
<string>nxfri</string>
<key>abbreviationMode</key>
<integer>0</integer>
<key>creationDate</key>
<date>2015-05-21T09:16:55Z</date>
<key>label</key>
<string>date of next Friday</string>
<key>modificationDate</key>
<date>2015-06-16T10:24:44Z</date>
<key>plainText</key>
<string># AppleScript for TextExpander# Helmut Hauser# May 21, 2015# http://www.worksmartandberemarkable.com## for Asian Efficiency# http://www.asianefficiency.com/# For different weekdays you simply have to change the this line# e.g., set dateOfNextWeekday to getDateOfNextWeekWeekday(Monday) -- Mondayset dateOfNextWeekday to getDateOfNextWeekday(Friday) -- Fridayset myWeekDay to weekday of dateOfNextWeekdayset myMonth to month of dateOfNextWeekdayset myDay to day of dateOfNextWeekdayset myYear to year of dateOfNextWeekday# Here we put the final output together# if you want a different format, you will have to change this line# simply combine variables, like myMonth or my Day), with other textpiece like ")" # together with &set fullOutput to "next " & myWeekDay & " (" & myMonth & " " & myDay & ", " & myYear & ")"return fullOutput# ----------------------------------------# subroutine from Doug Stephen# see http://canadian-fury.com/2012/08/31/performing-fixed-point-date-arithmetic-in-textexpander-using-applescript/# adapted by Helmut Hauser# eneric script that allows you to get the date information of a specific upcoming weekday# e.g., to get the date of next Monday# getDateOfNextWeekday(Monday)# Note that the scripts caculates the next upcoming weekday # If today is Monday, getDateOfNextWeekday(Monday) will return the date for Monday next week# If today is Monday, getDateOfNextWeekday(Tuesday) will return the date of tomorrowon getDateOfNextWeekday(nextWeekdayToFind) set returnDate to current date if returnDate's weekday is nextWeekdayToFind then return (current date) + (7 * days) repeat until returnDate's weekday is nextWeekdayToFind set returnDate to returnDate + days end repeat return returnDateend getDateOfNextWeekday#----------------------------------------</string>
<key>snippetType</key>
<integer>2</integer>
<key>uuidString</key>
<string>0F0039CA-71C4-4A3A-A758-9B014176DC0E</string>
</dict>
<dict>
<key>abbreviation</key>
<string>nxmon</string>
<key>abbreviationMode</key>
<integer>0</integer>
<key>creationDate</key>
<date>2015-05-21T09:16:55Z</date>
<key>label</key>
<string>date of next Monday</string>
<key>modificationDate</key>
<date>2015-06-16T10:23:38Z</date>
<key>plainText</key>
<string># AppleScript for TextExpander# Helmut Hauser# May 21, 2015# http://www.worksmartandberemarkable.com## for Asian Efficiency# http://www.asianefficiency.com/# For different weekdays you simply have to change the this line# e.g., set dateOfNextWeekday to getDateOfNextWeekWeekday(Sunday) -- Sundayset dateOfNextWeekday to getDateOfNextWeekday(Monday) -- Mondayset myWeekDay to weekday of dateOfNextWeekdayset myMonth to month of dateOfNextWeekdayset myDay to day of dateOfNextWeekdayset myYear to year of dateOfNextWeekday# Here we put the final output together# if you want a different format, you will have to change this line# simply combine variables, like myMonth or my Day), with other textpiece like ")" # together with &set fullOutput to "next " & myWeekDay & " (" & myMonth & " " & myDay & ", " & myYear & ")"return fullOutput# ----------------------------------------# subroutine from Doug Stephen# see http://canadian-fury.com/2012/08/31/performing-fixed-point-date-arithmetic-in-textexpander-using-applescript/# adapted by Helmut Hauser# eneric script that allows you to get the date information of a specific upcoming weekday# e.g., to get the date of next Monday# getDateOfNextWeekday(Monday)# Note that the scripts caculates the next upcoming weekday # If today is Monday, getDateOfNextWeekday(Monday) will return the date for Monday next week# If today is Monday, getDateOfNextWeekday(Tuesday) will return the date of tomorrowon getDateOfNextWeekday(nextWeekdayToFind) set returnDate to current date if returnDate's weekday is nextWeekdayToFind then return (current date) + (7 * days) repeat until returnDate's weekday is nextWeekdayToFind set returnDate to returnDate + days end repeat return returnDateend getDateOfNextWeekday#----------------------------------------</string>
<key>snippetType</key>
<integer>2</integer>
<key>uuidString</key>
<string>691EC544-6816-4427-A4AC-49DE15A99542</string>
</dict>
</array>
</dict>
</plist>