main_window

main_window()

Obtain a reference of the frontmost window of the application. The window is not always related with a file.

Result

reference : A value of the window class of application "System Events".