# Playing technique script

**URL:** <https://forums.steinberg.net/t/playing-technique-script/1036085>\
**Category:** Dorico\
**Created:** [July 2, 2026, 5:57am UTC](https://forums.steinberg.net/t/playing-technique-script/1036085 "2026-07-02T05:57:40Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![rjthomson110253](https://avatars.discourse-cdn.com/v4/letter/r/f05b48/32.png) [@rjthomson110253](https://forums.steinberg.net/u/rjthomson110253)\
**Post date:** [July 2, 2026, 5:57am UTC](https://forums.steinberg.net/t/playing-technique-script/1036085/1 "2026-07-02T05:57:40Z")

</div>

I created a script to set playing technique “senza vib.” on individual instruments.

It works fine repeatedly while the project is open, but the next project I open I have to record the script all over again.

What am I doing wrong?

---

<div class="post-metadata">

**Author:** ![benwiggy](https://dub1.discourse-cdn.com/steinberg/user_avatar/forums.steinberg.net/benwiggy/32/1715_2.png) [@benwiggy](https://forums.steinberg.net/u/benwiggy)\
**Post date:** [July 2, 2026, 7:43am UTC](https://forums.steinberg.net/t/playing-technique-script/1036085/2 "2026-07-02T07:43:40Z")

</div>

When you finish recording a script, you should be prompted to save the script in the Script Plug-ins folder.

Any script there should show up in the Scripts menu. Does it not?

What does this script do that simply applying the technique doesn’t? You could give the PT a popover shortcut, to make it fewer key strokes.

---

<div class="post-metadata">

**Author:** ![rjthomson110253](https://avatars.discourse-cdn.com/v4/letter/r/f05b48/32.png) [@rjthomson110253](https://forums.steinberg.net/u/rjthomson110253)\
**Post date:** [July 18, 2026, 12:19am UTC](https://forums.steinberg.net/t/playing-technique-script/1036085/3 "2026-07-18T00:19:43Z")

</div>

Always saved as per instructional logic …

The script shows up and the cursor goes through the motions with lights flashing the various buttons pressed, but no “senza vib.” appears.

I just did a screen dump video of the script in action and slowed it right down. The script opens the techniques pallet but the doesn’t select “senza vib.”

The script works repeatedly in the one session, I suppose because “senza vib. remains selected from the previous runs, but then when the session is closed this selection is no longer active. i guess a work-around is to run the process manually once, then use the script for subsequent applications of the playing technique.

Nope … that didn’t work either. Odd.

Here is the .lua file text

local app=DoApp.DoApp()  
app:doCommand([[Window.ShowWriteModePanel?SectionedPanelType=kPlayingTechniquesPanel]])  
app:doCommand([[UI.InvokePaletteButton?PaletteIndicatorID=kPlayingTechniquePanel.pta.senzaVibratoText&PaletteSectionID=kPlayingTechniquesCommonPanel&PropertyButton=false&OpenScoreID=12&ViewContainerID=12&SetOldValue=false&Set=true&UseLocalOverride=0]])  
app:doCommand([[Window.ShowWriteModePanel?SectionedPanelType=kPlayingTechniquesPanel]])

Comparing a copy of the .lua file saved while the session is open with the file after the session is closed shows no change to the actual script text.

Regards,

RT

---

<div class="post-metadata">

**Author:** ![benwiggy](https://dub1.discourse-cdn.com/steinberg/user_avatar/forums.steinberg.net/benwiggy/32/1715_2.png) [@benwiggy](https://forums.steinberg.net/u/benwiggy)\
**Post date:** [July 18, 2026, 11:20am UTC](https://forums.steinberg.net/t/playing-technique-script/1036085/4 "2026-07-18T11:20:13Z")

</div>

The problem is that your command includes the Score ID.

> `&OpenScoreID=12`

You probably don’t want to specify the ViewContainer either. You shouldn’t need to script opening the panel, either.

If you record the Popover, rather than the palette, you get this command:

```auto
local app=DoApp.DoApp()
app:doCommand([[NoteInput.CreatePlayingTechnique?Definition=senza vibrato&UseLocalOverride=0]])

```

.

.. which is a lot more succinct, and works on any document.

---

<div class="post-metadata">

**Author:** ![rjthomson110253](https://avatars.discourse-cdn.com/v4/letter/r/f05b48/32.png) [@rjthomson110253](https://forums.steinberg.net/u/rjthomson110253)\
**Post date:** [July 19, 2026, 1:40am UTC](https://forums.steinberg.net/t/playing-technique-script/1036085/5 "2026-07-19T01:40:38Z")

</div>

Interesting. I will look into that.

Thank you,

RT

---

<div class="post-metadata">

**Author:** ![rjthomson110253](https://avatars.discourse-cdn.com/v4/letter/r/f05b48/32.png) [@rjthomson110253](https://forums.steinberg.net/u/rjthomson110253)\
**Post date:** [July 19, 2026, 9:19am UTC](https://forums.steinberg.net/t/playing-technique-script/1036085/6 "2026-07-19T09:19:00Z")

</div>

I copied and pasted your text and completed the “&UseLocalOverride=0]])

and it works BEAUTIFULLY!

Thank you.

RT
