Hi all, Below is my script,
Pls advise me if any wrong on that....File exit in location but the return -1.
$line = FileReadLine($file)
Local $aArray = _FileListToArrayRec($serverpath, "*|*.txt", $FLTAR_FILES, $FLTAR_RECUR, $FLTAR_SORT, $FLTAR_NOPATH)
If @error Then
MsgBox($MB_SYSTEMMODAL, "Ooops!", "No files found")
;_ArrayDisplay($aArray, "Sorted tree")
Local $hSearch = FileFindFirstFile($line)
I'm trying ot use controlClick to click on button. So I'm using the Window Info Finder tool. But I noticed that the control ID in windowInfo changes each time I restart the app.
Am I doing this wrong.
I am trying to use the ControlClick in a "save as"-window to select the path of where to save the document.
I found out that when in press the icon in front of the path, i select the path. So I am trying to press that button (i have attached a print screen of this window).
While trying to figure out how i had to use the ControlClick, it said somewhere that i could us Au3Info to find out what title,... i should use with the ControlClick.
The result of the Au3Info I have attached aswel.
The ControlClick that i tried are these: (and none of these even move the mouse)
ControlClick("[CLASS:ToolbarWindow32; INSTANCE:4]", "", "", "Left" ,1 ,10,10)
ControlClick("[CLASS:ToolbarWindow32; INSTANCE:4]", "", "1001", "Left" ,1 ,10,10)
ControlClick("[CLASS:ToolbarWindow32]", "", "", "Left" ,1 ,10,10)
ControlClick("Save project as", "", "", "Left" ,1 ,10,10)
I don't know what I am doing wrong.
Should I use a controlID? is my windowtitle wrong?
Can anyone help me?
Thanks in advance,