KSum Posted April 24, 2015 Share Posted April 24, 2015 I am trying to write a script that times the steps to start a program, enter the file to open, and then be ready for user input. I have this happening for a couple applications already, but need it for AutoCAD and am having a problem knowing when the program is ready for user input. There are a couple messages that change in the window, but none are showing in the Window Info values as either visible or hidden. I have looked at the COM objects a little, but get lost trying to figure out how to know when the file is fully opened. AutoCAD just doesn't show up friendly to me in the OLE/COM Viewer. Probably due to my never having dealt with it before. Any suggestions on how I can determine the program and file is fully opened in this case? Link to comment Share on other sites More sharing options...
meows Posted April 27, 2015 Share Posted April 27, 2015 (edited) This is the breakdown of a AU3 made to a EXE start procedure1 C:\AutoIt3\Code\SetupScreen6.exe exe 2 2 0 0 0 0 0 0x000000f0 0x00000000 2 C:\Windows\Globalization\Sorting\sortdefault.nls nls 1 1 0 0 0 0 0 0x000000f4 0x00000000 3 C:\AutoIt3\Code\Skins\0Rosewd1\0.bmp bmp 2 2 0 2 0 54,828 0 0x0000011c 0x00000000 4 C:\Windows\system32\rsaenh.dll dll 1 1 0 0 0 0 0 0x00000114 0x00000000 5 C:\Users\xxxxxxxxx\AppData\Local\Temp\~DF6717C65326C5857E.TMP TMP 1 0 0 0 0 0 0 0x00000110 0x00000000 6 C:\AutoIt3\Code\Skins\0Rosewd1\2.bmp bmp 2 2 0 2 0 54,828 0 0x0000011c 0x00000000 7 C:\AutoIt3\Code\Skins\0Rosewd1\5.bmp bmp 2 2 0 2 0 54,828 0 0x0000011c 0x00000000 8 C:\AutoIt3\Code\Skins\0Rosewd1\7.bmp bmp 2 2 0 2 0 54,828 0 0x0000011c 0x00000000 9 C:\AutoIt3\Code\Skins\0Rosewd1\1.bmp bmp 3 3 0 3 0 82,242 0 0x0000011c 0x00000000 10 C:\AutoIt3\Code\Skins\0Rosewd1\6.bmp bmp 3 3 0 3 0 82,242 0 0x0000011c 0x00000000 11 C:\AutoIt3\Code\Skins\0Rosewd1\3.bmp bmp 1 1 0 1 0 27,414 0 0x0000011c 0x00000000 12 C:\AutoIt3\Code\Skins\0Rosewd1\4.bmp bmp 1 1 0 1 0 27,414 0 0x0000011c 0x00000000 13 C:\Windows\Fonts\staticcache.dat dat 1 0 0 1 0 60 0 0x0000011c 0x00000000The last thing that runs is Font Cache, hope it helps Edited April 27, 2015 by meows because I wanted to see what it did Link to comment Share on other sites More sharing options...
KSum Posted April 28, 2015 Author Share Posted April 28, 2015 Sorry. I am not looking to determine when the AutoIt created executable is done loading, but when a program launched by AutoIt (in this case AutoCAD) is fully loaded and accepting user input when the Window and Visible as well as Hidden text do not change. The only real indication in this case is that the mouse wheel has stopped and the graphics are fully displayed. I believe the COM messages are helpful but trying to figure out how to find them for the application as I am not finding them listed in the OLE/COM Viewer from the Windows SDK. Karl Link to comment Share on other sites More sharing options...
meows Posted April 29, 2015 Share Posted April 29, 2015 Sorry. I am not looking to determine when the AutoIt created executable is done loading, but when a program launched by AutoIt (in this case AutoCAD) is fully loaded and accepting user input when the Window and Visible as well as Hidden text do not change. The only real indication in this case is that the mouse wheel has stopped and the graphics are fully displayed. I believe the COM messages are helpful but trying to figure out how to find them for the application as I am not finding them listed in the OLE/COM Viewer from the Windows SDK. KarlSo sorry you are asking in the wrong place then. I would have to have AutoCAD to track it's loading sequence, So I would guess you need the AutoCAD forums. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now