If tasker can't do it, then I'll just have to write my own app or something. It doesn't look particularly difficult, though I know next to nothing about java.

Cheers