Cycle through windows of the same application using wmcrtl

view story

http://stackoverflow.com – I am configuring xbindkeys to change window focus using shortcuts. For example, I managed to create a shortcut to focus on a an application window, let's say a terminator window: wmctrl -xa terminator Unfortunately it focuses always at the same terminator window, preventing me to cycle through the terminator windows. Could you suggest me a command to focus on a terminator window and, if pressed again, will cycle through all the terminator windows, please? (HowTos)