Maybe you’ve seen these already, but a few example gig files that use scriptlets to automate things with a single footswitch: