# Perform Action: Terminal/Applescript examples?

**URL:** <https://forum.bome.com/t/perform-action-terminal-applescript-examples/5519>\
**Category:** Bome Products\
**Created:** [September 26, 2023, 11:26pm UTC](https://forum.bome.com/t/perform-action-terminal-applescript-examples/5519 "2023-09-26T23:26:24Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![jordikt](https://forum.bome.com/user_avatar/forum.bome.com/jordikt/32/2878_2.png) [@jordikt](https://forum.bome.com/u/jordikt)\
**Post date:** [September 26, 2023, 11:26pm UTC](https://forum.bome.com/t/perform-action-terminal-applescript-examples/5519/1 "2023-09-26T23:26:24Z")

</div>

@FlorianBome

How can I trigger Perform actions using the command line from Applescript or Terminal?

The command **/triggerPerform ‘perform name’** is always giving error messages.

Can you post some example, please?

Thanks!

---

<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 27, 2023, 3:19pm UTC](https://forum.bome.com/t/perform-action-terminal-applescript-examples/5519/6 "2023-09-27T15:19:11Z")

</div>

Hi,

Triggering with AppleScript is not currently supported.

Here is an example using Terminal:

```auto
open -n -a "Bome MIDI Translator Pro" --args -triggerPerform "Test,1,2,3"

```

or

```auto
"/Applications/Bome MIDI Translator Pro.app/Contents/MacOS/MIDITranslatorPro" -triggerPerform "Test,1,2,3"

```

Here is the test project I used.

[perform-test.bmtp](https://forum.bome.com/uploads/short-url/famzFwkOmzHKzd9vepUlhgVA1Vz.bmtp) (1.3 KB)

Steve Caldwell  
Bome Customer Care

* * *
_Also available for paid consulting services: bome@sniz.biz_

---

<div class="post-metadata">

**Author:** ![jordikt](https://forum.bome.com/user_avatar/forum.bome.com/jordikt/32/2878_2.png) [@jordikt](https://forum.bome.com/u/jordikt)\
**Post date:** [September 28, 2023, 12:56am UTC](https://forum.bome.com/t/perform-action-terminal-applescript-examples/5519/7 "2023-09-28T00:56:53Z")

</div>

Thanks a lot Steve !!

I have post a tutorial for trigger Perform and Timers using Terminal and Applescript. I think it will be useful for other users.

> [@Tutorial: trigger Perform and Timer actions using Terminal and AppleScript](https://forum.bome.com/t/tutorial-trigger-perform-and-timer-actions-using-terminal-and-applescript/5525):
>
> First of all, Thanks to @SteveC for helping me with command line in Terminal. I will use ‘Z Perform Action 1’ as the Incoming Perform name and ‘Z Timer’ as the Incoming Timer name for the examples of this post. For sending parameters to the Incoming Perform action, you must add values or variables separated by commas after the name. As example, “Z Perform Action 1,8,gm” will trigger ‘Z Perform Action 1’ with 2 parameters (8 and the value of the variable gm). TERMINAL You can trigger Perform…

Thanks again!!!

---

<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 28, 2023, 1:01am UTC](https://forum.bome.com/t/perform-action-terminal-applescript-examples/5519/8 "2023-09-28T01:01:18Z")

</div>

Awesome. Thanks!

Steve Caldwell  
Bome Customer Care

* * *
_Also available for paid consulting services: bome@sniz.biz_
