Hit command via hyperlink

I'm searching my ass off again.. I'd like to run a command via a hyperlink instead of via a button. Something like [[click here:runcommand()]] .

I know how to run a command via a button: ${widgets.commandButton(":memo: New note", "NoteFromTemplate")}, but is this also possible via a url (so I don't get that button look)