Guest Dan J Posted December 2, 2004 Share Posted December 2, 2004 I've been using AutoIt for a few months now, but I've only just taken the plunge with the GUI version. I've started playing around with the new features, and they look great. I was just wondering if anybody has written any tutorials or examples for the GUI version. I searched the forums and found the link to the tutorials on the wiki. Unfortunately there isn't a tutorial for the GUI yet. I think a few simple tutorials to ease newcomers into GUI scripting would be really useful. Cheers, Dan Link to comment Share on other sites More sharing options...
ezzetabi Posted December 2, 2004 Share Posted December 2, 2004 Did you try reading the manual? Start with 'GUI Reference', 'Create a GUI window' finally 'GUI Control creation'. Read carefully, looked all examples and made some script you'll should look the more advanced features. Just a thing I think it is not too clear in the helpfile. The style and exstyle option should be actived summing up all options you need, so at least at begining take the 'default list' and add or remove what you need. E.g. about common styles: The default list in help file is WS_MINIMIZEBOX | WS_GROUP | WS_CAPTION | WS_POPUP | WS_SYSMENU that in code means$Style = $WS_MINIMIZEBOX + $WS_GROUP + $WS_CAPTION + $WS_POPUP + $WS_SYSMENU GUICreate ( "title" ,width ,height ,left , top ,$Style,exStyle,parent) Just change the line in $Style for having the window you need. like $Style = $WS_MINIMIZEBOX + $WS_GROUP + $WS_CAPTION + $WS_POPUP + $WS_SYSMENU $Style = $style + $WS_EX_TOOLWINDOW for having a GUI with no taskbar item. (Of course I used 2 line for making more clear, it is unneeded) Link to comment Share on other sites More sharing options...
Guest Dan J Posted December 2, 2004 Share Posted December 2, 2004 Thanks for the reply. Of course I read the manual! I just find that tutorials are an excellent way to learn new things. I'm sure there are others who feel the same. Thanks for your notes on style, should be useful. When I've mastered the art of GUI creation, perhaps I'll try and write a tutorial myself. Thanks again, Dan Link to comment Share on other sites More sharing options...
ezzetabi Posted December 2, 2004 Share Posted December 2, 2004 ... maybe 'I' am stupid. What do you mean with 'Tutorials'? Whats wrong in the manual? Link to comment Share on other sites More sharing options...
Developers Jos Posted December 2, 2004 Developers Share Posted December 2, 2004 (edited) ... maybe 'I' am stupid. What do you mean with 'Tutorials'? Whats wrong in the manual?<{POST_SNAPBACK}>A manual in general is a reference book you use to look up commands, like a dictionary is used for looking up words.A tutorial is a "Study book" type of document that explain where to start and work out examples.... like the "XYZ For Dummies" books.The Helpfile is really a manual type of reference document. Edited December 2, 2004 by JdeB SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
ezzetabi Posted December 2, 2004 Share Posted December 2, 2004 Yes, I think I see what you mean now. THANKS. 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