Quantcast
Channel: Pimoroni Buccaneers - Latest posts
Viewing all articles
Browse latest Browse all 54358

Menu order confuses path

$
0
0

Cool. That fixed the ordering. Thanks for the fast response.

Now I've got an issue with menu functions firing on script launch instead of menu item choice.

Added this function to simply print out the intended menu item value, as a test.

def channel( ch ):
print ch
return

menu.add_item('Blue Order/Main patch/E-mu Modular/Fat square', channel("45"))
menu.add_item('Blue Order/Main patch/E-mu Modular/Fat Saw', channel("56"))

When I run the script, those values print out immediately instead of when they are chosen in the menu. Also, actually choosing them in the menu has no output. Any ideas?


Viewing all articles
Browse latest Browse all 54358

Trending Articles