hellogav
2018-08-28 16:03:15
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
Thanks - Gav.
hellogav
2018-08-28 17:55:01
comment
The project always loads with this partcular error window message before executing any commands also..
Steve-Bome Forum Moderator
2018-08-28 18:03:56
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
hellogav
2018-08-28 18:06:55
comment
Hi Steve
Nothing in Global – just individual Translators. I’ll get some log errors from the Apple Console and also post an example soon.
Thanks – Gav.
Mobley
2018-09-20 05:44:26
comment
I’m having precisely the same issue. Was there ever a resolution?
Steve-Bome Forum Moderator
2018-09-20 06:02:10
comment
Hi Mobley, please post or send me your project file and let me know the which translator and outgoing AppleScript action you are having problems with.
Have you tried executing the script from within the Script Editor? Is it running there OK?
I noticed in the example above that Gav posted, that he is missing some end tell statements.
Steve-Bome Forum Moderator
2018-09-21 16:31:44
comment
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
Florian Bome
2018-09-24 22:55:46
comment
If I understand correctly, it shows the error message, but then the AppleScript action still works? In any case, we’ll fix this in the next version.
hellogav
2018-09-24 23:15:59
comment
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.
Florian Bome
2019-05-21 14:18:29
Just a quick note: we have identified the problem, it will be resolved in the next release of Bome MIDI Translator Pro.
Florian