For that article, I assume that you are already familiar with WebLogic Scripting Tool.
If not, you may have a look here, you will find a description of this project and some useful links (about using WLST offline and online).
Well, here's a little script I wrote for a client to be able to perform threaddumps automatically, without any manual input such as a 'kill -3" or "CTRL+Pause".
Here we go :
serverName = 'AdminServer'
counter = 0
sleepTime = 5000
for counter in range(10):
fileName = 'dump' + serverName + '_' + (java.util.Calendar.getInstance().getTimeInMillis()).toString() + '.dmp'
threadDump('true', fileName, serverName)
Just save the code above in a file, let's say "getThreadDumps.py" and then launch it like :java weblogic.WLST getThreadDumps.py
or while online : execfile('getThreadDump.py')