These macros are a nice workaround to Keyboard Maestros inability to interact with spaces on Mac OS X. They are pretty simple but very useful if you use multiple desktops, the one thing you must do for these to work, however, is in System Preferences you must have the Move Left a Space and Move Right a Space shortcuts enabled in the Keyboard preferences panel.
So whatever shortcut you put in there you will also use in the macro, as you can see below.
Note: the pause after that action is important, and .3 seconds is the minimum I could get in order for the window to actually let go, if the pause isn't there the window will continue to move spaces as you move.
You can also use this macro to move a window to a particular desktop, you just have to adjust the shortcuts, I set it up so that in the keyboard preferences the keyboard shortcut to move to a particular desktop is kind of awkward because I don't actually press it, Keyboard Maestro does it for me in the macro.
Hope you like!