#Region ;**** Directives created by AutoIt3Wrapper_GUI ****
#AutoIt3Wrapper_Outfile_x64=GetWindowspos.exe
#EndRegion ;**** Directives created by AutoIt3Wrapper_GUI ****
#include <AutoItConstants.au3>
#include <WindowsConstants.au3>
#include <Array.au3>
#include <Misc.au3>
#include <MsgBoxConstants.au3>
#include <WinAPI.au3>

_WinAPI_AttachConsole()
$hConsole = _WinAPI_GetStdHandle(1)
_WinAPI_WriteConsole($hConsole, @CRLF & "Please be patient until preparations are done...!" & @CRLF & @CRLF)


$sName = InputBox("Eingabe Fenstername", "Bitte gib den Fenstername ein:")

 Local $aPos = WinGetPos($sName)
 _ArrayDisplay($apos, $sName)