Quick question regarding outgoing Applescript translators in MT Pro. I am often getting the error message in the event monitor: “Apple Script Action: ignored tag: Script”
- this is whether the script executes or not.
This could be for any script that I have copy / pasted from Script Editor or Script Debugger… even simple one’s such as:
tell application “Pro Tools” to activate tell application “System Events” tell process “Pro Tools” to click button “Don’t Save” of the front window end tell
Are there any best practices when using the Applescipt in MT, system preference settings or any know bugs?
I’m current runnng version 1.8.3 on OS X 10.12.6
Hi, do you have anything in the Global AppleScript section of your project? If you do, that would be the first place I would look. Remember Global AppleScript is a place to put handlers but if there is code outside of a handler, it could be executed at arbitrary times.
See page 65 of the MT Pro manual for more information.
If you can post a problematic project file. I can take a look as well.
Steve Caldwell
Bome Q and A Moderator and
Independent Bome Consultant/Specialist bome@sniz.biz
Hi Mobley and Gav,
I have been able to reproduce the problem on MT Pro 1.3 and have opened a bug against it. Fortunately it is more of just an aggravation and the scripts (or at least the ones I tested) work without any other problems.
Steve Caldwell
Bome Q and A Moderator and
Independent Bome Consultant/Specialist bome@sniz.biz
Yes – it doesn’t seem to have any affect on the outgoing Applescript and doesn’t always show the error. It does however show every time MTP opens with any project containing Applescript.
The new issue I have now is a particular MIDI to Applescript translator used to control the ‘space bar’ keystroke action in Pro Tools – being delayed by anything up to 1 second. This is causing issues as 2 Pro Tools systems are supposed to start at the same time and free-roll. The B-machine (which is identical in hardware, OS X / software, driver installations, peripherals and system preferences) reacts istantly – but the A machine stalls. I’m trying to narrow it down – so will report back with MTP project and system log – once I’m back on that system.
p.s: the reason I need to control the space bar as apposed to MMC play / stop (which I do with one controller via MIDI) – is that a remote single button footswitch is also used that needs to toggle the space bar command – and I don’t want to use MIDI to keystroke as Pro Tools isn’t always the front application.