LK Script - deleting and renaming SAM GUI cases

  • kaiyer
  • Topic Author
More
17 Oct 2020 17:08 #8878 by kaiyer
Let us say we have "case 1" and "case 2" as two cases in SAM.
I can make "case 1" as the active case with the following code snippet.
Code:
active_case("case 1");
How do I delete this active case programatically?
Also how do I rename the active_case programatically?
I want to rename this case as "case 1 - renamed".

Thanks for your help.

Please Log in or Create an account to join the conversation.

  • pgilman
More
19 Oct 2020 14:53 #8886 by pgilman
Hello,

It is not possible to delete or rename a case from an LK script. The available functions are:

create_case() to create a new case.

duplicate_case() to make a copy of the active case.

active_case() to set or get the active case.

list_cases() to get a list of cases in the file.

Best regards,
Paul.

Please Log in or Create an account to join the conversation.

Moderators: pgilman
Powered by Kunena Forum