Can a button cycle through playlists or just presets?

Is there an example available for a button to cycle through playlists?
I have a button that when I long press, would like to cycle through playlists 100-105. I created a preset with API Command: P1=100&P2=105&PL=~ and assigned it in the macros section. When I select the preset or press the button, it selects Playlist 100, but when press again will not cycle to Playlist 101. It just keeps selecting Playlist 100.