I suppose I take back what I said. When you explained it earlier, I figured you meant the index changed because the icons shift around. But it seems you meant that the cancel_maintained array index was not synced with the maintained window at all. Since the command is not synced with the interface, while I can find the name in the interface and use the icon index, I cannot come up with the mysterious index number that the command uses.
|