So I am trying to redo how my novation launchpad works using pure data and I want to be able to switch between different 'applications' i created by turning them on and off. I attached a slimmed down project of the problematic portion. I dont know how to continue from here so it turns the toggles off after it switches to another page.
The 2 bangs at the top move the radio from one to the next page. The page selected outputs a bang to turn the toggle on but I dont know how to have it turn only that one off when another page is selected. I am basically attempting to make an 'If...Then' statement. If Page_1 is selected, all other pages are off. Any help is appreciated
http://www.pdpatchrepo.info/hurleur/Pure_Data_page_changer.pd