Use this skinning macro:

/script CloseLoot()
/cast Skinning

[edit] Oh, I just realizes that you want them closed on all the clients ... that won't work with this.
What you could do is make a macro that does only "CloseLoot()" and have a key broadcasted so all the clients call this macro at the same time. Then you call the script macro with another key press.