I went through the forum and didn't found yet any topic concerning my need.
My company users use a commercial application that I want to be run by an autoit script, because of some display setting that need to be done before running the app.
So I wrote a script that runs this application, this way:
Run ("cmd /C set USER_HOME="& $UserHome &"& .\prog.exe ) WInWaitClose ( "Program Name" )
I would like to lock the size of the application window, so I tried the following:
Opt("GUIResizeMode", 768); no resize Opt("GUIEventOptions",0)
without any success.
And also this:
$spHandle=WinGetHandle ( "Program Name") GUICtrlSetResizing($spHandle, $GUI_DOCKSIZE)
But, as far as I understood, all of theese apply to created GUI objects, not to external windows.
Any idea on how to do that?
Thanks a lot for your help
Edited by sbonacina, 23 June 2009 - 04:14 PM.