Mapping Mouse Keys

Is there a way to map the "ok" or confirm function to a mouse button? I want to ba able to click ok or confirm a dialog box entry with a mouse button. is ther a way to do this?SolidworksUser Interface