Trying to make a Exposé F11 function

hi i have worked a bit on this …
i have just one question:
i have written an functions which moves the windows like expose does
and another one which moves the windows back. Now i want that

DestroyFunc ExposeFunc
AddToFunc ExposeFunc
+I All (AcceptsFocus,CurrentPage,!Iconic,!Shaded) Expose
## Here something is missing ...
+I All (AcceptsFocus,CurrentPage,!Iconic,!Shaded) DeExpose	 

to move first all windows then wait for the user to choose an window (which will be focused ) and afterwards move all windows back.
How can i do this ??