# Access to Event Macros through Scripting API

**URL:** <https://qa.fmod.com/t/access-to-event-macros-through-scripting-api/14685>\
**Category:** FMOD Studio\
**Created:** [May 16, 2019, 2:43pm UTC](https://qa.fmod.com/t/access-to-event-macros-through-scripting-api/14685 "2019-05-16T14:43:56Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![itel](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/itel/32/373_2.png) [@itel](https://qa.fmod.com/u/itel)\
**Post date:** [May 16, 2019, 2:43pm UTC](https://qa.fmod.com/t/access-to-event-macros-through-scripting-api/14685/1 "2019-05-16T14:43:56Z")

</div>

Hi!

Is it possible to access to `Event Macros` through FMOD Studio scripting api?

The closest thing that I could find by myself is `studio.window.browserCurrent().mixer.masterBus.dump()`, but seems that only `pitch` property correctly updated when I change it in studio tool. `maxInstances` and `instanceStealing` are always `65` and `0` respectevly, and there is no `Priority` property at all.

Thanks!

---

<div class="post-metadata">

**Author:** ![richard\_simms](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/richard_simms/32/261_2.png) [@richard\_simms](https://qa.fmod.com/u/richard_simms)\
**Post date:** [May 23, 2019, 5:48am UTC](https://qa.fmod.com/t/access-to-event-macros-through-scripting-api/14685/2 "2019-05-23T05:48:17Z")

</div>

Hello!

The settings you are looking for are under `automatableProperties`.

```auto
var event = studio.window.browserCurrent();
event.automatableProperties.dopplerScale = 500;

```

---

<div class="post-metadata">

**Author:** ![itel](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/itel/32/373_2.png) [@itel](https://qa.fmod.com/u/itel)\
**Post date:** [May 23, 2019, 9:36am UTC](https://qa.fmod.com/t/access-to-event-macros-through-scripting-api/14685/3 "2019-05-23T09:36:34Z")

</div>

Richard, thanks a lot!
