keystroke with applescript using shell object (64bit)
I’m trying to send ableton a keystroke in my max for live device.
I have the message object: [osascript -e 'tell application \"System Events\" to key code 126'] into the [shell] object. The keystroke is successfully triggered when the Max patcher is opened, but when I close it and trigger the message object within Live using a keymapped live.button object, it doesn’t work.
Is there any other way I can send keystrokes to Live with Max in Live 9 64bit?.