Musings of a Fondue

Once Tedious

Original Date: March 11, 2014

What would once have been a very tedious selection with the CTRL key literally took a minute by writing a simple code snippet (and using Chrome’s console to run it). =D!

This,
manual

Became this,
automated

The snippet selects every 25th element.

If you are keen, you may have noticed that it generates ‘25’ instead of ‘025’. That is, two digit numbers are not preceded with a zero. I manually changed these values as they only occur three times. The code could also be easily tweaked to add the zero.

Yay, programming is being useful.

Comments