Here are the changes for v1.0.19:
http://www.autohotkey.com/changelog/
A note about GUI windows & controls:
For this version, I just wanted to have a solid set of core features on which to build more later. I think this release -- while not as feature-rich as some might want -- is a good foundation. More options, control types, sub-commands, and other improvements will be made in upcoming versions.
Rajat's SmartGUI Creator (a great layout editor), is described and available
here.
Here are a few small demonstration scripts:
10 KB Zip File
For anyone who has been trying out the test versions of the GUI feature, here are the changes since the last test release. Note: this list does not include the non-GUI changes mentioned in the
changelog.
When the following control types use automatic width, the width is set to 15 multiplied by the current font size (except GroupBox, which uses a multiplier of 18 to provide room inside for margins): DropDownList, ComboBox, ListBox, GroupBox, and Edit.
When window is first shown, it is centered on the desktop in either or both dimensions if those dimensions were not specified. In addition, the word Center can be used to explicitly center the window for subsequent showings.
The current tray icon will be used as the GUI window's icon.
For multi-line Edit controls:
- The Submit command translates CRLF (`r`n) to LF (`n) automatically.
- If default text is to appear in an edit field, use plain LF (`n) rather than CRLF (`r`n) to start new lines.
The R (rows) option obeys a floating point value such as 2.5.
Fixed button/checkbox ignoring rapid consecutive clicks. [thanks Rajat]
Fixed checkbox auto-height when multiple lines existed as a consequence of word-wrapping.
If a width/height is specified for a picture control, the image will be scaled to fit. There is also an option for "keep aspect ratio".
Added ability to assign options to main window. Currently, the only option is +owner, which makes one window owned by another. An owned window has no taskbar button by default and is always on top of its owner when visible. An owned window is also automatically destroyed when its owner is destroyed. The +owner option must be used after its owner is created but before its own window is created by a command such as "gui add". Examples:
gui, 2:+owner1 ; Make #2 window owned by #1 window.
gui, +owner ; Make #1 window owned by script's main window.
Options:
- Include the word NoTab to prevent the tab key from navigating to a control.
- The C (color) option can be specified in an individual control to override the current font color.
- Include one of the following words to change alignment/justification: left, center, right.
- Include the word Disabled to create a disabled control.
- Include the word Hidden to create an invisible control.
- Include the word ReadOnly to make an Edit control read-only.
- Include the word Password followed immediately by the character with which to conceal the user's input for an edit control.
Removed the special gSubmit label because it doesn't seem useful.
All GUI threads now start off with their "last found window" set to the GUI window, which allows window and control commands -- such as WinMove, WinHide, WinSet, WinSetTitle, and ControlGetFocus -- to omit WinTitle and WinText when operating upon the GUI window itself.
DropDownLists, ComboBoxes, and ListBoxes always display at least one row in their list portion. In addition, for DropDownList and ComboBox, the R option now specifies the number of rows to display in the drop-list itself.
Added radio buttons.