doAction

Call into DfW and do a menu call like it is done using buttons and Windows menus. Some action needs spesialized input parameters an can not be called directly. In these cases use the DEOS functions for it instead by runPrismFunction.

Paramters

- parameter as a string (can be a json string in some cases)

- action number

Return value is whatever the action returns