Jump to content

Tutorials or examples for beginners?


Guest Dan J
 Share

Recommended Posts

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

Did you try reading the manual? :idiot:

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

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. :idiot:

Thanks again,

Dan

Link to comment
Share on other sites

  • Developers

... 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 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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...