1. So it is actually about moving the folders in the FX-dialog or about scrolling through it?
Coding scrolling should be possible using Julian Sader's new extension-plugin, but moving the folders around is an entirely other thing.
It's probably better to ask the devs to finally add a new "FX-Chain"-section to the actionlist, rather than coding it with ReaScript.
2. It would require to actually get, in which Track_FX you are(which should be possible, I think) and getting, which FX are selected. And after that, saving it as an FX-chain-file.
But it would be needed to reimplement this X-chain-generation, as you can't use the code Reaper provides on his own.
I reverse-engineered the fileformat for RFXchain-files, but if someone is willing to reimplement that, dunno.
https://mespotin.uber.space/Mespotin....html#RfxChain