417 viewsScripting

Is there any property that can be accessed in the scripting context to determine either (a) the location of mouseclick event that initiated a script or (b) the identity of the button that called the script?  I’m trying to write a generic script that will perform different actions depending on which button on a presentation canvas is clicked.

lyndseyweber Answered question August 15, 2023

Hi Keith, scripts are designed to be run from “anywhere” (script manager, menu, keyboard shortcut, canvas button, automation rule, etc.) – they are agnostic, so unfortunately there isn’t a property like you have described. So, buttons that do different things will need different scripts.


lyndseyweber Answered question August 15, 2023

Latest Questions

Wrap text in scripted buttons? 1 Answer | 0 Votes
Claculate product 2 Answers | 0 Votes
Sum by group in the same matrix 4 Answers | 0 Votes
Constrain input – varchar 1 Answer | 0 Votes