assigning keyboard to mouse clicks not working only in cubase

It is hard for me to use mouse clicks because of hand issues, so I use keyboard buttons to emulate clicks. in every software and other pc use it works great. Just not in cubase. I tried both neatmouse and autohotkeys. in autohotkeys I used the script:
f9::lbutton
f10::rbutton
I also tried to switch f9 and f10 to num buttens. noting worked in cubase. I use cubase 6.
any other software or option to do this?