Please note that there is only wallet mining for the time being:
Here's how to mine using your wallet.
(1) Start QT-wallet
(2) Switch to debug console.
(3) getaccountaddress 0
(4) generatetoaddress 1
(5) Automate via batch script using straksd.exe, using straks-cli.exe as the client.
It starts but tafter 15sec gives this and stops
08:19:50

generatetoaddress 1 SPHK26uoH7Y4VdVZtEogCMBK7QLJgt3if7
08:20:11

[
]
08:21:51

generatetoaddress 1 SPHK26uoH7Y4VdVZtEogCMBK7QLJgt3if7
08:22:12

[
]