tag:blogger.com,1999:blog-102594812024-03-17T20:05:57.070-05:00Joel EslerJoel Esler. This is my blog.Joel Eslerhttp://www.blogger.com/profile/05018134738510159518noreply@blogger.comBlogger1728125tag:blogger.com,1999:blog-10259481.post-24999104064511359862023-12-18T09:29:00.001-05:002023-12-18T09:29:05.932-05:00Deleting Duplicate Notes in Notes.app using AppleScript<div><div>I found myself digging through my Notes.app the other day and, lo and behold, there was a whole bunch of duplicate notes hanging around. Pretty sure I goofed and imported them twice or something along those lines.</div><div><br /></div><div>To fix the mess, I whipped up a quick AppleScript that zapped the duplicates just by looking at the note titles. Since the folder wasn't a big mess and I was dealing with a pretty neat pile, I was cool with the script going on a deleting spree. Just to be safe, though, I did a quick sweep through the "Recently Deleted" folder afterward to make sure nothing important got caught in the crossfire.</div></div><div><br /></div><div>Use with caution:</div><div><br /></div><div><p style="font-family: Verdana; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-emoji: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; line-height: normal; margin: 0px 0px 0px 41.6px; text-indent: -41.6px;"><span style="font-variant-ligatures: no-common-ligatures;"><b>tell</b> </span><span style="color: blue; font-variant-ligatures: no-common-ligatures;"><i>application</i></span><span style="font-variant-ligatures: no-common-ligatures;"> "Notes"</span></p>
<p style="color: #4c4e4e; font-family: Verdana; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-emoji: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; line-height: normal; margin: 0px 0px 0px 78.5px; text-indent: -78.6px;"><span style="color: black; font-variant-ligatures: no-common-ligatures;"><span class="Apple-tab-span" style="white-space: pre;"> </span><b>set</b> </span><span style="color: #408000; font-variant-ligatures: no-common-ligatures;">targetFolder</span><span style="color: black; font-variant-ligatures: no-common-ligatures;"> <b>to</b> "</span><span style="color: purple; font-family: Menlo; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-stretch: normal; font-style: normal; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-emoji: normal; font-variant-ligatures: no-common-ligatures; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; line-height: normal;">Target</span><span style="color: black; font-variant-ligatures: no-common-ligatures;">" </span><span style="font-variant-ligatures: no-common-ligatures;">-- Change this to your folder name</span></p>
<p style="font-family: Verdana; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-emoji: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; line-height: normal; margin: 0px 0px 0px 83.2px; min-height: 15px; text-indent: -83.2px;"><span style="font-variant-ligatures: no-common-ligatures;"><span class="Apple-tab-span" style="white-space: pre;"> </span></span></p>
<p style="font-family: Verdana; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-emoji: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; line-height: normal; margin: 0px 0px 0px 83.2px; text-indent: -83.2px;"><span style="font-variant-ligatures: no-common-ligatures;"><span class="Apple-tab-span" style="white-space: pre;"> </span><b>if</b> <b>not</b> (</span><span style="color: blue; font-variant-ligatures: no-common-ligatures;"><b>exists</b></span><span style="font-variant-ligatures: no-common-ligatures;"> </span><span style="color: blue; font-variant-ligatures: no-common-ligatures;"><i>folder</i></span><span style="font-variant-ligatures: no-common-ligatures;"> </span><span style="color: #408000; font-variant-ligatures: no-common-ligatures;">targetFolder</span><span style="font-variant-ligatures: no-common-ligatures;">) <b>then</b></span></p>
<p style="font-family: Verdana; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-emoji: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; line-height: normal; margin: 0px 0px 0px 124.8px; text-indent: -124.9px;"><span style="font-variant-ligatures: no-common-ligatures;"><span class="Apple-tab-span" style="white-space: pre;"> </span></span><span style="color: #0016b0; font-variant-ligatures: no-common-ligatures;"><b>display alert</b></span><span style="font-variant-ligatures: no-common-ligatures;"> "Folder not found"</span></p>
<p style="font-family: Verdana; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-emoji: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; line-height: normal; margin: 0px 0px 0px 124.8px; text-indent: -124.9px;"><span style="font-variant-ligatures: no-common-ligatures;"><span class="Apple-tab-span" style="white-space: pre;"> </span><b>return</b></span></p>
<p style="font-family: Verdana; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-emoji: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; line-height: normal; margin: 0px 0px 0px 83.2px; text-indent: -83.2px;"><span style="font-variant-ligatures: no-common-ligatures;"><span class="Apple-tab-span" style="white-space: pre;"> </span><b>end</b> <b>if</b></span></p>
<p style="font-family: Verdana; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-emoji: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; line-height: normal; margin: 0px 0px 0px 83.2px; min-height: 15px; text-indent: -83.2px;"><span style="font-variant-ligatures: no-common-ligatures;"><span class="Apple-tab-span" style="white-space: pre;"> </span></span></p>
<p style="color: #408000; font-family: Verdana; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-emoji: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; line-height: normal; margin: 0px 0px 0px 83.2px; text-indent: -83.2px;"><span style="color: black; font-variant-ligatures: no-common-ligatures;"><span class="Apple-tab-span" style="white-space: pre;"> </span><b>set</b> </span><span style="font-variant-ligatures: no-common-ligatures;">theNotes</span><span style="color: black; font-variant-ligatures: no-common-ligatures;"> <b>to</b> </span><span style="color: blue; font-variant-ligatures: no-common-ligatures;"><i>notes</i></span><span style="color: black; font-variant-ligatures: no-common-ligatures;"> <b>of</b> </span><span style="color: blue; font-variant-ligatures: no-common-ligatures;"><i>folder</i></span><span style="color: black; font-variant-ligatures: no-common-ligatures;"> </span><span style="font-variant-ligatures: no-common-ligatures;">targetFolder</span></p>
<p style="font-family: Verdana; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-emoji: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; line-height: normal; margin: 0px 0px 0px 83.2px; text-indent: -83.2px;"><span style="font-variant-ligatures: no-common-ligatures;"><span class="Apple-tab-span" style="white-space: pre;"> </span><b>set</b> </span><span style="color: #408000; font-variant-ligatures: no-common-ligatures;">noteNames</span><span style="font-variant-ligatures: no-common-ligatures;"> <b>to</b> {}</span></p>
<p style="font-family: Verdana; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-emoji: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; line-height: normal; margin: 0px 0px 0px 83.2px; text-indent: -83.2px;"><span style="font-variant-ligatures: no-common-ligatures;"><span class="Apple-tab-span" style="white-space: pre;"> </span><b>set</b> </span><span style="color: #408000; font-variant-ligatures: no-common-ligatures;">duplicates</span><span style="font-variant-ligatures: no-common-ligatures;"> <b>to</b> {}</span></p>
<p style="font-family: Verdana; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-emoji: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; line-height: normal; margin: 0px 0px 0px 83.2px; min-height: 15px; text-indent: -83.2px;"><span style="font-variant-ligatures: no-common-ligatures;"><span class="Apple-tab-span" style="white-space: pre;"> </span></span></p>
<p style="font-family: Verdana; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-emoji: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; line-height: normal; margin: 0px 0px 0px 83.2px; text-indent: -83.2px;"><span style="font-variant-ligatures: no-common-ligatures;"><span class="Apple-tab-span" style="white-space: pre;"> </span><b>repeat</b> <b>with</b> </span><span style="color: #408000; font-variant-ligatures: no-common-ligatures;">aNote</span><span style="font-variant-ligatures: no-common-ligatures;"> <b>in</b> </span><span style="color: #408000; font-variant-ligatures: no-common-ligatures;">theNotes</span></p>
<p style="font-family: Verdana; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-emoji: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; line-height: normal; margin: 0px 0px 0px 124.8px; text-indent: -124.9px;"><span style="font-variant-ligatures: no-common-ligatures;"><span class="Apple-tab-span" style="white-space: pre;"> </span><b>set</b> </span><span style="color: #408000; font-variant-ligatures: no-common-ligatures;">noteName</span><span style="font-variant-ligatures: no-common-ligatures;"> <b>to</b> </span><span style="color: #6c05d3; font-variant-ligatures: no-common-ligatures;">name</span><span style="font-variant-ligatures: no-common-ligatures;"> <b>of</b> </span><span style="color: #408000; font-variant-ligatures: no-common-ligatures;">aNote</span></p>
<p style="font-family: Verdana; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-emoji: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; line-height: normal; margin: 0px 0px 0px 124.8px; text-indent: -124.9px;"><span style="font-variant-ligatures: no-common-ligatures;"><span class="Apple-tab-span" style="white-space: pre;"> </span><b>if</b> </span><span style="color: #408000; font-variant-ligatures: no-common-ligatures;">noteNames</span><span style="font-variant-ligatures: no-common-ligatures;"> <b>contains</b> </span><span style="color: #408000; font-variant-ligatures: no-common-ligatures;">noteName</span><span style="font-variant-ligatures: no-common-ligatures;"> <b>then</b></span></p>
<p style="font-family: Verdana; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-emoji: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; line-height: normal; margin: 0px 0px 0px 166.5px; text-indent: -166.5px;"><span style="font-variant-ligatures: no-common-ligatures;"><span class="Apple-tab-span" style="white-space: pre;"> </span><b>set</b> <b>end</b> <b>of</b> </span><span style="color: #408000; font-variant-ligatures: no-common-ligatures;">duplicates</span><span style="font-variant-ligatures: no-common-ligatures;"> <b>to</b> </span><span style="color: #408000; font-variant-ligatures: no-common-ligatures;">aNote</span></p>
<p style="font-family: Verdana; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-emoji: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; line-height: normal; margin: 0px 0px 0px 124.8px; text-indent: -124.9px;"><span style="font-variant-ligatures: no-common-ligatures;"><span class="Apple-tab-span" style="white-space: pre;"> </span><b>else</b></span></p>
<p style="font-family: Verdana; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-emoji: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; line-height: normal; margin: 0px 0px 0px 166.5px; text-indent: -166.5px;"><span style="font-variant-ligatures: no-common-ligatures;"><span class="Apple-tab-span" style="white-space: pre;"> </span><b>set</b> <b>end</b> <b>of</b> </span><span style="color: #408000; font-variant-ligatures: no-common-ligatures;">noteNames</span><span style="font-variant-ligatures: no-common-ligatures;"> <b>to</b> </span><span style="color: #408000; font-variant-ligatures: no-common-ligatures;">noteName</span></p>
<p style="font-family: Verdana; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-emoji: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; line-height: normal; margin: 0px 0px 0px 124.8px; text-indent: -124.9px;"><span style="font-variant-ligatures: no-common-ligatures;"><span class="Apple-tab-span" style="white-space: pre;"> </span><b>end</b> <b>if</b></span></p>
<p style="font-family: Verdana; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-emoji: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; line-height: normal; margin: 0px 0px 0px 83.2px; text-indent: -83.2px;"><span style="font-variant-ligatures: no-common-ligatures;"><span class="Apple-tab-span" style="white-space: pre;"> </span><b>end</b> <b>repeat</b></span></p>
<p style="font-family: Verdana; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-emoji: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; line-height: normal; margin: 0px 0px 0px 83.2px; min-height: 15px; text-indent: -83.2px;"><span style="font-variant-ligatures: no-common-ligatures;"><span class="Apple-tab-span" style="white-space: pre;"> </span></span></p>
<p style="color: #408000; font-family: Verdana; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-emoji: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; line-height: normal; margin: 0px 0px 0px 83.2px; text-indent: -83.2px;"><span style="color: black; font-variant-ligatures: no-common-ligatures;"><span class="Apple-tab-span" style="white-space: pre;"> </span><b>repeat</b> <b>with</b> </span><span style="font-variant-ligatures: no-common-ligatures;">duplicateNote</span><span style="color: black; font-variant-ligatures: no-common-ligatures;"> <b>in</b> </span><span style="font-variant-ligatures: no-common-ligatures;">duplicates</span></p>
<p style="color: #408000; font-family: Verdana; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-emoji: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; line-height: normal; margin: 0px 0px 0px 124.8px; text-indent: -124.9px;"><span style="color: black; font-variant-ligatures: no-common-ligatures;"><span class="Apple-tab-span" style="white-space: pre;"> </span></span><span style="color: blue; font-variant-ligatures: no-common-ligatures;"><b>delete</b></span><span style="color: black; font-variant-ligatures: no-common-ligatures;"> </span><span style="font-variant-ligatures: no-common-ligatures;">duplicateNote</span></p>
<p style="font-family: Verdana; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-emoji: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; line-height: normal; margin: 0px 0px 0px 83.2px; text-indent: -83.2px;"><span style="font-variant-ligatures: no-common-ligatures;"><span class="Apple-tab-span" style="white-space: pre;"> </span><b>end</b> <b>repeat</b></span></p>
<p style="font-family: Verdana; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-emoji: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; line-height: normal; margin: 0px 0px 0px 83.2px; min-height: 15px; text-indent: -83.2px;"><span style="font-variant-ligatures: no-common-ligatures;"><span class="Apple-tab-span" style="white-space: pre;"> </span></span></p>
<p style="font-family: Verdana; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-emoji: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; line-height: normal; margin: 0px 0px 0px 83.2px; text-indent: -83.2px;"><span style="font-variant-ligatures: no-common-ligatures;"><span class="Apple-tab-span" style="white-space: pre;"> </span><b>if</b> </span><span style="color: #6c05d3; font-variant-ligatures: no-common-ligatures;">length</span><span style="font-variant-ligatures: no-common-ligatures;"> <b>of</b> </span><span style="color: #408000; font-variant-ligatures: no-common-ligatures;">duplicates</span><span style="font-variant-ligatures: no-common-ligatures;"> <b>is</b> 0 <b>then</b></span></p>
<p style="font-family: Verdana; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-emoji: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; line-height: normal; margin: 0px 0px 0px 124.8px; text-indent: -124.9px;"><span style="font-variant-ligatures: no-common-ligatures;"><span class="Apple-tab-span" style="white-space: pre;"> </span></span><span style="color: #0016b0; font-variant-ligatures: no-common-ligatures;"><b>display dialog</b></span><span style="font-variant-ligatures: no-common-ligatures;"> "No duplicates found"</span></p>
<p style="font-family: Verdana; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-emoji: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; line-height: normal; margin: 0px 0px 0px 83.2px; text-indent: -83.2px;"><span style="font-variant-ligatures: no-common-ligatures;"><span class="Apple-tab-span" style="white-space: pre;"> </span><b>else</b></span></p>
<p style="font-family: Verdana; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-emoji: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; line-height: normal; margin: 0px 0px 0px 124.8px; text-indent: -124.9px;"><span style="font-variant-ligatures: no-common-ligatures;"><span class="Apple-tab-span" style="white-space: pre;"> </span></span><span style="color: #0016b0; font-variant-ligatures: no-common-ligatures;"><b>display dialog</b></span><span style="font-variant-ligatures: no-common-ligatures;"> (</span><span style="color: #6c05d3; font-variant-ligatures: no-common-ligatures;">length</span><span style="font-variant-ligatures: no-common-ligatures;"> <b>of</b> </span><span style="color: #408000; font-variant-ligatures: no-common-ligatures;">duplicates</span><span style="font-variant-ligatures: no-common-ligatures;">) & " duplicates deleted."</span></p>
<p style="font-family: Verdana; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-emoji: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; line-height: normal; margin: 0px 0px 0px 83.2px; text-indent: -83.2px;"><span style="font-variant-ligatures: no-common-ligatures;"><span class="Apple-tab-span" style="white-space: pre;"> </span><b>end</b> <b>if</b></span></p>
<p style="font-family: Verdana; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-emoji: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; line-height: normal; margin: 0px 0px 0px 41.6px; text-indent: -41.6px;"><span style="font-variant-ligatures: no-common-ligatures;"><b>end</b> <b>tell</b></span></p></div><div><span style="font-variant-ligatures: no-common-ligatures;"><b><br /></b></span></div><br />
<hr />
<i>Please leave comments below.</i>Joel Eslerhttp://www.blogger.com/profile/05018134738510159518noreply@blogger.com0tag:blogger.com,1999:blog-10259481.post-59752618688382123282023-12-07T13:25:00.004-05:002023-12-07T15:38:34.875-05:00Grabbing a domain name out of a URL using ShortcutsRecently I needed the ability to grab a domain name (specifically the hostname) out of a URL using Shortcuts. <div><br /></div><div>I wanted to integrate this functionality into a much larger shortcut, but this blog post will highlight just the domain parsing bit.</div><div><br /></div><div><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/a/AVvXsEjKZLV26pWAdwqu407CpuVBD8cvOlYF_aiL4ZUwUmyUhZbqa7BlerDemHFJdQL18wSXt0t-N4x-OdpzKCq-QJyxy5esElEALveCigktzPKQt2uUS4_Ts0Yj8TNm96wDmZMbcJwSO7_umar7E7_CCzY3nas_kqtWCWJrGp2xLP4R88zkYoxznbRu" style="margin-left: 1em; margin-right: 1em;"><img alt="" data-original-height="968" data-original-width="1258" height="492" src="https://blogger.googleusercontent.com/img/a/AVvXsEjKZLV26pWAdwqu407CpuVBD8cvOlYF_aiL4ZUwUmyUhZbqa7BlerDemHFJdQL18wSXt0t-N4x-OdpzKCq-QJyxy5esElEALveCigktzPKQt2uUS4_Ts0Yj8TNm96wDmZMbcJwSO7_umar7E7_CCzY3nas_kqtWCWJrGp2xLP4R88zkYoxznbRu=w640-h492" width="640" /></a></div><div class="separator" style="clear: both; text-align: center;"><br /></div><div class="separator" style="clear: both; text-align: left;">This will get you the whole domain name from any given URL from the share sheet. That being said, I wanted to take it a step further and get just the hostname out of the domain name:</div><div class="separator" style="clear: both; text-align: left;"><br /></div><div class="separator" style="clear: both; text-align: left;"><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/a/AVvXsEgE8LqGWdbxoV5nZqlkw0U0-V6RCf0Z4F5mNO6D8Rx35KHyYZBUyITc0PLH6u6jEuDicc5BiPT_-GYsMop7NtQb-wIfB1iDRYitJrgWY2Os9aUBCGPyWdepz1ajl5iDjcXRwhhmn_Nu0WD_txB9dSkqnB6Tm-RTwnJaFOfXp8agQC7vawxhdoBU" style="margin-left: 1em; margin-right: 1em;"><img alt="" data-original-height="1286" data-original-width="1244" height="640" src="https://blogger.googleusercontent.com/img/a/AVvXsEgE8LqGWdbxoV5nZqlkw0U0-V6RCf0Z4F5mNO6D8Rx35KHyYZBUyITc0PLH6u6jEuDicc5BiPT_-GYsMop7NtQb-wIfB1iDRYitJrgWY2Os9aUBCGPyWdepz1ajl5iDjcXRwhhmn_Nu0WD_txB9dSkqnB6Tm-RTwnJaFOfXp8agQC7vawxhdoBU=w619-h640" width="619" /></a></div><br />Assuming that there is more than two parts to the domain name, this works. But if you have and "A" type of url "blah.com" instead of a "CNAME" type like: "www.blah.com", you're going to get "com" as a result. So your milage may vary.</div><div class="separator" style="clear: both; text-align: left;"><br /></div>I couldn't find a good way to do this on the Internet, despite several attempts for people to try and figure it out using regex. You can then go on to store the result as a variable and then use the variable anywhere else in the rest of the Shortcut. </div><div><br /></div><div>Anyway, here's a way to do it. Hopefully this blog post helps someone trying to figure out the same issue. It's a little hacky, but knock yourself out.<br /><br />
<hr />
<i>Please leave comments below.</i></div>Joel Eslerhttp://www.blogger.com/profile/05018134738510159518noreply@blogger.com0tag:blogger.com,1999:blog-10259481.post-11740921920307302732023-12-07T10:55:00.002-05:002023-12-07T10:55:11.259-05:00Sort emails by year, using AppleScript<div>So, way back when I was using Thunderbird, I had this awesome plugin that organized my archived emails by year. It was super handy for finding stuff or just taking a trip down memory lane.</div><div><br /></div><div>But when I switched to Mail.app, I couldn't find a similar plugin that I liked. Plus, even if one existed, I'd have to install it on every new Mac I got. So, I decided to take matters into my own hands and whip up some AppleScript magic.</div><div><br /></div><div>In the code, you can pick a folder (sourceFolder) - in my case, it's "Recovered". You also need to specify your account name, like "iCloud" in my code. If your account goes by a different name, like "Exchange" or "Gmail", just tweak that part.</div><div><br /></div><div>Then there's this variable called "yearsMailbox" at the top of the code, (in my case "Years") which is basically the folder where the emails will end up based on their years. You can rename it if you're feeling fancy.</div><div><br /></div><div>You can probably make this more efficient by having it map the year folders one time instead of checking every time it wants to move a message, but I feel you're just playing "AppleScript golf" at that point. This works. It works great. Moving on.</div><div><br /></div><div><p style="font-family: Verdana; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-emoji: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; line-height: normal; margin: 0px 0px 0px 41.6px; text-indent: -41.6px;"><span style="font-variant-ligatures: no-common-ligatures;"><b>tell</b> </span><span style="color: blue; font-variant-ligatures: no-common-ligatures;"><i>application</i></span><span style="font-variant-ligatures: no-common-ligatures;"> "Mail"</span></p>
<p style="color: #4c4e4e; font-family: Verdana; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-emoji: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; line-height: normal; margin: 0px 0px 0px 83.2px; text-indent: -83.2px;"><span style="color: black; font-variant-ligatures: no-common-ligatures;"><span class="Apple-tab-span" style="white-space: pre;"> </span></span><span style="font-variant-ligatures: no-common-ligatures;">-- Specify the parent mailbox where the year folders are located</span></p>
<p style="color: #4c4e4e; font-family: Verdana; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-emoji: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; line-height: normal; margin: 0px 0px 0px 83.2px; text-indent: -83.2px;"><span style="color: black; font-variant-ligatures: no-common-ligatures;"><span class="Apple-tab-span" style="white-space: pre;"> </span><b>set</b> </span><span style="color: #408000; font-variant-ligatures: no-common-ligatures;">yearsMailbox</span><span style="color: black; font-variant-ligatures: no-common-ligatures;"> <b>to</b> </span><span style="color: blue; font-variant-ligatures: no-common-ligatures;"><i>mailbox</i></span><span style="color: black; font-variant-ligatures: no-common-ligatures;"> "Years" <b>of</b> </span><span style="color: blue; font-variant-ligatures: no-common-ligatures;"><i>account</i></span><span style="color: black; font-variant-ligatures: no-common-ligatures;"> "iCloud" </span><span style="font-variant-ligatures: no-common-ligatures;">-- Adjust if the path is different</span></p>
<p style="font-family: Verdana; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-emoji: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; line-height: normal; margin: 0px 0px 0px 83.2px; min-height: 15px; text-indent: -83.2px;"><span style="font-variant-ligatures: no-common-ligatures;"><span class="Apple-tab-span" style="white-space: pre;"> </span></span></p>
<p style="color: #4c4e4e; font-family: Verdana; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-emoji: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; line-height: normal; margin: 0px 0px 0px 83.2px; text-indent: -83.2px;"><span style="color: black; font-variant-ligatures: no-common-ligatures;"><span class="Apple-tab-span" style="white-space: pre;"> </span></span><span style="font-variant-ligatures: no-common-ligatures;">-- List of sub-mailboxes under 'Years', each named with a four-digit year</span></p>
<p style="color: #408000; font-family: Verdana; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-emoji: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; line-height: normal; margin: 0px 0px 0px 83.2px; text-indent: -83.2px;"><span style="color: black; font-variant-ligatures: no-common-ligatures;"><span class="Apple-tab-span" style="white-space: pre;"> </span><b>set</b> </span><span style="font-variant-ligatures: no-common-ligatures;">yearFolders</span><span style="color: black; font-variant-ligatures: no-common-ligatures;"> <b>to</b> <b>every</b> </span><span style="color: blue; font-variant-ligatures: no-common-ligatures;"><i>mailbox</i></span><span style="color: black; font-variant-ligatures: no-common-ligatures;"> <b>of</b> </span><span style="font-variant-ligatures: no-common-ligatures;">yearsMailbox</span></p>
<p style="font-family: Verdana; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-emoji: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; line-height: normal; margin: 0px 0px 0px 83.2px; min-height: 15px; text-indent: -83.2px;"><span style="font-variant-ligatures: no-common-ligatures;"><span class="Apple-tab-span" style="white-space: pre;"> </span></span></p>
<p style="color: #4c4e4e; font-family: Verdana; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-emoji: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; line-height: normal; margin: 0px 0px 0px 83.2px; text-indent: -83.2px;"><span style="color: black; font-variant-ligatures: no-common-ligatures;"><span class="Apple-tab-span" style="white-space: pre;"> </span></span><span style="font-variant-ligatures: no-common-ligatures;">-- Specify the source folder where emails are currently located</span></p>
<p style="color: #4c4e4e; font-family: Verdana; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-emoji: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; line-height: normal; margin: 0px 0px 0px 83.2px; text-indent: -83.2px;"><span style="color: black; font-variant-ligatures: no-common-ligatures;"><span class="Apple-tab-span" style="white-space: pre;"> </span><b>set</b> </span><span style="color: #408000; font-variant-ligatures: no-common-ligatures;">sourceFolder</span><span style="color: black; font-variant-ligatures: no-common-ligatures;"> <b>to</b> </span><span style="color: blue; font-variant-ligatures: no-common-ligatures;"><i>mailbox</i></span><span style="color: black; font-variant-ligatures: no-common-ligatures;"> "Recovered" </span><span style="font-variant-ligatures: no-common-ligatures;">-- Replace "SourceFolder" with the name of your folder</span></p>
<p style="font-family: Verdana; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-emoji: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; line-height: normal; margin: 0px 0px 0px 83.2px; min-height: 15px; text-indent: -83.2px;"><span style="font-variant-ligatures: no-common-ligatures;"><span class="Apple-tab-span" style="white-space: pre;"> </span></span></p>
<p style="font-family: Verdana; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-emoji: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; line-height: normal; margin: 0px 0px 0px 83.2px; text-indent: -83.2px;"><span style="font-variant-ligatures: no-common-ligatures;"><span class="Apple-tab-span" style="white-space: pre;"> </span><b>repeat</b> <b>with</b> </span><span style="color: #408000; font-variant-ligatures: no-common-ligatures;">eachMessage</span><span style="font-variant-ligatures: no-common-ligatures;"> <b>in</b> (<b>get</b> </span><span style="color: blue; font-variant-ligatures: no-common-ligatures;"><i>messages</i></span><span style="font-variant-ligatures: no-common-ligatures;"> <b>of</b> </span><span style="color: #408000; font-variant-ligatures: no-common-ligatures;">sourceFolder</span><span style="font-variant-ligatures: no-common-ligatures;">)</span></p>
<p style="color: #408000; font-family: Verdana; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-emoji: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; line-height: normal; margin: 0px 0px 0px 124.8px; text-indent: -124.9px;"><span style="color: black; font-variant-ligatures: no-common-ligatures;"><span class="Apple-tab-span" style="white-space: pre;"> </span><b>set</b> </span><span style="font-variant-ligatures: no-common-ligatures;">messageDate</span><span style="color: black; font-variant-ligatures: no-common-ligatures;"> <b>to</b> </span><span style="color: #6c05d3; font-variant-ligatures: no-common-ligatures;">date received</span><span style="color: black; font-variant-ligatures: no-common-ligatures;"> <b>of</b> </span><span style="font-variant-ligatures: no-common-ligatures;">eachMessage</span></p>
<p style="color: #408000; font-family: Verdana; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-emoji: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; line-height: normal; margin: 0px 0px 0px 124.8px; text-indent: -124.9px;"><span style="color: black; font-variant-ligatures: no-common-ligatures;"><span class="Apple-tab-span" style="white-space: pre;"> </span><b>set</b> </span><span style="font-variant-ligatures: no-common-ligatures;">messageYear</span><span style="color: black; font-variant-ligatures: no-common-ligatures;"> <b>to</b> </span><span style="color: #6c05d3; font-variant-ligatures: no-common-ligatures;">year</span><span style="color: black; font-variant-ligatures: no-common-ligatures;"> <b>of</b> </span><span style="font-variant-ligatures: no-common-ligatures;">messageDate</span><span style="color: black; font-variant-ligatures: no-common-ligatures;"> <b>as</b> </span><span style="color: blue; font-variant-ligatures: no-common-ligatures;"><i>string</i></span></p>
<p style="font-family: Verdana; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-emoji: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; line-height: normal; margin: 0px 0px 0px 124.8px; min-height: 15px; text-indent: -124.9px;"><span style="font-variant-ligatures: no-common-ligatures;"><span class="Apple-tab-span" style="white-space: pre;"> </span></span></p>
<p style="color: #4c4e4e; font-family: Verdana; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-emoji: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; line-height: normal; margin: 0px 0px 0px 124.8px; text-indent: -124.9px;"><span style="color: black; font-variant-ligatures: no-common-ligatures;"><span class="Apple-tab-span" style="white-space: pre;"> </span></span><span style="font-variant-ligatures: no-common-ligatures;">-- Check if a folder for the year exists and move the message</span></p>
<p style="color: #408000; font-family: Verdana; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-emoji: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; line-height: normal; margin: 0px 0px 0px 124.8px; text-indent: -124.9px;"><span style="color: black; font-variant-ligatures: no-common-ligatures;"><span class="Apple-tab-span" style="white-space: pre;"> </span><b>repeat</b> <b>with</b> </span><span style="font-variant-ligatures: no-common-ligatures;">eachYearFolder</span><span style="color: black; font-variant-ligatures: no-common-ligatures;"> <b>in</b> </span><span style="font-variant-ligatures: no-common-ligatures;">yearFolders</span></p>
<p style="color: #408000; font-family: Verdana; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-emoji: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; line-height: normal; margin: 0px 0px 0px 166.5px; text-indent: -166.5px;"><span style="color: black; font-variant-ligatures: no-common-ligatures;"><span class="Apple-tab-span" style="white-space: pre;"> </span><b>if</b> </span><span style="color: #6c05d3; font-variant-ligatures: no-common-ligatures;">name</span><span style="color: black; font-variant-ligatures: no-common-ligatures;"> <b>of</b> </span><span style="font-variant-ligatures: no-common-ligatures;">eachYearFolder</span><span style="color: black; font-variant-ligatures: no-common-ligatures;"> <b>is</b> </span><span style="font-variant-ligatures: no-common-ligatures;">messageYear</span><span style="color: black; font-variant-ligatures: no-common-ligatures;"> <b>then</b></span></p>
<p style="color: #408000; font-family: Verdana; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-emoji: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; line-height: normal; margin: 0px 0px 0px 208.1px; text-indent: -208.2px;"><span style="color: black; font-variant-ligatures: no-common-ligatures;"><span class="Apple-tab-span" style="white-space: pre;"> </span></span><span style="color: blue; font-variant-ligatures: no-common-ligatures;"><b>move</b></span><span style="color: black; font-variant-ligatures: no-common-ligatures;"> </span><span style="font-variant-ligatures: no-common-ligatures;">eachMessage</span><span style="color: black; font-variant-ligatures: no-common-ligatures;"> </span><span style="color: blue; font-variant-ligatures: no-common-ligatures;">to</span><span style="color: black; font-variant-ligatures: no-common-ligatures;"> </span><span style="font-variant-ligatures: no-common-ligatures;">eachYearFolder</span></p>
<p style="font-family: Verdana; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-emoji: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; line-height: normal; margin: 0px 0px 0px 208.1px; text-indent: -208.2px;"><span style="font-variant-ligatures: no-common-ligatures;"><span class="Apple-tab-span" style="white-space: pre;"> </span><b>exit</b> <b>repeat</b></span></p>
<p style="font-family: Verdana; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-emoji: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; line-height: normal; margin: 0px 0px 0px 166.5px; text-indent: -166.5px;"><span style="font-variant-ligatures: no-common-ligatures;"><span class="Apple-tab-span" style="white-space: pre;"> </span><b>end</b> <b>if</b></span></p>
<p style="font-family: Verdana; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-emoji: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; line-height: normal; margin: 0px 0px 0px 124.8px; text-indent: -124.9px;"><span style="font-variant-ligatures: no-common-ligatures;"><span class="Apple-tab-span" style="white-space: pre;"> </span><b>end</b> <b>repeat</b></span></p>
<p style="font-family: Verdana; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-emoji: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; line-height: normal; margin: 0px 0px 0px 83.2px; text-indent: -83.2px;"><span style="font-variant-ligatures: no-common-ligatures;"><span class="Apple-tab-span" style="white-space: pre;"> </span><b>end</b> <b>repeat</b></span></p>
<p style="font-family: Verdana; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-emoji: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; line-height: normal; margin: 0px 0px 0px 41.6px; text-indent: -41.6px;"><span style="font-variant-ligatures: no-common-ligatures;"><b>end</b> <b>tell</b></span></p></div><div><br /></div><div><br /></div><div><br />
<hr />
<i>Please leave comments below.</i></div>Joel Eslerhttp://www.blogger.com/profile/05018134738510159518noreply@blogger.com0tag:blogger.com,1999:blog-10259481.post-2049911737629136512023-11-13T20:17:00.004-05:002023-11-13T20:19:38.533-05:00Moving from Omnifocus to Reminders<div>Let's say you're like me, an avid Omnifocus user, but you've been hearing great things about Reminders on MacOS/iOS/iPadOS, and you want to give it a shot. Well, here's an AppleScript that will move everything over for you. It won't delete anything out of Omnifocus, so nothing will get messed up, but, it will take your existing projects and move them over as separate lists, then move the tasks over, preserving flagged, priorities, and the notes in each task (to Reminders.app's limitations).</div><div><br /></div><div>TWO CAVEATS THOUGH</div><div><br /></div><div>1. It can't move nested (subtasks) tasks from Omnifocus over, this is a very tricky problem to solve, and it's beyond my AppleScripting skills to access the subtasks and move them over properly. </div><div>2. I wanted to implement "tags" from Omnifocus over to the "tags" feature in Reminders, however Apple doesn't have "tags" as a Reminders dictionary item in AppleScript.</div><div><br /></div><div>Other than that, this works fine:</div><div><br /></div><div><p style="font-family: Verdana; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-emoji: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; line-height: normal; margin: 0px 0px 0px 41.6px; text-indent: -41.6px;"><span style="font-variant-ligatures: no-common-ligatures;"><b>property</b> </span><span style="color: #408000; font-variant-ligatures: no-common-ligatures;">defaultList</span><span style="font-variant-ligatures: no-common-ligatures;"> : "Inbox"</span></p>
<p style="font-family: Verdana; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-emoji: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; line-height: normal; margin: 0px 0px 0px 41.6px; min-height: 15px; text-indent: -41.6px;"><span style="font-variant-ligatures: no-common-ligatures;"></span><br /></p>
<p style="font-family: Verdana; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-emoji: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; line-height: normal; margin: 0px 0px 0px 41.6px; text-indent: -41.6px;"><span style="font-variant-ligatures: no-common-ligatures;"><b>tell</b> </span><span style="color: blue; font-variant-ligatures: no-common-ligatures;"><i>application</i></span><span style="font-variant-ligatures: no-common-ligatures;"> "OmniFocus"</span></p>
<p style="color: blue; font-family: Verdana; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-emoji: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; line-height: normal; margin: 0px 0px 0px 83.2px; text-indent: -83.2px;"><span style="color: black; font-variant-ligatures: no-common-ligatures;"><span class="Apple-tab-span" style="white-space: pre;"> </span></span><span style="font-variant-ligatures: no-common-ligatures;"><b>activate</b></span></p>
<p style="font-family: Verdana; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-emoji: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; line-height: normal; margin: 0px 0px 0px 83.2px; text-indent: -83.2px;"><span style="font-variant-ligatures: no-common-ligatures;"><span class="Apple-tab-span" style="white-space: pre;"> </span><b>tell</b> <b>front</b> </span><span style="color: blue; font-variant-ligatures: no-common-ligatures;"><i>document</i></span><span style="font-variant-ligatures: no-common-ligatures;"> <b>of</b> </span><span style="color: blue; font-variant-ligatures: no-common-ligatures;"><i>application</i></span><span style="font-variant-ligatures: no-common-ligatures;"> "OmniFocus"</span></p>
<p style="color: #4c4e4e; font-family: Verdana; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-emoji: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; line-height: normal; margin: 0px 0px 0px 124.8px; text-indent: -124.9px;"><span style="color: black; font-variant-ligatures: no-common-ligatures;"><span class="Apple-tab-span" style="white-space: pre;"> </span><b>set</b> </span><span style="color: #408000; font-variant-ligatures: no-common-ligatures;">theProjects</span><span style="color: black; font-variant-ligatures: no-common-ligatures;"> <b>to</b> </span><span style="color: blue; font-variant-ligatures: no-common-ligatures;"><i>flattened projects</i></span><span style="color: black; font-variant-ligatures: no-common-ligatures;"> </span><span style="font-variant-ligatures: no-common-ligatures;">-- Gets all projects, ignoring folders</span></p>
<p style="font-family: Verdana; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-emoji: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; line-height: normal; margin: 0px 0px 0px 124.8px; min-height: 15px; text-indent: -124.9px;"><span style="font-variant-ligatures: no-common-ligatures;"><span class="Apple-tab-span" style="white-space: pre;"> </span></span></p>
<p style="color: #408000; font-family: Verdana; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-emoji: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; line-height: normal; margin: 0px 0px 0px 124.8px; text-indent: -124.9px;"><span style="color: black; font-variant-ligatures: no-common-ligatures;"><span class="Apple-tab-span" style="white-space: pre;"> </span><b>repeat</b> <b>with</b> </span><span style="font-variant-ligatures: no-common-ligatures;">aProject</span><span style="color: black; font-variant-ligatures: no-common-ligatures;"> <b>in</b> </span><span style="font-variant-ligatures: no-common-ligatures;">theProjects</span></p>
<p style="color: #408000; font-family: Verdana; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-emoji: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; line-height: normal; margin: 0px 0px 0px 166.5px; text-indent: -166.5px;"><span style="color: black; font-variant-ligatures: no-common-ligatures;"><span class="Apple-tab-span" style="white-space: pre;"> </span><b>set</b> </span><span style="font-variant-ligatures: no-common-ligatures;">projectName</span><span style="color: black; font-variant-ligatures: no-common-ligatures;"> <b>to</b> </span><span style="color: #6c05d3; font-variant-ligatures: no-common-ligatures;">name</span><span style="color: black; font-variant-ligatures: no-common-ligatures;"> <b>of</b> </span><span style="font-variant-ligatures: no-common-ligatures;">aProject</span></p>
<p style="color: #408000; font-family: Verdana; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-emoji: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; line-height: normal; margin: 0px 0px 0px 166.5px; text-indent: -166.5px;"><span style="color: black; font-variant-ligatures: no-common-ligatures;"><span class="Apple-tab-span" style="white-space: pre;"> </span><b>set</b> </span><span style="font-variant-ligatures: no-common-ligatures;">projectStatus</span><span style="color: black; font-variant-ligatures: no-common-ligatures;"> <b>to</b> </span><span style="color: #6c05d3; font-variant-ligatures: no-common-ligatures;">completed</span><span style="color: black; font-variant-ligatures: no-common-ligatures;"> <b>of</b> </span><span style="font-variant-ligatures: no-common-ligatures;">aProject</span></p>
<p style="font-family: Verdana; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-emoji: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; line-height: normal; margin: 0px 0px 0px 166.5px; min-height: 15px; text-indent: -166.5px;"><span style="font-variant-ligatures: no-common-ligatures;"><span class="Apple-tab-span" style="white-space: pre;"> </span></span></p>
<p style="color: #4c4e4e; font-family: Verdana; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-emoji: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; line-height: normal; margin: 0px 0px 0px 166.5px; text-indent: -166.5px;"><span style="color: black; font-variant-ligatures: no-common-ligatures;"><span class="Apple-tab-span" style="white-space: pre;"> </span></span><span style="font-variant-ligatures: no-common-ligatures;">-- Process only if the project is not completed</span></p>
<p style="font-family: Verdana; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-emoji: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; line-height: normal; margin: 0px 0px 0px 166.5px; text-indent: -166.5px;"><span style="font-variant-ligatures: no-common-ligatures;"><span class="Apple-tab-span" style="white-space: pre;"> </span><b>if</b> <b>not</b> </span><span style="color: #408000; font-variant-ligatures: no-common-ligatures;">projectStatus</span><span style="font-variant-ligatures: no-common-ligatures;"> <b>then</b></span></p>
<p style="font-family: Verdana; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-emoji: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; line-height: normal; margin: 0px 0px 0px 208.1px; text-indent: -208.2px;"><span style="font-variant-ligatures: no-common-ligatures;"><span class="Apple-tab-span" style="white-space: pre;"> </span><b>set</b> </span><span style="color: #408000; font-variant-ligatures: no-common-ligatures;">theTasks</span><span style="font-variant-ligatures: no-common-ligatures;"> <b>to</b> </span><span style="color: blue; font-variant-ligatures: no-common-ligatures;"><i>tasks</i></span><span style="font-variant-ligatures: no-common-ligatures;"> <b>of</b> </span><span style="color: #408000; font-variant-ligatures: no-common-ligatures;">aProject</span></p>
<p style="font-family: Verdana; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-emoji: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; line-height: normal; margin: 0px 0px 0px 208.1px; min-height: 15px; text-indent: -208.2px;"><span style="font-variant-ligatures: no-common-ligatures;"><span class="Apple-tab-span" style="white-space: pre;"> </span></span></p>
<p style="color: #4c4e4e; font-family: Verdana; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-emoji: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; line-height: normal; margin: 0px 0px 0px 208.1px; text-indent: -208.2px;"><span style="color: black; font-variant-ligatures: no-common-ligatures;"><span class="Apple-tab-span" style="white-space: pre;"> </span></span><span style="font-variant-ligatures: no-common-ligatures;">-- Create a list in Reminders for each non-completed project</span></p>
<p style="color: #408000; font-family: Verdana; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-emoji: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; line-height: normal; margin: 0px 0px 0px 208.1px; text-indent: -208.2px;"><span style="color: black; font-variant-ligatures: no-common-ligatures;"><span class="Apple-tab-span" style="white-space: pre;"> </span><b>my</b> </span><span style="font-variant-ligatures: no-common-ligatures;">createListInReminders</span><span style="color: black; font-variant-ligatures: no-common-ligatures;">(</span><span style="font-variant-ligatures: no-common-ligatures;">projectName</span><span style="color: black; font-variant-ligatures: no-common-ligatures;">)</span></p>
<p style="font-family: Verdana; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-emoji: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; line-height: normal; margin: 0px 0px 0px 208.1px; min-height: 15px; text-indent: -208.2px;"><span style="font-variant-ligatures: no-common-ligatures;"><span class="Apple-tab-span" style="white-space: pre;"> </span></span></p>
<p style="font-family: Verdana; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-emoji: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; line-height: normal; margin: 0px 0px 0px 208.1px; text-indent: -208.2px;"><span style="font-variant-ligatures: no-common-ligatures;"><span class="Apple-tab-span" style="white-space: pre;"> </span><b>repeat</b> <b>with</b> </span><span style="color: #408000; font-variant-ligatures: no-common-ligatures;">aTask</span><span style="font-variant-ligatures: no-common-ligatures;"> <b>in</b> </span><span style="color: #408000; font-variant-ligatures: no-common-ligatures;">theTasks</span></p>
<p style="font-family: Verdana; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-emoji: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; line-height: normal; margin: 0px 0px 0px 249.8px; text-indent: -249.8px;"><span style="font-variant-ligatures: no-common-ligatures;"><span class="Apple-tab-span" style="white-space: pre;"> </span><b>set</b> </span><span style="color: #408000; font-variant-ligatures: no-common-ligatures;">taskStatus</span><span style="font-variant-ligatures: no-common-ligatures;"> <b>to</b> </span><span style="color: #6c05d3; font-variant-ligatures: no-common-ligatures;">completed</span><span style="font-variant-ligatures: no-common-ligatures;"> <b>of</b> </span><span style="color: #408000; font-variant-ligatures: no-common-ligatures;">aTask</span></p>
<p style="color: #4c4e4e; font-family: Verdana; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-emoji: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; line-height: normal; margin: 0px 0px 0px 249.8px; text-indent: -249.8px;"><span style="color: black; font-variant-ligatures: no-common-ligatures;"><span class="Apple-tab-span" style="white-space: pre;"> </span></span><span style="font-variant-ligatures: no-common-ligatures;">-- Process only if the task is not completed</span></p>
<p style="font-family: Verdana; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-emoji: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; line-height: normal; margin: 0px 0px 0px 249.8px; text-indent: -249.8px;"><span style="font-variant-ligatures: no-common-ligatures;"><span class="Apple-tab-span" style="white-space: pre;"> </span><b>if</b> <b>not</b> </span><span style="color: #408000; font-variant-ligatures: no-common-ligatures;">taskStatus</span><span style="font-variant-ligatures: no-common-ligatures;"> <b>then</b></span></p>
<p style="font-family: Verdana; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-emoji: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; line-height: normal; margin: 0px 0px 0px 291.4px; text-indent: -291.4px;"><span style="font-variant-ligatures: no-common-ligatures;"><span class="Apple-tab-span" style="white-space: pre;"> </span><b>set</b> </span><span style="color: #408000; font-variant-ligatures: no-common-ligatures;">theTaskName</span><span style="font-variant-ligatures: no-common-ligatures;"> <b>to</b> </span><span style="color: #6c05d3; font-variant-ligatures: no-common-ligatures;">name</span><span style="font-variant-ligatures: no-common-ligatures;"> <b>of</b> </span><span style="color: #408000; font-variant-ligatures: no-common-ligatures;">aTask</span></p>
<p style="font-family: Verdana; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-emoji: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; line-height: normal; margin: 0px 0px 0px 291.4px; text-indent: -291.4px;"><span style="font-variant-ligatures: no-common-ligatures;"><span class="Apple-tab-span" style="white-space: pre;"> </span><b>set</b> </span><span style="color: #408000; font-variant-ligatures: no-common-ligatures;">theNote</span><span style="font-variant-ligatures: no-common-ligatures;"> <b>to</b> </span><span style="color: #6c05d3; font-variant-ligatures: no-common-ligatures;">note</span><span style="font-variant-ligatures: no-common-ligatures;"> <b>of</b> </span><span style="color: #408000; font-variant-ligatures: no-common-ligatures;">aTask</span></p>
<p style="font-family: Verdana; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-emoji: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; line-height: normal; margin: 0px 0px 0px 291.4px; text-indent: -291.4px;"><span style="font-variant-ligatures: no-common-ligatures;"><span class="Apple-tab-span" style="white-space: pre;"> </span><b>set</b> </span><span style="color: #408000; font-variant-ligatures: no-common-ligatures;">theDueDate</span><span style="font-variant-ligatures: no-common-ligatures;"> <b>to</b> </span><span style="color: #6c05d3; font-variant-ligatures: no-common-ligatures;">due date</span><span style="font-variant-ligatures: no-common-ligatures;"> <b>of</b> </span><span style="color: #408000; font-variant-ligatures: no-common-ligatures;">aTask</span></p>
<p style="color: #4c4e4e; font-family: Verdana; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-emoji: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; line-height: normal; margin: 0px 0px 0px 291.4px; text-indent: -291.4px;"><span style="color: black; font-variant-ligatures: no-common-ligatures;"><span class="Apple-tab-span" style="white-space: pre;"> </span><b>set</b> </span><span style="color: #408000; font-variant-ligatures: no-common-ligatures;">isFlagged</span><span style="color: black; font-variant-ligatures: no-common-ligatures;"> <b>to</b> </span><span style="color: #6c05d3; font-variant-ligatures: no-common-ligatures;">flagged</span><span style="color: black; font-variant-ligatures: no-common-ligatures;"> <b>of</b> </span><span style="color: #408000; font-variant-ligatures: no-common-ligatures;">aTask</span><span style="color: black; font-variant-ligatures: no-common-ligatures;"> </span><span style="font-variant-ligatures: no-common-ligatures;">-- Check if the task is flagged</span></p>
<p style="font-family: Verdana; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-emoji: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; line-height: normal; margin: 0px 0px 0px 291.4px; min-height: 15px; text-indent: -291.4px;"><span style="font-variant-ligatures: no-common-ligatures;"><span class="Apple-tab-span" style="white-space: pre;"> </span></span></p>
<p style="color: #4c4e4e; font-family: Verdana; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-emoji: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; line-height: normal; margin: 0px 0px 0px 291.4px; text-indent: -291.4px;"><span style="color: black; font-variant-ligatures: no-common-ligatures;"><span class="Apple-tab-span" style="white-space: pre;"> </span></span><span style="font-variant-ligatures: no-common-ligatures;">-- Determine priority based on flagged status</span></p>
<p style="color: #4c4e4e; font-family: Verdana; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-emoji: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; line-height: normal; margin: 0px 0px 0px 291.4px; text-indent: -291.4px;"><span style="color: black; font-variant-ligatures: no-common-ligatures;"><span class="Apple-tab-span" style="white-space: pre;"> </span><b>set</b> </span><span style="color: #408000; font-variant-ligatures: no-common-ligatures;">thePriority</span><span style="color: black; font-variant-ligatures: no-common-ligatures;"> <b>to</b> 0 </span><span style="font-variant-ligatures: no-common-ligatures;">-- default no priority</span></p>
<p style="font-family: Verdana; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-emoji: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; line-height: normal; margin: 0px 0px 0px 291.4px; text-indent: -291.4px;"><span style="font-variant-ligatures: no-common-ligatures;"><span class="Apple-tab-span" style="white-space: pre;"> </span><b>if</b> </span><span style="color: #408000; font-variant-ligatures: no-common-ligatures;">isFlagged</span><span style="font-variant-ligatures: no-common-ligatures;"> <b>then</b></span></p>
<p style="color: #4c4e4e; font-family: Verdana; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-emoji: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; line-height: normal; margin: 0px 0px 0px 333px; text-indent: -333px;"><span style="color: black; font-variant-ligatures: no-common-ligatures;"><span class="Apple-tab-span" style="white-space: pre;"> </span><b>set</b> </span><span style="color: #408000; font-variant-ligatures: no-common-ligatures;">thePriority</span><span style="color: black; font-variant-ligatures: no-common-ligatures;"> <b>to</b> 1 </span><span style="font-variant-ligatures: no-common-ligatures;">-- high priority for flagged tasks</span></p>
<p style="font-family: Verdana; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-emoji: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; line-height: normal; margin: 0px 0px 0px 291.4px; text-indent: -291.4px;"><span style="font-variant-ligatures: no-common-ligatures;"><span class="Apple-tab-span" style="white-space: pre;"> </span><b>end</b> <b>if</b></span></p>
<p style="font-family: Verdana; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-emoji: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; line-height: normal; margin: 0px 0px 0px 291.4px; min-height: 15px; text-indent: -291.4px;"><span style="font-variant-ligatures: no-common-ligatures;"><span class="Apple-tab-span" style="white-space: pre;"> </span></span></p>
<p style="color: #4c4e4e; font-family: Verdana; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-emoji: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; line-height: normal; margin: 0px 0px 0px 291.4px; text-indent: -291.4px;"><span style="color: black; font-variant-ligatures: no-common-ligatures;"><span class="Apple-tab-span" style="white-space: pre;"> </span></span><span style="font-variant-ligatures: no-common-ligatures;">-- Add tasks to the corresponding list in Reminders</span></p>
<p style="color: #408000; font-family: Verdana; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-emoji: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; line-height: normal; margin: 0px 0px 0px 291.4px; text-indent: -291.4px;"><span style="color: black; font-variant-ligatures: no-common-ligatures;"><span class="Apple-tab-span" style="white-space: pre;"> </span><b>my</b> </span><span style="font-variant-ligatures: no-common-ligatures;">createReminder</span><span style="color: black; font-variant-ligatures: no-common-ligatures;">(</span><span style="font-variant-ligatures: no-common-ligatures;">projectName</span><span style="color: black; font-variant-ligatures: no-common-ligatures;">, </span><span style="font-variant-ligatures: no-common-ligatures;">theTaskName</span><span style="color: black; font-variant-ligatures: no-common-ligatures;">, </span><span style="font-variant-ligatures: no-common-ligatures;">theDueDate</span><span style="color: black; font-variant-ligatures: no-common-ligatures;">, </span><span style="font-variant-ligatures: no-common-ligatures;">theNote</span><span style="color: black; font-variant-ligatures: no-common-ligatures;">, </span><span style="font-variant-ligatures: no-common-ligatures;">thePriority</span><span style="color: black; font-variant-ligatures: no-common-ligatures;">)</span></p>
<p style="font-family: Verdana; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-emoji: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; line-height: normal; margin: 0px 0px 0px 249.8px; text-indent: -249.8px;"><span style="font-variant-ligatures: no-common-ligatures;"><span class="Apple-tab-span" style="white-space: pre;"> </span><b>end</b> <b>if</b></span></p>
<p style="font-family: Verdana; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-emoji: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; line-height: normal; margin: 0px 0px 0px 208.1px; text-indent: -208.2px;"><span style="font-variant-ligatures: no-common-ligatures;"><span class="Apple-tab-span" style="white-space: pre;"> </span><b>end</b> <b>repeat</b></span></p>
<p style="font-family: Verdana; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-emoji: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; line-height: normal; margin: 0px 0px 0px 166.5px; text-indent: -166.5px;"><span style="font-variant-ligatures: no-common-ligatures;"><span class="Apple-tab-span" style="white-space: pre;"> </span><b>end</b> <b>if</b></span></p>
<p style="font-family: Verdana; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-emoji: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; line-height: normal; margin: 0px 0px 0px 124.8px; text-indent: -124.9px;"><span style="font-variant-ligatures: no-common-ligatures;"><span class="Apple-tab-span" style="white-space: pre;"> </span><b>end</b> <b>repeat</b></span></p>
<p style="font-family: Verdana; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-emoji: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; line-height: normal; margin: 0px 0px 0px 83.2px; text-indent: -83.2px;"><span style="font-variant-ligatures: no-common-ligatures;"><span class="Apple-tab-span" style="white-space: pre;"> </span><b>end</b> <b>tell</b></span></p>
<p style="font-family: Verdana; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-emoji: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; line-height: normal; margin: 0px 0px 0px 41.6px; text-indent: -41.6px;"><span style="font-variant-ligatures: no-common-ligatures;"><b>end</b> <b>tell</b></span></p>
<p style="font-family: Verdana; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-emoji: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; line-height: normal; margin: 0px 0px 0px 41.6px; min-height: 15px; text-indent: -41.6px;"><span style="font-variant-ligatures: no-common-ligatures;"></span><br /></p>
<p style="color: #408000; font-family: Verdana; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-emoji: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; line-height: normal; margin: 0px 0px 0px 41.6px; text-indent: -41.6px;"><span style="color: black; font-variant-ligatures: no-common-ligatures;"><b>on</b> </span><span style="font-variant-ligatures: no-common-ligatures;">createListInReminders</span><span style="color: black; font-variant-ligatures: no-common-ligatures;">(</span><span style="font-variant-ligatures: no-common-ligatures;">listName</span><span style="color: black; font-variant-ligatures: no-common-ligatures;">)</span></p>
<p style="font-family: Verdana; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-emoji: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; line-height: normal; margin: 0px 0px 0px 83.2px; text-indent: -83.2px;"><span style="font-variant-ligatures: no-common-ligatures;"><span class="Apple-tab-span" style="white-space: pre;"> </span><b>tell</b> </span><span style="color: blue; font-variant-ligatures: no-common-ligatures;"><i>application</i></span><span style="font-variant-ligatures: no-common-ligatures;"> "Reminders"</span></p>
<p style="font-family: Verdana; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-emoji: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; line-height: normal; margin: 0px 0px 0px 124.8px; text-indent: -124.9px;"><span style="font-variant-ligatures: no-common-ligatures;"><span class="Apple-tab-span" style="white-space: pre;"> </span><b>if</b> <b>not</b> (</span><span style="color: blue; font-variant-ligatures: no-common-ligatures;"><b>exists</b></span><span style="font-variant-ligatures: no-common-ligatures;"> (</span><span style="color: blue; font-variant-ligatures: no-common-ligatures;"><i>list</i></span><span style="font-variant-ligatures: no-common-ligatures;"> </span><span style="color: #408000; font-variant-ligatures: no-common-ligatures;">listName</span><span style="font-variant-ligatures: no-common-ligatures;">)) <b>then</b></span></p>
<p style="color: blue; font-family: Verdana; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-emoji: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; line-height: normal; margin: 0px 0px 0px 166.5px; text-indent: -166.5px;"><span style="color: black; font-variant-ligatures: no-common-ligatures;"><span class="Apple-tab-span" style="white-space: pre;"> </span></span><span style="font-variant-ligatures: no-common-ligatures;"><b>make</b></span><span style="color: black; font-variant-ligatures: no-common-ligatures;"> </span><span style="font-variant-ligatures: no-common-ligatures;">new</span><span style="color: black; font-variant-ligatures: no-common-ligatures;"> </span><span style="font-variant-ligatures: no-common-ligatures;"><i>list</i></span><span style="color: black; font-variant-ligatures: no-common-ligatures;"> </span><span style="font-variant-ligatures: no-common-ligatures;">with properties</span><span style="color: black; font-variant-ligatures: no-common-ligatures;"> {</span><span style="color: #6c05d3; font-variant-ligatures: no-common-ligatures;">name</span><span style="color: black; font-variant-ligatures: no-common-ligatures;">:</span><span style="color: #408000; font-variant-ligatures: no-common-ligatures;">listName</span><span style="color: black; font-variant-ligatures: no-common-ligatures;">}</span></p>
<p style="font-family: Verdana; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-emoji: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; line-height: normal; margin: 0px 0px 0px 124.8px; text-indent: -124.9px;"><span style="font-variant-ligatures: no-common-ligatures;"><span class="Apple-tab-span" style="white-space: pre;"> </span><b>end</b> <b>if</b></span></p>
<p style="font-family: Verdana; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-emoji: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; line-height: normal; margin: 0px 0px 0px 83.2px; text-indent: -83.2px;"><span style="font-variant-ligatures: no-common-ligatures;"><span class="Apple-tab-span" style="white-space: pre;"> </span><b>end</b> <b>tell</b></span></p>
<p style="color: #408000; font-family: Verdana; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-emoji: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; line-height: normal; margin: 0px 0px 0px 41.6px; text-indent: -41.6px;"><span style="color: black; font-variant-ligatures: no-common-ligatures;"><b>end</b> </span><span style="font-variant-ligatures: no-common-ligatures;">createListInReminders</span></p>
<p style="font-family: Verdana; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-emoji: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; line-height: normal; margin: 0px 0px 0px 41.6px; min-height: 15px; text-indent: -41.6px;"><span style="font-variant-ligatures: no-common-ligatures;"></span><br /></p>
<p style="color: #408000; font-family: Verdana; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-emoji: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; line-height: normal; margin: 0px 0px 0px 41.6px; text-indent: -41.6px;"><span style="color: black; font-variant-ligatures: no-common-ligatures;"><b>on</b> </span><span style="font-variant-ligatures: no-common-ligatures;">createReminder</span><span style="color: black; font-variant-ligatures: no-common-ligatures;">(</span><span style="font-variant-ligatures: no-common-ligatures;">thelist</span><span style="color: black; font-variant-ligatures: no-common-ligatures;">, </span><span style="font-variant-ligatures: no-common-ligatures;">theTask</span><span style="color: black; font-variant-ligatures: no-common-ligatures;">, </span><span style="font-variant-ligatures: no-common-ligatures;">theDate</span><span style="color: black; font-variant-ligatures: no-common-ligatures;">, </span><span style="font-variant-ligatures: no-common-ligatures;">theNote</span><span style="color: black; font-variant-ligatures: no-common-ligatures;">, </span><span style="font-variant-ligatures: no-common-ligatures;">thePriority</span><span style="color: black; font-variant-ligatures: no-common-ligatures;">)</span></p>
<p style="font-family: Verdana; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-emoji: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; line-height: normal; margin: 0px 0px 0px 83.2px; text-indent: -83.2px;"><span style="font-variant-ligatures: no-common-ligatures;"><span class="Apple-tab-span" style="white-space: pre;"> </span><b>try</b></span></p>
<p style="color: #408000; font-family: Verdana; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-emoji: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; line-height: normal; margin: 0px 0px 0px 124.8px; text-indent: -124.9px;"><span style="color: black; font-variant-ligatures: no-common-ligatures;"><span class="Apple-tab-span" style="white-space: pre;"> </span><b>set</b> </span><span style="font-variant-ligatures: no-common-ligatures;">theBody</span><span style="color: black; font-variant-ligatures: no-common-ligatures;"> <b>to</b> </span><span style="font-variant-ligatures: no-common-ligatures;">theNote</span></p>
<p style="font-family: Verdana; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-emoji: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; line-height: normal; margin: 0px 0px 0px 124.8px; text-indent: -124.9px;"><span style="font-variant-ligatures: no-common-ligatures;"><span class="Apple-tab-span" style="white-space: pre;"> </span><b>tell</b> </span><span style="color: blue; font-variant-ligatures: no-common-ligatures;"><i>application</i></span><span style="font-variant-ligatures: no-common-ligatures;"> "Reminders"</span></p>
<p style="font-family: Verdana; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-emoji: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; line-height: normal; margin: 0px 0px 0px 166.5px; text-indent: -166.5px;"><span style="font-variant-ligatures: no-common-ligatures;"><span class="Apple-tab-span" style="white-space: pre;"> </span><b>if</b> <b>not</b> (</span><span style="color: blue; font-variant-ligatures: no-common-ligatures;"><b>exists</b></span><span style="font-variant-ligatures: no-common-ligatures;"> (</span><span style="color: blue; font-variant-ligatures: no-common-ligatures;"><i>list</i></span><span style="font-variant-ligatures: no-common-ligatures;"> </span><span style="color: #408000; font-variant-ligatures: no-common-ligatures;">thelist</span><span style="font-variant-ligatures: no-common-ligatures;">)) <b>then</b></span></p>
<p style="color: #408000; font-family: Verdana; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-emoji: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; line-height: normal; margin: 0px 0px 0px 208.1px; text-indent: -208.2px;"><span style="color: black; font-variant-ligatures: no-common-ligatures;"><span class="Apple-tab-span" style="white-space: pre;"> </span><b>my</b> </span><span style="font-variant-ligatures: no-common-ligatures;">createListInReminders</span><span style="color: black; font-variant-ligatures: no-common-ligatures;">(</span><span style="font-variant-ligatures: no-common-ligatures;">thelist</span><span style="color: black; font-variant-ligatures: no-common-ligatures;">)</span></p>
<p style="font-family: Verdana; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-emoji: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; line-height: normal; margin: 0px 0px 0px 166.5px; text-indent: -166.5px;"><span style="font-variant-ligatures: no-common-ligatures;"><span class="Apple-tab-span" style="white-space: pre;"> </span><b>end</b> <b>if</b></span></p>
<p style="color: #6c05d3; font-family: Verdana; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-emoji: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; line-height: normal; margin: 0px 0px 0px 166.5px; text-indent: -166.5px;"><span style="color: black; font-variant-ligatures: no-common-ligatures;"><span class="Apple-tab-span" style="white-space: pre;"> </span><b>tell</b> </span><span style="color: blue; font-variant-ligatures: no-common-ligatures;"><i>list</i></span><span style="color: black; font-variant-ligatures: no-common-ligatures;"> </span><span style="color: #408000; font-variant-ligatures: no-common-ligatures;">thelist</span><span style="color: black; font-variant-ligatures: no-common-ligatures;"> <b>of</b> </span><span style="font-variant-ligatures: no-common-ligatures;">default account</span></p>
<p style="font-family: Verdana; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-emoji: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; line-height: normal; margin: 0px 0px 0px 208.1px; text-indent: -208.2px;"><span style="font-variant-ligatures: no-common-ligatures;"><span class="Apple-tab-span" style="white-space: pre;"> </span><b>if</b> </span><span style="color: #408000; font-variant-ligatures: no-common-ligatures;">theDate</span><span style="font-variant-ligatures: no-common-ligatures;"> <b>is</b> <b>not</b> </span><span style="color: blue; font-variant-ligatures: no-common-ligatures;"><i>missing value</i></span><span style="font-variant-ligatures: no-common-ligatures;"> <b>then</b></span></p>
<p style="color: #408000; font-family: Verdana; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-emoji: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; line-height: normal; margin: 0px 0px 0px 249.8px; text-indent: -249.8px;"><span style="color: black; font-variant-ligatures: no-common-ligatures;"><span class="Apple-tab-span" style="white-space: pre;"> </span></span><span style="color: blue; font-variant-ligatures: no-common-ligatures;"><b>make</b></span><span style="color: black; font-variant-ligatures: no-common-ligatures;"> </span><span style="color: blue; font-variant-ligatures: no-common-ligatures;">new</span><span style="color: black; font-variant-ligatures: no-common-ligatures;"> </span><span style="color: blue; font-variant-ligatures: no-common-ligatures;"><i>reminder</i></span><span style="color: black; font-variant-ligatures: no-common-ligatures;"> </span><span style="color: blue; font-variant-ligatures: no-common-ligatures;">with properties</span><span style="color: black; font-variant-ligatures: no-common-ligatures;"> {</span><span style="color: #6c05d3; font-variant-ligatures: no-common-ligatures;">name</span><span style="color: black; font-variant-ligatures: no-common-ligatures;">:</span><span style="font-variant-ligatures: no-common-ligatures;">theTask</span><span style="color: black; font-variant-ligatures: no-common-ligatures;">, </span><span style="color: #6c05d3; font-variant-ligatures: no-common-ligatures;">remind me date</span><span style="color: black; font-variant-ligatures: no-common-ligatures;">:</span><span style="font-variant-ligatures: no-common-ligatures;">theDate</span><span style="color: black; font-variant-ligatures: no-common-ligatures;">, </span><span style="color: #6c05d3; font-variant-ligatures: no-common-ligatures;">body</span><span style="color: black; font-variant-ligatures: no-common-ligatures;">:</span><span style="font-variant-ligatures: no-common-ligatures;">theBody</span><span style="color: black; font-variant-ligatures: no-common-ligatures;">, </span><span style="color: #6c05d3; font-variant-ligatures: no-common-ligatures;">priority</span><span style="color: black; font-variant-ligatures: no-common-ligatures;">:</span><span style="font-variant-ligatures: no-common-ligatures;">thePriority</span><span style="color: black; font-variant-ligatures: no-common-ligatures;">}</span></p>
<p style="font-family: Verdana; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-emoji: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; line-height: normal; margin: 0px 0px 0px 208.1px; text-indent: -208.2px;"><span style="font-variant-ligatures: no-common-ligatures;"><span class="Apple-tab-span" style="white-space: pre;"> </span><b>else</b></span></p>
<p style="color: blue; font-family: Verdana; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-emoji: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; line-height: normal; margin: 0px 0px 0px 249.8px; text-indent: -249.8px;"><span style="color: black; font-variant-ligatures: no-common-ligatures;"><span class="Apple-tab-span" style="white-space: pre;"> </span></span><span style="font-variant-ligatures: no-common-ligatures;"><b>make</b></span><span style="color: black; font-variant-ligatures: no-common-ligatures;"> </span><span style="font-variant-ligatures: no-common-ligatures;">new</span><span style="color: black; font-variant-ligatures: no-common-ligatures;"> </span><span style="font-variant-ligatures: no-common-ligatures;"><i>reminder</i></span><span style="color: black; font-variant-ligatures: no-common-ligatures;"> </span><span style="font-variant-ligatures: no-common-ligatures;">with properties</span><span style="color: black; font-variant-ligatures: no-common-ligatures;"> {</span><span style="color: #6c05d3; font-variant-ligatures: no-common-ligatures;">name</span><span style="color: black; font-variant-ligatures: no-common-ligatures;">:</span><span style="color: #408000; font-variant-ligatures: no-common-ligatures;">theTask</span><span style="color: black; font-variant-ligatures: no-common-ligatures;">, </span><span style="color: #6c05d3; font-variant-ligatures: no-common-ligatures;">body</span><span style="color: black; font-variant-ligatures: no-common-ligatures;">:</span><span style="color: #408000; font-variant-ligatures: no-common-ligatures;">theBody</span><span style="color: black; font-variant-ligatures: no-common-ligatures;">, </span><span style="color: #6c05d3; font-variant-ligatures: no-common-ligatures;">priority</span><span style="color: black; font-variant-ligatures: no-common-ligatures;">:</span><span style="color: #408000; font-variant-ligatures: no-common-ligatures;">thePriority</span><span style="color: black; font-variant-ligatures: no-common-ligatures;">}</span></p>
<p style="font-family: Verdana; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-emoji: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; line-height: normal; margin: 0px 0px 0px 208.1px; text-indent: -208.2px;"><span style="font-variant-ligatures: no-common-ligatures;"><span class="Apple-tab-span" style="white-space: pre;"> </span><b>end</b> <b>if</b></span></p>
<p style="font-family: Verdana; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-emoji: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; line-height: normal; margin: 0px 0px 0px 166.5px; text-indent: -166.5px;"><span style="font-variant-ligatures: no-common-ligatures;"><span class="Apple-tab-span" style="white-space: pre;"> </span><b>end</b> <b>tell</b></span></p>
<p style="font-family: Verdana; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-emoji: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; line-height: normal; margin: 0px 0px 0px 124.8px; text-indent: -124.9px;"><span style="font-variant-ligatures: no-common-ligatures;"><span class="Apple-tab-span" style="white-space: pre;"> </span><b>end</b> <b>tell</b></span></p>
<p style="font-family: Verdana; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-emoji: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; line-height: normal; margin: 0px 0px 0px 83.2px; text-indent: -83.2px;"><span style="font-variant-ligatures: no-common-ligatures;"><span class="Apple-tab-span" style="white-space: pre;"> </span><b>on</b> <b>error</b></span></p>
<p style="color: #4c4e4e; font-family: Verdana; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-emoji: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; line-height: normal; margin: 0px 0px 0px 124.8px; text-indent: -124.9px;"><span style="color: black; font-variant-ligatures: no-common-ligatures;"><span class="Apple-tab-span" style="white-space: pre;"> </span></span><span style="font-variant-ligatures: no-common-ligatures;">-- Error handling can be implemented here if needed</span></p>
<p style="font-family: Verdana; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-emoji: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; line-height: normal; margin: 0px 0px 0px 83.2px; text-indent: -83.2px;"><span style="font-variant-ligatures: no-common-ligatures;"><span class="Apple-tab-span" style="white-space: pre;"> </span><b>end</b> <b>try</b></span></p>
<p style="color: #408000; font-family: Verdana; font-feature-settings: normal; font-kerning: auto; font-optical-sizing: auto; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant-alternates: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-emoji: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; font-variation-settings: normal; line-height: normal; margin: 0px 0px 0px 41.6px; text-indent: -41.6px;"><span style="color: black; font-variant-ligatures: no-common-ligatures;"><b>end</b> </span><span style="font-variant-ligatures: no-common-ligatures;">createReminder</span></p></div><div><span style="font-variant-ligatures: no-common-ligatures;"><br /></span></div><div><br /></div><br />
<hr />
<i>Please leave comments below.</i>Joel Eslerhttp://www.blogger.com/profile/05018134738510159518noreply@blogger.com0tag:blogger.com,1999:blog-10259481.post-55720755072066649962023-01-04T10:53:00.002-05:002023-01-04T12:13:08.607-05:00A shortcut to make a PDF out of a webpage and save it to Notes.appWhile on MacOS (and iOS) you can use the Share Sheet from Safari to share a webpage to Notes, it only shares the title, URL, and the favicon to save to a new Note.<div><br /></div><div>I wanted a PDF of the entire page, so I wrote a shortcut to do it.</div><div><br /></div><div><a href="https://www.icloud.com/shortcuts/fc9fd9fc28b24f2f8fd56c0b6492a205">https://www.icloud.com/shortcuts/fc9fd9fc28b24f2f8fd56c0b6492a205</a></div><div><br /></div><div>Here's a link to it, but also, here's a screenshot, since I know the shortcut links can be somewhat unreliable.</div><div><br /></div><div><div class="separator" style="clear: both; text-align: center;"><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/a/AVvXsEgxJFkg0DXBLBBb7hbwTXgN-scsh0W6Mzykk8GIaeH3M2RgnmSMMCGAuMECvQSweec5x73JKhMZI7sMEnpUbjOyPDT0KfbfnwCVHavg1MljagKyK1UoLYrfSJTjg8lY79GqqhbU1qfyIX7oKef4LNZTegDEES2t4x4FgOm5zDXBgqXjg6Bm-A" style="margin-left: 1em; margin-right: 1em;"><img alt="" data-original-height="1310" data-original-width="1264" height="400" src="https://blogger.googleusercontent.com/img/a/AVvXsEgxJFkg0DXBLBBb7hbwTXgN-scsh0W6Mzykk8GIaeH3M2RgnmSMMCGAuMECvQSweec5x73JKhMZI7sMEnpUbjOyPDT0KfbfnwCVHavg1MljagKyK1UoLYrfSJTjg8lY79GqqhbU1qfyIX7oKef4LNZTegDEES2t4x4FgOm5zDXBgqXjg6Bm-A=w387-h400" width="387" /></a></div><br /><br /></div><div><br /></div>It grabs the input from the share sheet, gets the content of the page, and it saves the contents of the page as a variable called "Title". Then it creates a PDF from the shortcut input. It also grabs the URL from the shortcut input</div><div><br /></div><div>Then I use the output of the variable "Title" in the Text block to grab the Name of the page:</div><div><br /></div><div><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/a/AVvXsEiT1aFeOrxStGoYIdNAVCRTStNgSCZQvX-2JkCQQcGaJ03E0SO7tcke5vNyUz-QsCbbyqRBsIaGhOgszqhgPU4vEYIU3CKReSECKgWua7VbRjZQO_Dq5Lm123_Hr6UnKePwhHe7VCQMa-Vndl6ftVDknOL45f9G9E33AZbQcRDQ7NO6JaaAbg" style="margin-left: 1em; margin-right: 1em;"><img alt="" data-original-height="596" data-original-width="674" height="354" src="https://blogger.googleusercontent.com/img/a/AVvXsEiT1aFeOrxStGoYIdNAVCRTStNgSCZQvX-2JkCQQcGaJ03E0SO7tcke5vNyUz-QsCbbyqRBsIaGhOgszqhgPU4vEYIU3CKReSECKgWua7VbRjZQO_Dq5Lm123_Hr6UnKePwhHe7VCQMa-Vndl6ftVDknOL45f9G9E33AZbQcRDQ7NO6JaaAbg=w400-h354" width="400" /></a></div><div class="separator" style="clear: both; text-align: center;"><br /></div><div class="separator" style="clear: both; text-align: left;">Then it creates a Note with the title of the Note as the "Name" from the Title variable in a folder in my notes called "Scans", appends the URL from the "Get URLs" block and saves that in the Note, then appends the PDF to it.</div><br /><br />
<hr />
<i>Please leave comments below.</i></div>Joel Eslerhttp://www.blogger.com/profile/05018134738510159518noreply@blogger.com0tag:blogger.com,1999:blog-10259481.post-69228165914021684812021-04-08T19:44:00.001-05:002021-04-08T19:44:53.898-05:00Call of Duty Error 6034 for the Xbox Several friends and I play Call of Duty nearly every night. However, Activision’s most recent multiplayer update broke the heck out of Call Of Duty Modern Warfare’s Multiplayer mode. Luckily, my buddy Nigel figured out how to fix it, so here I am writing it down for you. <div><br></div><div>Go to the Home menu, put your selector (cursor) on the game, hit start (not “A”). A menu will come up, on that menu it says “Manage Game and Add-Ons”. </div><div><br></div><div>Select it, then go into the Addons section on the right. You will need to remove some packages </div><div><br></div><div>Look for Multiplayer Pack 2 (9.1 GB). Uncheck this one. </div><div>Look for Multiplayer Pack 3 . Uncheck this one. </div><div><br></div><div>You need to have Multiplayer Pack 2 (22 GB) and Mutiplayer/Special Ops packs installed. </div><div><br></div><div>Over on the night select save or whatever to save the state of the game. (To uninstall those two packages)</div><div><br></div><div>Now restart the game. You should be good. </div>Joel Eslerhttp://www.blogger.com/profile/05018134738510159518noreply@blogger.com0tag:blogger.com,1999:blog-10259481.post-18752596241070032322019-04-17T16:50:00.001-05:002019-04-17T16:50:04.154-05:00Evernote, Omnifocus, and my productivityOver the past several years my job here at Cisco Talos has changed drastically. I took on new roles, which is awesome and exciting, but in the process while trying to organize and create process and clarity for my team and those that work with my team, I lost my personal productivity. Something I've written about extensively on this blog. <br /><br />I shifted from Evernote (which I've been using forever, as readers of this blog will know) to Notes.app, and from Omnifocus (Also have been using it forever) to Reminders.app, all in an attempt to reduce the amount of 3rd party apps I had installed on my laptop, iPad, and iPhone and use a "native Apple experience".<br /><br />I quickly outgrew them both. I found out that Notes really tops out at around 2000 notes, then it becomes basically nonfunctional. My notes are not your typical Apple Notes.app "jot down a few things" type Notes though. I've had a lot of people tell me that Notes handles their notes fine. My notes have attachments, drawings, photos, complex formatting, etc. I have thousands and thousands of notes. I just don't think Notes.app could handle it. Another feature I missed: Notes doesn't allow you to "Tag". I can arrange my notes by topic, much like the "Notebook" feature in Evernote, but I can't "tag" something in Notes.app.<br /><br />For example, how I use this in Evernote, and I'll touch on this later as well... let's say I am going to a conference. I get the agenda for the conference, my flights, my receipts, my notes, my meetings, <i>everything that I am doing</i> at the conference, I tag it something that represents the conference. For example, my tag for "CiscoLive United States" is "clus". I can find <i>everything</i> regardless of Notebook or arrangement with that tag. I could compensate for this in Notes.app with something like <span style="font-family: "courier new", courier, monospace;">#clus</span>at the top of the note, and that worked for awhile, but as I said earlier, Notes.app's searching at thousands-of-notes scale is ridiculously slow, and let's not get started with the frustration of syncing across devices.<br /><br />More on searching... Notes can find text in a PDF or a Doc, that's fine, but it doesn't show you <i>where</i> in the PDF the text was. Notes also doesn't do a good job of searching <i>handwritten</i> notes. Something I do a lot of on my iPad. (I'll get to this later with my comments on Notability and Penultimate.)<br /><br />As for Reminders. It doesn't do any <i>nesting</i> of actions, vital to how I work in Omnifocus. Plus I had a bunch of Applescripts that organized and automated things for my in Evernote and Omnifocus, and I had to rewrite some of them to deal with Reminders and Notes. Things like being able to simply tap a keystroke, which prompts an entry box so I can create myself a reminder very quickly. Omnifocus has this natively. Reminders.app, I had to find one (or write one, I honestly don't remember which at this point) btw -- here it is.<br /><br />
<div style="font-family: Verdana; font-size: 12px; font-stretch: normal; line-height: normal; margin-left: 41.6px; text-indent: -41.6px;">
<span style="font-variant-ligatures: no-common-ligatures;"><b>tell </b></span><span style="color: blue; font-variant-ligatures: no-common-ligatures;"><i>application </i></span><span style="font-variant-ligatures: no-common-ligatures;">"System Events"</span></div>
<div style="color: #0016b0; font-family: Verdana; font-size: 12px; font-stretch: normal; line-height: normal; margin-left: 83.2px; text-indent: -83.2px;">
<span style="font-variant-ligatures: no-common-ligatures;"><b>display dialog</b></span><span style="color: black; font-variant-ligatures: no-common-ligatures;">"Create a new reminder" </span><span style="font-variant-ligatures: no-common-ligatures;">default answer</span><span style="color: black; font-variant-ligatures: no-common-ligatures;">"" </span><span style="font-variant-ligatures: no-common-ligatures;">cancel button</span><span style="color: black; font-variant-ligatures: no-common-ligatures;">"Cancel" </span><span style="font-variant-ligatures: no-common-ligatures;">giving up after </span><span style="color: black; font-variant-ligatures: no-common-ligatures;">20 </span><span style="font-variant-ligatures: no-common-ligatures;">with icon </span><span style="font-variant-ligatures: no-common-ligatures;"><b>path to resource </b></span><span style="color: black; font-variant-ligatures: no-common-ligatures;">"Reminders.icns" </span><span style="font-variant-ligatures: no-common-ligatures;">in bundle</span><span style="color: black; font-variant-ligatures: no-common-ligatures;">(</span><span style="font-variant-ligatures: no-common-ligatures;"><b>path to </b></span><span style="color: blue; font-variant-ligatures: no-common-ligatures;"><i>application </i></span><span style="color: black; font-variant-ligatures: no-common-ligatures;">"Reminders")</span></div>
<div style="font-family: Verdana; font-size: 12px; font-stretch: normal; line-height: normal; margin-left: 83.2px; text-indent: -83.2px;">
<span style="font-variant-ligatures: no-common-ligatures;"><b>set </b></span><span style="color: #408000; font-variant-ligatures: no-common-ligatures;">reminTitle </span><span style="font-variant-ligatures: no-common-ligatures;"><b>to </b></span><span style="color: #4415b0; font-variant-ligatures: no-common-ligatures;">text returned </span><span style="font-variant-ligatures: no-common-ligatures;"><b>of </b></span><span style="color: #6c05d3; font-variant-ligatures: no-common-ligatures;">result</span></div>
<div style="font-family: Verdana; font-size: 12px; font-stretch: normal; line-height: normal; margin-left: 83.2px; text-indent: -83.2px;">
<span style="font-variant-ligatures: no-common-ligatures;"><b>tell </b></span><span style="color: blue; font-variant-ligatures: no-common-ligatures;"><i>application </i></span><span style="font-variant-ligatures: no-common-ligatures;">"Reminders"</span></div>
<div style="color: blue; font-family: Verdana; font-size: 12px; font-stretch: normal; line-height: normal; margin-left: 124.8px; text-indent: -124.9px;">
<span style="color: black; font-variant-ligatures: no-common-ligatures;"><b>set</b> </span><span style="color: #408000; font-variant-ligatures: no-common-ligatures;">newremin</span><span style="color: black; font-variant-ligatures: no-common-ligatures;"> <b>to </b></span><span style="font-variant-ligatures: no-common-ligatures;"><b>make </b></span><span style="font-variant-ligatures: no-common-ligatures;">new </span><span style="font-variant-ligatures: no-common-ligatures;"><i>reminder</i></span></div>
<div style="color: #408000; font-family: Verdana; font-size: 12px; font-stretch: normal; line-height: normal; margin-left: 124.8px; text-indent: -124.9px;">
<span style="color: black; font-variant-ligatures: no-common-ligatures;"><b>set</b> </span><span style="color: #6c05d3; font-variant-ligatures: no-common-ligatures;">name</span><span style="color: black; font-variant-ligatures: no-common-ligatures;"> <b>of </b></span><span style="font-variant-ligatures: no-common-ligatures;">newremin </span><span style="color: black; font-variant-ligatures: no-common-ligatures;"><b>to </b></span><span style="font-variant-ligatures: no-common-ligatures;">reminTitle</span></div>
<div style="font-family: Verdana; font-size: 12px; font-stretch: normal; line-height: normal; margin-left: 83.2px; text-indent: -83.2px;">
<span style="font-variant-ligatures: no-common-ligatures;"><b>end</b> <b>tell</b></span></div>
<b style="font-family: Verdana; font-size: 12px; text-indent: -41.6px;">end </b><b style="font-family: Verdana; font-size: 12px; text-indent: -41.6px;">tell</b><br />
<br />If you use Reminders, and you want to steal that and make a keyboard shortcut that calls that AppleScript (if you use Reminders.app) feel free.<br /><br />So, after using this new system for awhile, I found out it was a disaster, and in the past two weeks I have dedicated <i>significant</i> amounts of time to get back to my happy place where things were productive.<br />
<br />
So, I'm back to using Evernote and Omnifocus again, and I am going write a few posts on how I've developed a system the works for me with these three tools. Consider this.. part one.<br />
<br />
<br />
<hr />
<i>Please leave comments below.</i>Joel Eslerhttp://www.blogger.com/profile/05018134738510159518noreply@blogger.com0tag:blogger.com,1999:blog-10259481.post-37236517991608645592018-09-05T15:59:00.002-05:002018-09-05T16:08:22.174-05:00Is Evernote going away?Evidently we don't know if Evernote is sticking around, since there seems to be some panic on the internet about it today.<br />
<br />
<a href="https://appleinsider.com/articles/18/09/05/evernote-might-be-in-trouble-so-heres-how-to-get-your-notes-out-of-it-completely-and-safely">https://appleinsider.com/articles/18/09/05/evernote-might-be-in-trouble-so-heres-how-to-get-your-notes-out-of-it-completely-and-safely</a><br />
<br />
It is really easy to move your notes out of Evernote and into Notes.app on the Mac. (Click the above link for the easy instructions. <br />
<br />
However, if you use <a href="https://www.noodlesoft.com/" target="_blank">Hazel</a>, to say, monitor the "Downloads" folder on your Mac, and if any files show up there (like a PDF for example) and you want to have it automatically saved to Notes.app. (This is handy after you try it).<br />
<br />
I wrote a little AppleScript to do this for you, (in Hazel) since I couldn't find one on the Internet, and it wasn't rocket science:<br />
<br />
<blockquote class="tr_bq">
<div style="font-family: Menlo; font-size: 12px; font-stretch: normal; line-height: normal; margin-left: 28.9px; text-indent: -28.9px;">
<span style="font-variant-ligatures: no-common-ligatures;">tell </span><span style="color: #0433ff; font-variant-ligatures: no-common-ligatures;">application</span><span style="font-variant-ligatures: no-common-ligatures;"> "Notes"</span></div>
<div style="font-family: Menlo; font-size: 12px; font-stretch: normal; line-height: normal; margin-left: 57.8px; text-indent: -57.8px;">
<span style="font-variant-ligatures: no-common-ligatures;"><span class="Apple-tab-span" style="white-space: pre;"> </span>set </span><span style="color: #4e8f00; font-variant-ligatures: no-common-ligatures;">mynote</span><span style="font-variant-ligatures: no-common-ligatures;"> to </span><span style="color: #0433ff; font-variant-ligatures: no-common-ligatures;">make</span><span style="font-variant-ligatures: no-common-ligatures;"> </span><span style="color: #0433ff; font-variant-ligatures: no-common-ligatures;">new</span><span style="font-variant-ligatures: no-common-ligatures;"> </span><span style="color: #0433ff; font-variant-ligatures: no-common-ligatures;">note</span><span style="font-variant-ligatures: no-common-ligatures;"> </span><span style="color: #0433ff; font-variant-ligatures: no-common-ligatures;">at</span><span style="font-variant-ligatures: no-common-ligatures;"> </span><span style="color: #0433ff; font-variant-ligatures: no-common-ligatures;">folder</span><span style="font-variant-ligatures: no-common-ligatures;"> "PDFS"</span></div>
<div style="color: #0433ff; font-family: Menlo; font-size: 12px; font-stretch: normal; line-height: normal; margin-left: 57.8px; text-indent: -57.8px;">
<span style="color: black; font-variant-ligatures: no-common-ligatures;"><span class="Apple-tab-span" style="white-space: pre;"> </span></span><span style="font-variant-ligatures: no-common-ligatures;">make</span><span style="color: black; font-variant-ligatures: no-common-ligatures;"> </span><span style="font-variant-ligatures: no-common-ligatures;">new</span><span style="color: black; font-variant-ligatures: no-common-ligatures;"> </span><span style="font-variant-ligatures: no-common-ligatures;">attachment</span><span style="color: black; font-variant-ligatures: no-common-ligatures;"> </span><span style="font-variant-ligatures: no-common-ligatures;">at</span><span style="color: black; font-variant-ligatures: no-common-ligatures;"> </span><span style="color: #4e8f00; font-variant-ligatures: no-common-ligatures;">mynote</span><span style="color: black; font-variant-ligatures: no-common-ligatures;"> </span><span style="font-variant-ligatures: no-common-ligatures;">with data</span><span style="color: black; font-variant-ligatures: no-common-ligatures;"> </span><span style="color: #4e8f00; font-variant-ligatures: no-common-ligatures;">theFile</span></div>
<div style="font-family: Menlo; font-size: 12px; font-stretch: normal; line-height: normal; margin-left: 28.9px; text-indent: -28.9px;">
<span style="font-variant-ligatures: no-common-ligatures;">end tell</span></div>
</blockquote>
<br />
If you have a folder in Notes.app called "PDFS", it will create a new note in the folder for each file and attach the file to it (which for me, then syncs it with iCloud so the file is on all my devices). Pretty handy.<br />
<br />
Anyway, putting this here in case any one else can use it.<br />
<hr />
<i>Please leave comments below.</i>Joel Eslerhttp://www.blogger.com/profile/05018134738510159518noreply@blogger.com0tag:blogger.com,1999:blog-10259481.post-56892388893418340652016-12-12T08:42:00.002-05:002016-12-12T08:42:31.064-05:00VimWiki, this looks pretty cool.As it is very themed with some of my blog posts, I discovered this today, for all of you command line types:<br />
<br />
<a href="http://vimwiki.github.io/" target="_blank">VimWiki</a><br />
<br />
Copy and pasted directly from their website, go check it out:<br />
<h1 style="border-bottom-color: rgb(204, 204, 204); border-bottom-style: solid; border-width: 0px 0px 1px; color: #232323; font-family: Arvo, Monaco, serif; font-size: 30px; font-weight: normal; line-height: 1.3; margin: 36px 0px 10px; padding: 0px 0px 5px; vertical-align: baseline;">
With Vimwiki you can</h1>
<ul style="border: 0px; color: #232323; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 14px; line-height: inherit; list-style-image: initial; list-style-position: initial; margin: 0px 0px 22px; padding: 0px 0px 0px 25px; vertical-align: baseline;">
<li style="border: 0px; font-family: inherit; font-size: inherit; font-style: inherit; font-variant-caps: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;">organize notes and ideas</li>
<li style="border: 0px; font-family: inherit; font-size: inherit; font-style: inherit; font-variant-caps: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;">manage todo-lists</li>
<li style="border: 0px; font-family: inherit; font-size: inherit; font-style: inherit; font-variant-caps: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;">write documentation</li>
<li style="border: 0px; font-family: inherit; font-size: inherit; font-style: inherit; font-variant-caps: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;">write a diary</li>
</ul>
<h2 style="border-bottom-color: rgb(204, 204, 204); border-bottom-style: solid; border-width: 0px 0px 1px; color: #232323; font-family: Arvo, Monaco, serif; font-size: 24px; font-weight: normal; line-height: 1.3; margin: 36px 0px 10px; padding: 0px 0px 5px; vertical-align: baseline;">
<a aria-hidden="true" class="anchor" href="http://vimwiki.github.io/#features" id="features" style="border: 0px; color: #c30000; font-family: inherit; font-size: inherit; font-style: inherit; font-variant-caps: inherit; line-height: inherit; margin: 0px; padding: 0px; text-decoration: none; vertical-align: baseline;"><span class="octicon octicon-link" style="border: 0px; font-family: inherit; font-size: inherit; font-style: inherit; font-variant-caps: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;"></span></a>Features</h2>
<ul style="border: 0px; color: #232323; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 14px; line-height: inherit; list-style-image: initial; list-style-position: initial; margin: 0px 0px 22px; padding: 0px 0px 0px 25px; vertical-align: baseline;">
<li style="border: 0px; font-family: inherit; font-size: inherit; font-style: inherit; font-variant-caps: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;">three markup syntaxes supported: Vimwiki's own syntax, Markdown, MediaWiki</li>
<li style="border: 0px; font-family: inherit; font-size: inherit; font-style: inherit; font-variant-caps: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;">export everything to HTML</li>
<li style="border: 0px; font-family: inherit; font-size: inherit; font-style: inherit; font-variant-caps: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;">link to other wiki pages and external files</li>
<li style="border: 0px; font-family: inherit; font-size: inherit; font-style: inherit; font-variant-caps: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;">search through all wiki pages</li>
<li style="border: 0px; font-family: inherit; font-size: inherit; font-style: inherit; font-variant-caps: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;">outline notes and tasks in indented lists</li>
<li style="border: 0px; font-family: inherit; font-size: inherit; font-style: inherit; font-variant-caps: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;">quickly manipulate numbered and bulleted lists</li>
<li style="border: 0px; font-family: inherit; font-size: inherit; font-style: inherit; font-variant-caps: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;">tag wiki pages or arbitrary places and quickly jump to tags</li>
<li style="border: 0px; font-family: inherit; font-size: inherit; font-style: inherit; font-variant-caps: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;">tables</li>
</ul>
<hr />
<i>Please leave comments below.</i>Joel Eslerhttp://www.blogger.com/profile/05018134738510159518noreply@blogger.com0tag:blogger.com,1999:blog-10259481.post-52419033063631386132016-06-15T20:31:00.000-05:002016-06-15T20:35:37.457-05:00Why don't you write on your blog anymore?1. I don't feel like I have much to say.<br>
<br>
<br>
I do a tremendous amount of writing and blogging on the Snort, ClamAV, and Talos blogs. So, I get exhausted when I think about things I would want to write for this blog.<br>
<br>
2. When I do think about what I want to write about, I want to rant against companies and competitors.<br>
<br>
But why would I want to give any competitors an intel on what they are doing wrong, or in some cases right?<br>
<br>
3. Twitter is 140 characters of BS, and I can't even think of 140 characters to spew on there half the time. <br>
<br>
I know a bunch of people that just post random thoughts and spew for 100s of tweets a night about something, and they have thousands of followers. I just don't feel like that's me, or it gets me anywhere.<div><br></div><div>4. Gov't or politics</div><div><br></div><div>I know a bunch about the subject, and I just don't feel like talking about it, since that's all the news is saying right now. </div><div><br></div><div>Basically, no one cares!<br>
<br>
And now I am tired.<br>
<hr>
<i>Please leave comments below.</i></div>Joel Eslerhttp://www.blogger.com/profile/05018134738510159518noreply@blogger.com0tag:blogger.com,1999:blog-10259481.post-39795953800576936762016-03-10T20:49:00.001-05:002016-03-10T22:57:50.224-05:00You can't have it both ways<div><span style="font-family: 'Helvetica Neue Light', HelveticaNeue-Light, helvetica, arial, sans-serif;">Too long for Twitter. </span></div><div><br></div><div>Law enforcement agencies are constantly complimenting Apple for the company's addition of "activation lock", citing that it reduces the amount of violent robberies, since the criminals know that they are not able to steal someone's iPhone and then resell it.<br><br>But now, those same agencies want Apple to essentially allow law-enforcement agencies to bypass that, what is close to the same feature. </div><div><br></div><div>While yes, the lock screen passcode is different from the activation lock on an iPhone, the request is essentially the same, please allow us the functionality to guess or bypass the password.</div><div><br></div><div>I can understand the argument on both sides of this issue, but, I also believe that there are places, such as the human brain, which is protected by the fifth amendment, that the government should not be allowed to go.</div><div></div>Joel Eslerhttp://www.blogger.com/profile/05018134738510159518noreply@blogger.com0tag:blogger.com,1999:blog-10259481.post-77382286312260204232015-07-07T18:19:00.001-05:002015-07-07T18:19:34.457-05:00I just had the best travel experience everLeft my office at 4:30 for a 5:15 flight. I know what you are thinking, you are crazy...<div><br></div><div>You're right. Normally would never do this, but was running behind with stuff today. Drove from my office in Columbia, MD to BWI. </div><div><br></div><div>Parked the car, no problem. </div><div><br></div><div>Walked to security (already checked in on my phone), went through TSA pre line, using the boarding pass on my watch. No line. </div><div><br></div><div>No one bothered me about my bag, no one told me to have my boarding pass and ID out and ready...</div><div><br></div><div>Went through security in about 30 seconds. </div><div><br></div><div>Walked to gate, plane too small to bring on roller board bag, so, pink tag check it at gate. Done. </div><div><br></div><div>Boarded with watch, zone 1, only one in zone 1.</div><div><br></div><div>Went right to my seat, no waiting.</div><div><br></div><div>Hour flight, quick Coke on the flight, I wrote three emails, done. </div><div><br></div><div>Got off flight had to wait 5 minutes for bag, darn. </div><div><br></div><div>Walked out to car rental bus, had to wait another five minutes, darn. Bus driver was friendly, no waiting there, went to car rental facility, no traffic, got my space from the Hertz Gold board, walked to car, got in, tapped my phone to give me the address and directions to hotel, drove to hotel.</div><div><br></div><div>I was already checked in (via app) at hotel, no lines, picked up my key, walked to room. In room, was waiting a small snack. </div><div><br><div class="separator" style="clear: both;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjuiu71uReXyvaVjMYp_CJOMfIr5aGXAm7nnP-R-Q6YK2iT0nIY77f7GJ4gGyQvdzoG3N5l0VaakYcH5NTqAS1SLOzvbKtW30tGUzdQzcateFo9s7XCuMM-nwImF7ZmVeFmcsfY/s640/blogger-image--94932971.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjuiu71uReXyvaVjMYp_CJOMfIr5aGXAm7nnP-R-Q6YK2iT0nIY77f7GJ4gGyQvdzoG3N5l0VaakYcH5NTqAS1SLOzvbKtW30tGUzdQzcateFo9s7XCuMM-nwImF7ZmVeFmcsfY/s640/blogger-image--94932971.jpg"></a></div></div><div><br></div><div>From when I left my office to my hotel room, less than three hours. </div><div><br></div><div>Over the course of my career I have encountered everything that can possibly be wrong with a trip (except crashing in a plane, knock on wood). Today, nothing went wrong. </div><div><br></div><div>Today was a good day. </div>Joel Eslerhttp://www.blogger.com/profile/05018134738510159518noreply@blogger.com0tag:blogger.com,1999:blog-10259481.post-72293031239662718722015-03-13T08:51:00.000-05:002015-03-13T08:51:07.723-05:00Should we fire low-quality contributors to projects?Friend of mine at work pointed this article out to me this morning:<br />
<br />
<a href="http://opensource.com/life/15/3/how-to-fire-community-members" target="_blank">Should we fire low-quality contributors to projects</a>?<br />
<br />
Good article that deals with the dilemma of dealing with toxic community members to a project.<br />
<br />
Luckily in Snort and ClamAV, I've only had to deal with a handful of these. Usually people that hide behind nicknames and like to try and shame people into submission to their ideas. I've actually had people apologize to me years later for trolling or simply being toxic. <br />
<br />
However, if you are a community manager for an open source project or a community project, this article gives you a couple things to think about.<br />
<br />
<hr />
<i>Please leave comments below.</i>Joel Eslerhttp://www.blogger.com/profile/05018134738510159518noreply@blogger.com0tag:blogger.com,1999:blog-10259481.post-71444364870171091262015-03-09T15:01:00.000-05:002015-03-09T15:01:20.223-05:00Threat Spotlight: Angler Lurking in the Domain ShadowsNick Biasini on our Talos Outreach team wrote a piece of awesome over on our <a href="http://blogs.cisco.com/talos" target="_blank">Talos Blog</a>, I just wanted to highlight it.<br />
<blockquote class="tr_bq">
<span style="background-color: white; color: #525252; font-family: Arial, Helvetica, sans-serif; font-size: 14px; line-height: 19px;">Over the last several months Talos researchers have been monitoring a massive exploit kit campaign that is utilizing hijacked registrant accounts to create large amounts of subdomains for both initial redirection and exploitation. This campaign has been largely attributed to Angler Exploit Kit with fileless exploits serving various malicious payloads.</span></blockquote>
Check out the <a href="http://blogs.cisco.com/security/talos/angler-domain-shadowing" target="_blank">Angler Blog Post</a>.<br />
<hr />
<i>Please leave comments below.</i>Joel Eslerhttp://www.blogger.com/profile/05018134738510159518noreply@blogger.com0tag:blogger.com,1999:blog-10259481.post-37805159393183885462014-09-20T15:44:00.001-05:002014-09-20T15:44:45.099-05:00Feature I found in iOS8 that I like<div class="separator" style="clear: both;"><span style="font-family: 'Helvetica Neue Light', HelveticaNeue-Light, helvetica, arial, sans-serif;">Just popped up on my iPhone. </span><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgZEgvDfcGudMREbvnszHYnjOsYwn-W5M6oHYb8LErMoRhZAdhG5pb76WwtXSQxECNrN3BPbn3N7e8R4Pn6ZFMksmA2SZrZcWVeQA71V9GPpsI82ALmrwW3dEbayoDDzpuWZXD9/s640/blogger-image-1837238699.jpg" imageanchor="1" style="font-family: 'Helvetica Neue Light', HelveticaNeue-Light, helvetica, arial, sans-serif; margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgZEgvDfcGudMREbvnszHYnjOsYwn-W5M6oHYb8LErMoRhZAdhG5pb76WwtXSQxECNrN3BPbn3N7e8R4Pn6ZFMksmA2SZrZcWVeQA71V9GPpsI82ALmrwW3dEbayoDDzpuWZXD9/s640/blogger-image-1837238699.jpg"></a></div>Joel Eslerhttp://www.blogger.com/profile/05018134738510159518noreply@blogger.com0tag:blogger.com,1999:blog-10259481.post-78436973783144406562014-03-15T19:10:00.001-05:002014-03-15T19:10:35.567-05:00I went to a small auction today.There were a bunch of people there. <div><br><div class="separator" style="clear: both;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjSkeATzlcU4E09Jiv_aSU30ZLorSx3x-zo4ZXtcYTqYy5UTEanm3a9a4BsfAXdpqwA568JIzMpaLYAk4cDcLd7mdw_kQikrgXTmA_CvwXxSzI1uNkDK7r0ZU5kBRNmR6HnmFLE/s640/blogger-image-2120734282.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjSkeATzlcU4E09Jiv_aSU30ZLorSx3x-zo4ZXtcYTqYy5UTEanm3a9a4BsfAXdpqwA568JIzMpaLYAk4cDcLd7mdw_kQikrgXTmA_CvwXxSzI1uNkDK7r0ZU5kBRNmR6HnmFLE/s640/blogger-image-2120734282.jpg"></a></div></div>Joel Eslerhttp://www.blogger.com/profile/05018134738510159518noreply@blogger.com0tag:blogger.com,1999:blog-10259481.post-73577969992164202632013-12-05T14:37:00.001-05:002013-12-05T14:38:31.348-05:00Because having small monitors is sillyMy home desk with a 30in monitor, and a 24 in monitor. Anything smaller than 24 is just child's play.<br />
<div>
<br /></div>
<div>
<div class="separator" style="clear: both;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgazouHoKHMBobUTpGM1DDfmT0-_VlRDfVYIHzG49L96MLBgxmATY3o7Bs8UUqN_7CwuPHv3GS26j1PGEaijW7bky2NMS-0WXFOfBuLtmcxIri3lzLSrlLir9yYR5efPS6sXhwB/s640/blogger-image-1898530696.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgazouHoKHMBobUTpGM1DDfmT0-_VlRDfVYIHzG49L96MLBgxmATY3o7Bs8UUqN_7CwuPHv3GS26j1PGEaijW7bky2NMS-0WXFOfBuLtmcxIri3lzLSrlLir9yYR5efPS6sXhwB/s640/blogger-image-1898530696.jpg" /></a></div>
<br /></div>
Joel Eslerhttp://www.blogger.com/profile/05018134738510159518noreply@blogger.com1tag:blogger.com,1999:blog-10259481.post-62784772615925317552013-11-23T20:29:00.001-05:002013-11-23T20:29:24.863-05:00My iPhone did something useful today, and I didn't even ask it toHappened to swipe down from the top this morning (Notifications screen) and I noticed that my iPhone told me that it would take about 34 minutes to get to Newark from where I was. <div><br></div><div>Now, I've noticed this before, always when I was on the way to work or something where I had an appointment on my calendar with an address in it, my iPhone would estimate the time it would take for me to get there. But today, I had nothing on my calendar, so how did it know where to estimate my time to? So I thought about it. </div><div><br></div><div><div class="separator" style="clear: both;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhR-8eIopLKPdpf40_U3EFEtpe8RVo8SCIJUuEk5wHsAGyFyk61-ZRJJL8Y9qS1XQjEi5XGrDbIm0SfeqRbi-ObkJ7o76kjjbp5rv380f7ArFD8A5S-UPxStWgq95THNTnUZnBn/s640/blogger-image--2030573449.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhR-8eIopLKPdpf40_U3EFEtpe8RVo8SCIJUuEk5wHsAGyFyk61-ZRJJL8Y9qS1XQjEi5XGrDbIm0SfeqRbi-ObkJ7o76kjjbp5rv380f7ArFD8A5S-UPxStWgq95THNTnUZnBn/s640/blogger-image--2030573449.jpg"></a></div> Then I realized it was the "Frequent Locations" setting under privacy. I left this on when I upgraded to ios7, because I wanted to see, if anything, what useful functions came out of it. </div><div><br></div><div>I went into there today and I noticed for the past several weekends my family went north to go to the mall, shopping, or something else near Newark, DE. So the iPhone remembered that and said "okay, well, today is Saturday, so I am betting you are going to go to the mall today." And it gave me arrival time to that location. </div><div><br></div><div>I think it's handy, borderline creepy, but helpful. </div><div><br></div><div>So, I went to a different mall today, in a different direction. Just to screw with my phone. </div>Joel Eslerhttp://www.blogger.com/profile/05018134738510159518noreply@blogger.com0tag:blogger.com,1999:blog-10259481.post-26845623175571188742013-10-19T21:57:00.001-05:002013-10-20T11:53:08.892-05:00Oh Chevy.<div>
<br /></div>
They have spell check on that commercial making software right?<br />
<div>
<br /></div>
<div>
<br />
<div class="separator" style="clear: both;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEji_X7zm4QlOOppkHyegX1pLJIsAn96HMXvBNrf4fBIETpUDJLO4YzuXadrmP7LgPk7vyy1cF0772zjHWizO81UxxQcAA6w_rl8ZjmARcLpco2K6j9KgovWRNWdPYunLWf55HbY/s640/blogger-image-1185733524.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="300" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEji_X7zm4QlOOppkHyegX1pLJIsAn96HMXvBNrf4fBIETpUDJLO4YzuXadrmP7LgPk7vyy1cF0772zjHWizO81UxxQcAA6w_rl8ZjmARcLpco2K6j9KgovWRNWdPYunLWf55HbY/s400/blogger-image-1185733524.jpg" width="400" /></a></div>
</div>
Joel Eslerhttp://www.blogger.com/profile/05018134738510159518noreply@blogger.com1tag:blogger.com,1999:blog-10259481.post-19505368851805330112012-09-10T08:25:00.001-05:002012-09-10T08:25:10.852-05:00Taliban pose as pretty women on Facebook, dupe soldiers | ZDNet<a href="http://www.zdnet.com/taliban-pose-as-pretty-women-on-facebook-dupe-soldiers-7000003962/">Taliban pose as pretty women on Facebook, dupe soldiers | ZDNet</a>: <br />
<br />
Speaking of Facebook, here is another cautionary tale about being careful who you talk to online. Just because they say they are a woman, doesn't mean they are.<br />
<br />
<br />
<hr /><i>Please leave comments below.</i>Joel Eslerhttp://www.blogger.com/profile/05018134738510159518noreply@blogger.com0tag:blogger.com,1999:blog-10259481.post-30650919636811121632012-09-10T08:23:00.001-05:002012-09-10T08:23:46.658-05:00How to secure your Facebook account <a href="http://www.itproportal.com/2012/09/10/how-to-secure-your-facebook-account/">How to secure your Facebook account | ITProPortal.com</a><br />
<br />
Some good tips here, just how to make sure the following settings are setup the best you can for privacy. Not really a lot of content, but good to forward to that person in your life that needs a bit of help.<br />
<br />
<br />
Privacy settings<br />
Ads, apps, and websitesJoel Eslerhttp://www.blogger.com/profile/05018134738510159518noreply@blogger.com0tag:blogger.com,1999:blog-10259481.post-26639211180472834592012-07-28T12:14:00.000-05:002012-07-28T12:14:55.208-05:00Mountain Lion: How to get the most out of iMessageSo, now that Mountain Lion has been released for everyone I thought I'd write a quick blog post on how to get the most out of iMessages (now called Messages) on your iOS device and your Desktop.<br />
<br />
If you are an Apple Ecosystem person (iOS + OSX) you'll love it. Messages is the replacement for iChat and it allows you to have the same conversation with anyone that is in the iOS ecosystem across all your devices all at the same time.<br />
<br />
So here's how to get the most out of it.<br />
<br />
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi9apR7QSRrz2tXoPkYsh9mULSR_vsvfPCGjlGHllBXZ5NHyUiht7hCJ_8igWWXNsByp8w_f7CvZoawF5ljOlLlr0MLbg5UA_R1FLeAgPUCzLlm4suf920dub8sIPbPpvuixxxp/s1600/iMessages.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi9apR7QSRrz2tXoPkYsh9mULSR_vsvfPCGjlGHllBXZ5NHyUiht7hCJ_8igWWXNsByp8w_f7CvZoawF5ljOlLlr0MLbg5UA_R1FLeAgPUCzLlm4suf920dub8sIPbPpvuixxxp/s1600/iMessages.jpg" /></a></div><div class="separator" style="clear: both; text-align: left;">Open Messages, the icon looks like the above picture. In your preferences, you need to set up your iMessages account. I use my iCloud account, (me.com), but you can use any email address I believe. So, add your iMessages account. Enter all your email addresses there on the bottom, it may ask you to verify them (at which point Apple will send you an email through the account that you entered to ensure you actually own that account):</div><div class="separator" style="clear: both; text-align: left;"><br />
</div><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhUuD9LD6O-lRz8UdmLiJy7pSXuaw_FcUroPf4rbPOceYuCReFnQG2viXJw3SBnFQMkl9cD05vYFwKg-EgYmH0GLdLFikDA8RKs8Nba1l_4FRsi2SR6qziQzYyfSsJAUBFJmXS5/s1600/Accounts-1.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="307" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhUuD9LD6O-lRz8UdmLiJy7pSXuaw_FcUroPf4rbPOceYuCReFnQG2viXJw3SBnFQMkl9cD05vYFwKg-EgYmH0GLdLFikDA8RKs8Nba1l_4FRsi2SR6qziQzYyfSsJAUBFJmXS5/s320/Accounts-1.jpg" width="320" /></a></div><div class="separator" style="clear: both; text-align: left;"><br />
</div><div class="separator" style="clear: both; text-align: left;">The next setting to pay attention to is the "Caller ID". Pay particular attention here because you are going to want to set that to be the same as your iOS device. This is the awesome part where everything becomes one.</div><div class="separator" style="clear: both; text-align: left;"><br />
</div><div class="separator" style="clear: both; text-align: left;">Then you should be good to go on the desktop.</div><div class="separator" style="clear: both; text-align: left;"><br />
</div><div class="separator" style="clear: both; text-align: left;">Now let's setup iOS to be exactly the same. So go into your Settings in iOS, and go to Messages. It should look something like this:</div><div class="separator" style="clear: both; text-align: left;"><br />
</div><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgeIsysPIQm3fiYaESB1aibdDuMAWBC34xTFHo_LHffAhlgIL9EKxLFv6mWfTQM5UrtifUmmy-J7ouG5Yq6VT3mIAmcSPC3EW-Gx5d2F8zEgN3cIYPBWik-uXUkGqopL0sf3AHK/s1600/Messages.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="320" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgeIsysPIQm3fiYaESB1aibdDuMAWBC34xTFHo_LHffAhlgIL9EKxLFv6mWfTQM5UrtifUmmy-J7ouG5Yq6VT3mIAmcSPC3EW-Gx5d2F8zEgN3cIYPBWik-uXUkGqopL0sf3AHK/s320/Messages.jpg" width="213" /></a></div><div class="separator" style="clear: both; text-align: left;"><br />
</div><div class="separator" style="clear: both; text-align: left;">Tap on that with your finger. Take a look at the settings and set those up how you want them.</div><div class="separator" style="clear: both; text-align: left;">But you'll see a section that says something to the effect of "Send & Receive":</div><div class="separator" style="clear: both; text-align: left;"><br />
</div><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhkx7mad-3bAMYYkedHbPm2Mk8P3mEfAVDAtIS4FPaI0dU9K3TRxqj8K2ghb6wuqmdUVusft5NrhbRz5B-NIb7YSC1YcSee6Rl87ozM21jXNMsZkXHZ0lBrIxDpEp_JFW_zaHsY/s1600/Step+2.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="320" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhkx7mad-3bAMYYkedHbPm2Mk8P3mEfAVDAtIS4FPaI0dU9K3TRxqj8K2ghb6wuqmdUVusft5NrhbRz5B-NIb7YSC1YcSee6Rl87ozM21jXNMsZkXHZ0lBrIxDpEp_JFW_zaHsY/s320/Step+2.jpg" width="213" /></a></div><div class="separator" style="clear: both; text-align: center;"><br />
</div><div class="separator" style="clear: both; text-align: left;"><i>Note: I am using the developers preview of iOS 6 to take these screenshots, so your screen will look different.</i></div><div class="separator" style="clear: both; text-align: left;"><i><br />
</i></div><div class="separator" style="clear: both; text-align: left;">Go in there and add all the same email addresses that you added on your Desktop. Also, on the bottom, you will see "Caller ID". Set the Caller ID to be the same as what you put on your Desktop. On your iOS devices, I'd suggest NOT setting it as your phone number. I set mine as my iCloud email address, as that address has my phone name right in it and it's pretty obvious to the recipient who is sending a message.</div><div class="separator" style="clear: both; text-align: left;"><br />
</div><div class="separator" style="clear: both; text-align: left;">Repeat this process if you have multiple OSX Desktop machines (laptops), iPads, iPhones, whatever.</div><div class="separator" style="clear: both; text-align: left;"><br />
</div><div class="separator" style="clear: both; text-align: left;">After this process is complete, whenever you have a conversation through iMessage, it'll be the same on all your devices. Desktop, iPad, iPhone whatever. When people answer you back, it'll go to all your devices.</div><div class="separator" style="clear: both; text-align: left;"><br />
</div><div class="separator" style="clear: both; text-align: left;">This allows you to start a conversation on your Desktop, pick up your iPad, go to a meeting, have the same conversation going on seamlessly, no syncing with anything, and keep going in the same conversation. Have to leave the meeting to go somewhere? Pick up your iPhone, because the conversation will be exactly the same.</div><div class="separator" style="clear: both; text-align: left;"><br />
</div><div class="separator" style="clear: both; text-align: left;">If everyone in the ecosystem did this, it would be a seamless network of interaction between everyone. I love it. I hope that Apple will streamline this setup process a little bit, (like unifying the phone number and email address, and allowing the setup of the accounts in one place, and those settings pushed through iCloud to all devices, so that everything is the same)</div><div class="separator" style="clear: both; text-align: left;"><br />
</div><div class="separator" style="clear: both; text-align: left;">One more thing.</div><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhC54tqEOxhKQOeAghMVRObhdhTaxUE1eDwBZjql8wToGa3fHg7irqtj6VX2v5JWWGBS3cR-Ml2tum85wuWJKlB6uuBrW9TyjXbjZG5dI0SAuWSLw80sNJ_ZGc_1-6-kG8DyoOc/s1600/Facetime.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhC54tqEOxhKQOeAghMVRObhdhTaxUE1eDwBZjql8wToGa3fHg7irqtj6VX2v5JWWGBS3cR-Ml2tum85wuWJKlB6uuBrW9TyjXbjZG5dI0SAuWSLw80sNJ_ZGc_1-6-kG8DyoOc/s1600/Facetime.jpg" /></a></div><div class="separator" style="clear: both; text-align: center;"><br />
</div><div class="separator" style="clear: both; text-align: left;">Open up Facetime. Open up your preferences in Facetime, and set everything up the same way. That way, your Facetime is also ubiquitous everywhere. </div><div class="separator" style="clear: both; text-align: left;"><br />
</div><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjPAc1MMJTx_hs6cfx9RMilz9uSCxCFIsoDpWKFgXXObACcgssJMR6CzK8vmHhT8-BxSzW6sxRJP7Qw2j1JiF-w82cLtlUxdPFLmFoPN4hlorYjHEGFMNEfvMFVQulY61yFVynu/s1600/FaceTime-1-1.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="320" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjPAc1MMJTx_hs6cfx9RMilz9uSCxCFIsoDpWKFgXXObACcgssJMR6CzK8vmHhT8-BxSzW6sxRJP7Qw2j1JiF-w82cLtlUxdPFLmFoPN4hlorYjHEGFMNEfvMFVQulY61yFVynu/s320/FaceTime-1-1.jpg" width="205" /></a></div><div class="separator" style="clear: both; text-align: left;"><br />
</div><div class="separator" style="clear: both; text-align: left;"><br />
</div><div class="separator" style="clear: both; text-align: left;"><br />
</div><br />
<hr /><i>Please leave comments below.</i>Joel Eslerhttp://www.blogger.com/profile/05018134738510159518noreply@blogger.com2tag:blogger.com,1999:blog-10259481.post-33755634789000780722012-07-01T17:41:00.000-05:002012-07-01T17:41:24.002-05:00@Sparrow, I have a feature requestIn the Gmail interface, if you are in the middle of a "conversation" there is a black arrow to the message you are currently working with. That way you can put the arrow on a specific email and then hit enter to expand that message. The current Sparrow interface doesn't have the black arrow to see where you are in the conversation. <br />
<br />
That being said, if you are in the middle of a thread (where there are new messages appended to an already thick stack of messages in a conversation that is collapsed when you reopen it), the black arrow should be by default placed on the new (non collapsed message), as Gmail does. <br />
<br />
This is all for consistency in between the two platforms, and the need for the keyboard shortcuts (the best feature of Sparrow IMO) to function exactly the same as Gmail's.<br />
<br />
<hr /><i>Please leave comments below.</i>Joel Eslerhttp://www.blogger.com/profile/05018134738510159518noreply@blogger.com0tag:blogger.com,1999:blog-10259481.post-25199790944632226022012-05-09T16:14:00.001-05:002012-05-09T16:14:12.866-05:00Apple Hardens Security with Mac OS X 10.7.4 and Safari 5.1.7<a href="http://tidbits.com/article/12994">TidBITS Safe Computing: Apple Hardens Security with Mac OS X 10.7.4 and Safari 5.1.7</a>:<br />
<br />
What a fantastic idea.<br />
<br />
From the article:<br />
<br />
<br />
<blockquote class="tr_bq">Safari will now check the version of Flash you are running and disable it if it is not capable of updating itself to a current version. Flash versions 10.1.102.64 (yes, that’s a version number, not an IP address) and older don’t include the capability to update themselves to new releases, requiring users to update manually. Newer versions will self-update as Adobe releases fixes, which minimizes the chances a user will be exposed to Flash-related security issues.</blockquote><br />
It also fixes this error:<br />
<br />
<blockquote class="tr_bq"><span class="s1"><a href="http://support.apple.com/kb/HT5167">Mac OS X 10.7.4</a></span> fixes a <a href="http://www.macworld.com/article/1166701/security_error_in_os_x_10_7_3_exposes_passwords_for_legacy_filevault_users.html"><span class="s1">security error introduced in 10.7.3</span></a> that exposed a user’s password if they upgraded to Lion while leaving the legacy version of FileVault enabled. The flaw was due to a developer leaving debugging code enabled, which logged the user’s password in plain text. This problem affected only the older version of FileVault that encrypted a user’s home directory, as opposed to the FileVault 2 feature enabled in Lion that encrypts the entire disk. To be exposed, you would have had to upgrade a legacy FileVault system to Lion and keep the older FileVault in place.<br />
Although this extremely serious bug essentially negated any password security on affected systems, relatively few users were likely exposed. </blockquote>Joel Eslerhttp://www.blogger.com/profile/05018134738510159518noreply@blogger.com0tag:blogger.com,1999:blog-10259481.post-38986633667948642002012-05-04T09:00:00.000-05:002012-05-04T09:00:33.789-05:00I believe this pcap to be bad.<code><br />
Alerts (2.9.2.2, dump-1.pcap)<br />
1:18275:9 FILE-IDENTIFY HyperText Markup Language file download request Alerts: 1<br />
1:16425:15 FILE-IDENTIFY Portable Executable binary file download request Alerts: 3<br />
1:21860:1 SPECIFIC-THREATS Phoenix exploit kit post-compromise behavior Alerts: 4<br />
1:21042:4 BLACKLIST URI possible Blackhole post-compromise download attempt - .php?f= Alerts: 1<br />
1:21492:12 SPECIFIC-THREATS Blackhole landing page with specific structure - prototype catch Alerts: 3<br />
1:21347:3 BLACKLIST URI possible Blackhole URL - .php?page= Alerts: 1<br />
1:13245:2 BACKDOOR troya 1.4 runtime detection - init connection Alerts: 2<br />
1:21646:6 SPECIFIC-THREATS Blackhole landing page with specific structure - prototype catch Alerts: 2<br />
1:11192:12 FILE-IDENTIFY download of executable content Alerts: 2<br />
120:8:1 (http_inspect) INVALID CONTENT-LENGTH OR CHUNK SIZE Alerts: 1<br />
1:20494:6 FILE-IDENTIFY PDF file magic detected Alerts: 1<br />
1:21583:4 FILE-PDF Possible malicious pdf detection - qwe123 Alerts: 1<br />
1:21556:3 POLICY-OTHER Microsoft Windows 98 User-Agent string Alerts: 4<br />
1:648:12 SHELLCODE x86 NOOP Alerts: 3<br />
1:21548:1 BOTNET-CNC Cutwail landing page connection attempt Alerts: 1<br />
1:15306:16 FILE-IDENTIFY Portable Executable binary file magic detected Alerts: 2<br />
1:21418:1 BOTNET-CNC Trojan.FareIt outbound connection Alerts: 1<br />
1:22041:2 SPECIFIC-THREATS Blackhole landing redirection page Alerts: 1<br />
</code><br />
<br />
I could be wrong. Don't think I am.<br />
<br />
<hr /><i>Please leave comments below.</i>Joel Eslerhttp://www.blogger.com/profile/05018134738510159518noreply@blogger.com0