Mouseclick
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.
Lyndsey
lyndseyweber Answered question August 15, 2023