Skip to content

[Feature] Improve "Rescript Message" for methods where the VI name has changed. #142

@niACS

Description

@niACS

Discussed in #136

Originally posted by qalldredge August 14, 2025

Summary / Description

If the method that is wrapped in the Do.vi has a different name than the message, rescript the message to the new name changing: the message class name, the send VI name, folder location on disk, and icons.

Motivation / Use Case

I had a customer change the desired name of a field in the UI. Although I could have just changed it in the UI and not the underlying code, it was a different enough change that it would be confusing for anyone (including myself in 6 months) inheriting the maintenance of the code. This caused methods and messages needing to be renamed.

Proposed Solution / Feature Details

Fix the "Rescript Message" to take into account the change in the name of the method in it's Do.vi and base everything off that. Also, cleanup orphaned folders the old message was in if empty after moving the message class.

Alternatives / Workarounds (optional)

Painful renaming and editing of icons.

Possible Implementation (optional)

No response

Additional Context (optional)

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions