@SNAPSHOT[DESKTOP | window[,n]] : Save the desktop or a specific window to the clipboard as a BMP. The window argument can be either DESKTOP or a window title (which can include wildcards).

 

If the window argument is DESKTOP, the optional second argument specifies either which monitor (1 - n) whose desktop you want to save.

 

If the window argument is a window title, the optional second argument specifies whether you want the client area (0, the default) or the entire window (1) to be saved.

 

If the window argument begins with a =, it is assumed to be a PID instead of a window title.

 

@SNAPSHOT returns 0 if successful.