Script to unlock keyguard?

view story

http://forum.xda-developers.com – Does anyone have a script or know what commands need to be issued to unlock the keyguard for HTC programmatically. i.e. the sort of thing that gets done when "home to unlock" or "back to unlock" are implemented in ROMs. I'm trying to set up a Tasker task to unlock the screen as the various keyguard unlock settings don't play well with HTC Sense. I know I can simulate a keypress of "back" but this then sometimes executes the back button when I don't want it to so I would rather just execute the Linux command or a javascript or SL4 script which achieves the sam (HowTos)