AppleScript to close "About this Mac" window How could I use AppleScript code to close the window named "About this Mac" (A propos de ce Mac in French). I need an AppleScript for this because I use Dragon Dictate 3 commands. I am handicapped and I don't manage to use any keyboard or mouse. Only Voice and edited commands.

I tried Command+W shortcut but it didn't work for this window. It works for all other Finder windows except this one.
The window is shown by the loginwindow process, and you can close it by clicking the close button:

tell application "System Events" to tell process "loginwindow"
    click button 1 of window 1 -- or window "About This Mac"
end tell


close window 1 didn't work.