v1.0.35 released: DateTime, MonthCal, and UpDown controls
2) Intuitive. Logical. Versatile. Adaptable. <
Well, || also gives a different useful place at which to break a long string of boolean clauses. I personally won't use the and and or alternatives because a line that starts with a word won't jump out to the eye as being a continuation as obviously as one that start with a symbol, but that's a matter of taste.
besides comma, wouldn't && be enough?
Hey, Rajat, what the heck are you doing chatting here? Shouldn't you be off somewhere working on the SmartGUI update that handes Calendar, DateTime and UpDown controls?! [By the way, if I haven't said it before, that is one superb program! As amazed as colleagues to whom I've shown AutoHotkey have been, SmartGUI is what usually steals the show, ... and the "GUI stealer" feature is a guaranteed standing O!! ]
i'm working on it. will try to post it soon.
Hey, Rajat, what the heck are you doing chatting here? Shouldn't you be off somewhere working on the SmartGUI update that handes Calendar, DateTime and UpDown controls?!
"Pulling your leg" is this a special english phrase.
I tried to translate it with google (into german) but got
no good translation.
@rajat: Yes, no chatting, no posting, go to work.
dumm ist nur der welcher keine Fragen hat.
Fixed "Gui +OwnDialogs" to not get turned off by "Gui Show" and other sub-commands.
Fixed ahk2exe's ignoring of last parameter when /out, /icon, and /pass were all specified. [thanks Rajat]
The following has also been clarified in the help file:
An if-statement that contains an expression is differentiated from a non-expression IF such as If FoundColor <> Blue by making the character after the word "if" an open-parenthesis. Although this is usually accomplished by enclosing the entire expression in parentheses, it can also be done with something like if (x > 0) and (y > 0). In addition, the open parenthesis may be omitted entirely if the first item after the word "if" is a function call or an operator such as "not" or "!".
Fixed Send on NT4 so that AltGr keys such as "\" in French are sent properly (broken in v1.0.35). [thanks Nemroth]
Fixed "SetCapslockState off" when the OS allows Capslock to be turned off only via the SHIFT key. [thanks Teddy]
Improved line merging: 1) A line starting with "." is automatically appended to the line above it; 2) Comments and blank lines may exist between continuation lines without affecting the merger.
Added directive #LTrim as a means to make multiple continuation sections use the LTrim setting.
I think this recent spate of breaking and fixing things is nearly over. The script loading code dates back two years and has become something much more elaborate and fragile than it used to be. It was easily broken in hard-to-detect ways by the line continuation features.
Also, the AltGr key present on some keyboards has been an ongoing source of problems because it introduces complexities and interdependencies that plague not only AutoHotkey, but other open source projects as well.
Fixed MonthCal and DateTime controls so that a g-label does not interfere with the calendar's arrow buttons. [thanks guivho]
Fixed the sending of AltGr characters so that AltGr's automatic LControl events don't trigger hotkeys. [thanks Laszlo]
Changed the behavior of AltSubmit MonthCal controls to address deficiencies. Please adjust your scripts accordingly.
This release also includes a draft version of the ListView control. Although you can create these controls with the following example, they do not yet support g-labels or output variables. Thus, their use is limited.
Gui, +Resize ; Currently, vMyListView option in the following line serves only things like ; the GuiSize label further below: Gui, Add, ListView, vMyListView w400 r10, First Col|Second|Third|Fourth|Fifth Gui, Add, Row,, One|Two|Three|Four|Five Gui, Add, Row,, One|Two|Three|Four|Five Gui, Show return GuiSize: if ErrorLevel = 1 ; The window has been minimized. No action needed. return ; Otherwise, the window has been resized or maximized. Resize the control to match. NewWidth := A_GuiWidth - 20 NewHeight := A_GuiHeight - 20 GuiControl, Move, MyListView, W%NewWidth% H%NewHeight% return GuiClose: ExitApp
Fixed Hotstrings and Input so that the user's press of Ctrl+Alt as a substitute for AltGr is not disrupted. [thanks Laszlo]
Fixed A_TimeSinceThisHotkey to not be altered by GUI threads.
Added OnClipboardChange, which is a label launched automatically whenever the clipboard changes. [thanks ApplePie]
This release also includes improvements to the alpha-test ListView control:
- Submit and GuiControlGet retrieve a pipe-delimited list of selection numbers.
- A G-label may be assigned to detect selection changes and double-clicks.
- The options Sort, -Multi, Checked (to have checkboxes), and Choose (to pre-select) are supported.
- Text and background colors are supported; e.g. cBlue, BackgroundEEEEEE
- GuiControl +AutoCol will autosize the columns (typically used after the rows are added). Also, +AutoColH will size according to header text instead of row contents.
- The numeric styles and messages documented at MSDN ListView are generally supported. Some of these will become built-in features in future releases.
See the previous post for an example of how to create a ListView.
Although the control is more useful now, this is an alpha-test feature and thus subject to change until the release of 1.0.36 (probably within the next 5 days).