XML Parsing is super easy with this AutoHotkey class

XML ParsingI’ve been using APIs for several years however I was never great at parsing the returned data.  In the below video maestrith, author of AHK Studio, walked me through using the XML class he wrote for parsing XML.  It leverages using XPath and is a life saver!

Here is the video where he walks me through using it

Parse XML with this amazing XML parsing class in AutoHotkey

And this is the file we reviewed when doing the XML parsing

 

Use AutoHotkey to push clipboard to the Internet for rapid sharing

clipboard to the InternetI work with people around the planet on a daily basis.  🙂  Being able to quickly share my code with my collaborators is super-easy with this AutoHotkey script that allows me to push my clipboard to the Internet.

Here is a short video demonstrating the script

Use AutoHotkey to push clipboard to the Internet for rapid sharing

Code showing how I push my clipboard to the Internet

 

RegEx 111) Ignore Whitespace in AutoHotkey Regular Expression

Ignore Whitespace in AutoHotkey Regular ExpressionLong Regular Expressions can be very difficult to read and revise when you come back to it later.  Using the X) option allows you to Ignore Whitespace in AutoHotkey Regular Expression and insert comments as well as spread out your RegEx over multiple lines.

Below is the example code I use to ignore the whitespace in AutoHotkey RegEx which is demonstrated in the video below.  It is a great way to make your code easier to read & maintain.  It may take a few months until you revisit your RegEx but, when you do, you’ll thank me for it!

Ignore Whitespace in AutoHotkey Regular Expression

RegEx 110- Use Option X) to ignore whitespace and have your RegEx cover multiple lines