# Outgoing Applescript errors

**URL:** <https://forum.bome.com/t/outgoing-applescript-errors/978>\
**Category:** Bome Products\
**Created:** [August 28, 2018, 4:03pm UTC](https://forum.bome.com/t/outgoing-applescript-errors/978 "2018-08-28T16:03:15Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![hellogav](https://forum.bome.com/letter_avatar_proxy/v4/letter/h/97f17d/32.png) [@hellogav](https://forum.bome.com/u/hellogav)\
**Post date:** [August 28, 2018, 4:03pm UTC](https://forum.bome.com/t/outgoing-applescript-errors/978/1 "2018-08-28T16:03:15Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![hellogav](https://forum.bome.com/letter_avatar_proxy/v4/letter/h/97f17d/32.png) [@hellogav](https://forum.bome.com/u/hellogav)\
**Post date:** [August 28, 2018, 5:55pm UTC](https://forum.bome.com/t/outgoing-applescript-errors/978/2 "2018-08-28T17:55:01Z")

</div>

The project always loads with this partcular error window message before executing any commands also..

---

<div class="post-metadata">

**Author:** ![SteveC](https://forum.bome.com/user_avatar/forum.bome.com/stevec/32/8250_2.png) [@SteveC](https://forum.bome.com/u/SteveC)\
**Post date:** [August 28, 2018, 6:03pm UTC](https://forum.bome.com/t/outgoing-applescript-errors/978/3 "2018-08-28T18:03:56Z")

</div>

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](mailto:bome@sniz.biz)

&nbsp;

---

<div class="post-metadata">

**Author:** ![hellogav](https://forum.bome.com/letter_avatar_proxy/v4/letter/h/97f17d/32.png) [@hellogav](https://forum.bome.com/u/hellogav)\
**Post date:** [August 28, 2018, 6:06pm UTC](https://forum.bome.com/t/outgoing-applescript-errors/978/4 "2018-08-28T18:06:55Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![Mobley](https://forum.bome.com/letter_avatar_proxy/v4/letter/m/7feea3/32.png) [@Mobley](https://forum.bome.com/u/Mobley)\
**Post date:** [September 20, 2018, 5:44am UTC](https://forum.bome.com/t/outgoing-applescript-errors/978/5 "2018-09-20T05:44:26Z")

</div>

I’m having precisely the same issue. Was there ever a resolution?

---

<div class="post-metadata">

**Author:** ![SteveC](https://forum.bome.com/user_avatar/forum.bome.com/stevec/32/8250_2.png) [@SteveC](https://forum.bome.com/u/SteveC)\
**Post date:** [September 20, 2018, 6:02am UTC](https://forum.bome.com/t/outgoing-applescript-errors/978/6 "2018-09-20T06:02:10Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![SteveC](https://forum.bome.com/user_avatar/forum.bome.com/stevec/32/8250_2.png) [@SteveC](https://forum.bome.com/u/SteveC)\
**Post date:** [September 21, 2018, 4:31pm UTC](https://forum.bome.com/t/outgoing-applescript-errors/978/7 "2018-09-21T16:31:44Z")

</div>

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](mailto:bome@sniz.biz)

---

<div class="post-metadata">

**Author:** ![FlorianBome](https://forum.bome.com/user_avatar/forum.bome.com/florianbome/32/2367_2.png) [@FlorianBome](https://forum.bome.com/u/FlorianBome)\
**Post date:** [September 24, 2018, 10:55pm UTC](https://forum.bome.com/t/outgoing-applescript-errors/978/8 "2018-09-24T22:55:46Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![hellogav](https://forum.bome.com/letter_avatar_proxy/v4/letter/h/97f17d/32.png) [@hellogav](https://forum.bome.com/u/hellogav)\
**Post date:** [September 24, 2018, 11:15pm UTC](https://forum.bome.com/t/outgoing-applescript-errors/978/9 "2018-09-24T23:15:59Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![FlorianBome](https://forum.bome.com/user_avatar/forum.bome.com/florianbome/32/2367_2.png) [@FlorianBome](https://forum.bome.com/u/FlorianBome)\
**Post date:** [May 21, 2019, 2:18pm UTC](https://forum.bome.com/t/outgoing-applescript-errors/978/10 "2019-05-21T14:18:29Z")

</div>

Just a quick note: we have identified the problem, it will be resolved in the next release of Bome MIDI Translator Pro.  
Florian
