2023 Jun 11, 01:32 PM
You are on the right track.
The program data in Python is a dict.
Once you have the index of the program that you want to disable/enable you just need to set the "enabled" item to 0 for disabled or 1 for enabled.
The index of a program in the dict is the program number -1.
For example to disable program 2 you would use something like:
The program data in Python is a dict.
Once you have the index of the program that you want to disable/enable you just need to set the "enabled" item to 0 for disabled or 1 for enabled.
The index of a program in the dict is the program number -1.
For example to disable program 2 you would use something like:
Code:
gv.pd[1]["enabled"] = 0
<p><br></p>