Skip to content

Conditionals by envelope name should use LocalizeString() #25

@Phroneris

Description

@Phroneris

Hello, thank you for providing tons of cool utilities!

I tried to use X-Raym_Set selected tempo envelope points value.lua, but nothing happened despite the tempo envelope is already selected.

I took a look into the IDE and found that env_name is set to "テンポマップ" on my REAPER v6.83 with Japanese localization.
"テンポマップ" is "tempo map" in Japanese.

So,

the env_name should be compared with reaper.LocalizeString("Tempo map", "env"), or at least reaper.LocalizeString("Tempo map", "common"), instead of bare "Tempo map".

I'm afraid that the same thing would be happening on any other scripts which detect something by name.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions