fast For Each Indexed
Iterates through the windows with their indices and performs the given action on each window.
Parameters
action
The function to be executed for each window and its index.
Iterates through the windows with their indices and performs the given action on each window.
The function to be executed for each window and its index.