The alert script was fine I just couldn't change the ppi in the end. It basically didn't do anything.
Note that Uwe's Javascript and my AppleScript both change the way InDesign scales the window back to pre CS6—so it might seem like nothing is happening, but before CS6 the 100% view was a "pixel perfect" 1:1 ratio and not the current print size view. The scripts don't directly fix the Zoom double-click problem introduced with CC 2014, but they do set the 100% view to the old 1:1 display.
Also the script in your blog probably gets you very close but it might not be an exact 1:1. In CS6 after double-clicking the Zoom tool I can run the script below to get my exact 27" iMac monitor res, which is 108.999996828282 and means 66.055047793651 for the 1:1 display scale
tell application "Adobe InDesign CS6"
set currentzoom to zoom percentage of active window
set imacres to (72 / currentzoom) * 100
end tell