willichan Posted May 19, 2008 Share Posted May 19, 2008 An application I use has a very simplistic addon module interface. It looks for a window class with the same name as the module executable (including the .exe), and sends windows messages to it. I would like to write a module using AutoIT, but I cannot figure out how to set the window class for the compiled script. It this even possible? Thanks to anyone that can help. My UDFs: Barcode Libraries, Automate creation of any type of project folder, File Locking with Cooperative Semaphores, Inline binary files, Continue script after reboot, WinWaitMulti, Name Aggregator, Enigma, CornedBeef Hash Link to comment Share on other sites More sharing options...
ACS Posted May 20, 2008 Share Posted May 20, 2008 I don't think you can change the class of a window at run-time but you CAN set the class name.Instead of using AutoIt's built-in function GUICreate you could use the UDF _WinAPI_CreateWindowEx which allows you to set, among other things, the class of the main GUI.Check out the MSDN entry for detailed information:http://msdn.microsoft.com/en-us/library/ms632680(VS.85).aspx Link to comment Share on other sites More sharing options...
willichan Posted May 20, 2008 Author Share Posted May 20, 2008 Check out the MSDN entry for detailed information:http://msdn.microsoft.com/en-us/library/ms632680(VS.85).aspxThanks. I'll start on my reading. My UDFs: Barcode Libraries, Automate creation of any type of project folder, File Locking with Cooperative Semaphores, Inline binary files, Continue script after reboot, WinWaitMulti, Name Aggregator, Enigma, CornedBeef Hash 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