What exactly does ctrl+f4? Dont remember now from desktop dosbox…in the game profile, under cd-rom section, set which cd is inserted on startup. Then you can switch between CDs from general settings or with special widget.
I think ctrl+f4 does nothing.
If you want execute multiple actions then use deadly strike/combo widget. Check deadly strike documentation here on website, there is little video guide