Search the Community
Showing results for tags 'applescript'.
Hello, I was wondering if there was a good way to trigger a Python script in VW using AppleScript? There are some scripts that can be "installed"? if im not mistaken. Is it possible to have VW run that command when the AppleScript ask it too? I got a bit interested in this kind of workflow when Pat Standford mentioned it. If the answer is yes, then my follow up question would be: do I need to use an installation script ie. install.py to add the functionality? Thanks
I am using Applescript to check if menu item is enabled, e.g. is Obj Info palette checked or unchecked. I can then pass that value to an if-then step. This is what I have tried running: tell application "System Events" tell process "Vectorworks 2017" get value of menu item "Object Info" of menu item "Palettes" of menu "Window" end tell end tell When I run this I am getting error: "System Events got an error: Can’t get menu "Window" of process "Vectorworks 2017". The main menu item is "Window" so anyone know what I am doing wrong? See attached pics Thanks Michael