moving track to folder-->group macro possible?

Hey.

I want to have the option to take a track that was made by “dropping”, move it to a folder, SFX for example, and when the track get into the folder to
its get routed to a certain group.

Can I do that?