Hi Dojo,
we have a shape, that has the 'Execute' shape data defined to run a script from a visual overview.
Excute:
Script:{scriptname}|AV Switch=AV Switch PGM B|Input Selection=#TRE Switch - Input Selection;Slot ID=[Property:AVSlotHD]||Change AV Switch Input|NoConfirmation,CloseWhenFinished
The script requires one parameter as user input to run. We typically use the right-click menu with predefined values from the script to select the input value and run the script in the background with the options 'NoConfirmation,CloseWhenFinished'.
Out customer would like to avoid that an operator can open the normal automation script run dialogue when the shape is clicked with the left mouse button. Is there a method to block a left-click action, but still allow the right-click action on the shape?
Many thanks and best regards
André
Hi Andre,
As far as I know this is not possible. A possible workaround is using button states. Using button states, you can disable a button until certain condition is met (see state 'disabled'). You could display a shape where a user can select the input value for the script. As long as the the selection is not made, the button will be disabled.
Hope it helps.