AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

v1.0.35 released: DateTime, MonthCal, and UpDown controls
Goto page 1, 2, 3  Next
 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Announcements
View previous topic :: View next topic  
Author Message
Chris
Site Admin


Joined: 02 Mar 2004
Posts: 10450

PostPosted: Wed Jun 01, 2005 7:49 pm    Post subject: v1.0.35 released: DateTime, MonthCal, and UpDown controls Reply with quote

Important: Some internal changes were made to the Send command. If any of your scripts rely on the subtle differences between the left, right, and neutral modifiers keys (Control, Alt, Shift, and Win), it is recommended that they be retested prior to adopting this version.

Here are the changes for v1.0.35:

Fixed the Send command's inability to send AltGr characters (such as "\" and "{" on the German keyboard) to apps that don't allow Ctrl+Alt as a substitute for AltGr.

Improved functions to support optional parameters.

GUI:

Fixed Tab controls' g-label to launch when the page is changed via keyboard navigation. Also, controls added to a Tab control while the window is visible are drawn correctly.

Improved Edit controls to support g-labels, which notify the script when an Edit's contents have changed.

Added control types DateTime and MonthCal, which allow a date and/or time to be entered in various formats.

Added control type UpDown, which is a pair of arrow buttons that can be clicked to increase or decrease a value.

http://www.autohotkey.com/download/

For the next major release, the primary focus will probably be on adding a ListView control.
Back to top
View user's profile Send private message Send e-mail
toralf as guest
Guest





PostPosted: Thu Jun 02, 2005 5:26 am    Post subject: Reply with quote

Dear Chris,
The new g-label for Edit and the UpDown are features I was looking for. Smile
And I assume the DateTime and MonthCal will be very useful, if needed.

But when the ListView is coming, it will feel like christmas. Smile Can't wait to get it. Although it will force (allow) me to change several of my GUIs. Smile

Many thanks for the greate program and the excellent documentation.
Back to top
niwi



Joined: 27 Feb 2005
Posts: 128
Location: Heidelberg, Germany

PostPosted: Thu Jun 02, 2005 7:01 am    Post subject: Reply with quote

Hi,

toralf as guest wrote:
But when the ListView is coming, it will feel like christmas. Smile Can't wait to get it. Although it will force (allow) me to change several of my GUIs. Smile

Me too. Smile
Is it possible to add icons to a ListView control? Or do we need another control for this?

toralf as guest wrote:
Many thanks for the greate program and the excellent documentation.

Yes, that's true.

Regards, NiWi.
Back to top
View user's profile Send private message
Rajat



Joined: 28 Mar 2004
Posts: 1715

PostPosted: Thu Jun 02, 2005 7:05 am    Post subject: Reply with quote

congratulations on another feature packed update!

besides the gui additions, i appreciate the optional params to functions too... very nice!

btw will the limitation on global arrays be removed (it is not currently possible to declare a dynamic variable such as global Array%i%.) or it has to stay because of some limitation? i'm talking abt the non-assume-global mode.
_________________
Back to top
View user's profile Send private message
Chris
Site Admin


Joined: 02 Mar 2004
Posts: 10450

PostPosted: Thu Jun 02, 2005 11:14 am    Post subject: Reply with quote

niwi wrote:
Is it possible to add icons to a ListView control? Or do we need another control for this?
I think it's possible, but I don't know enough about it yet. Although it probably won't be built into the next version, you might be able to do it with DllCall and SendMessage.

Rajat wrote:
will the limitation on global arrays be removed (it is not currently possible to declare a dynamic variable such as global Array%i%.) or it has to stay because of some limitation?
Yes, there are design notes about how it might be done. But since it's fairly complex, cost-benefit (code size vs. usefulness) seemed to indicate that it should be deferred for a few months. You probably know that you could have an assume-local function call a small assume-global function to create such an array more easily. Also, if all the elements of the global array already exist, a function can access them dynamically (but not directly) without having to declare them.
Back to top
View user's profile Send private message Send e-mail
dijiyd



Joined: 01 Apr 2004
Posts: 90
Location: Philippines

PostPosted: Thu Jun 02, 2005 1:12 pm    Post subject: Reply with quote

Oooh... nice. That setTimer scheduling thing would go great with this.
Back to top
View user's profile Send private message
Chris
Site Admin


Joined: 02 Mar 2004
Posts: 10450

PostPosted: Fri Jun 03, 2005 5:32 pm    Post subject: Reply with quote

Here are the changes for v1.0.35.01:

Fixed GuiControl, , MyRadio|MyCheckbox, NewText, which was broken in v1.0.35. [thanks ranomore]

Fixed shorthand style "if not VarName" so that VarName may start with B, C, I, or N.

Reduced the size of each compiled script by about 5 KB (by means of omitting non-essential syntax checking).

Improved GUI Hotkey control to notify the script of changes via g-label.

Added modal/owned dialogs for GUI windows: MsgBox, InputBox, FileSelectFile, and FileSelectFolder.

http://www.autohotkey.com/download/
Back to top
View user's profile Send private message Send e-mail
Titan



Joined: 11 Aug 2004
Posts: 5007
Location: imaginationland

PostPosted: Fri Jun 03, 2005 6:22 pm    Post subject: Reply with quote

Owned dialogs are great thanks.
Back to top
View user's profile Send private message Visit poster's website
corrupt



Joined: 29 Dec 2004
Posts: 2328

PostPosted: Sat Jun 04, 2005 4:54 am    Post subject: Reply with quote

Nice additions (especially the optional params for functions) Smile . Thanks Smile .
Back to top
View user's profile Send private message Visit poster's website
Chris
Site Admin


Joined: 02 Mar 2004
Posts: 10450

PostPosted: Sat Jun 04, 2005 2:21 pm    Post subject: Reply with quote

Thanks for the feedback.

By the way, v1.0.35.02 has been released to fix my screw-up. This set of bugs affect only compiled scripts:

Fixed Break/Continue syntax errors and other compiled script bugs introduced in v1.0.35.01. [thanks ranomore]
Back to top
View user's profile Send private message Send e-mail
Chris
Site Admin


Joined: 02 Mar 2004
Posts: 10450

PostPosted: Sat Jun 04, 2005 7:59 pm    Post subject: Reply with quote

Here are the changes for v1.0.35.03:

Fixed the inability to create DateTime and MonthCal controls on OSes older than XP.

Added a new method of breaking up long lines: A line that starts with "and", "or", ||, &&, or a comma is automatically merged with the line directly above it.

http://www.autohotkey.com/download/
Back to top
View user's profile Send private message Send e-mail
Rajat



Joined: 28 Mar 2004
Posts: 1715

PostPosted: Sun Jun 05, 2005 6:33 am    Post subject: Reply with quote

Chris wrote:
A line that starts with "and", "or", ||, &&, or a comma is automatically merged with the line directly above it.

why so many ways? ... IMO this'd lead to ambiguity.. wouldn't just && or comma suffice?
_________________
Back to top
View user's profile Send private message
JBensimon



Joined: 16 Nov 2004
Posts: 130
Location: New York

PostPosted: Sun Jun 05, 2005 8:11 am    Post subject: Reply with quote

Rajat wrote:
why so many ways?

I'm guessing because the various continuation indicators (and, or, ||, && and ,) are part of the continued statement, i.e. Chris gives you the ability to break a statement at a new parameter (,) or at the next clause of a long multi-clause boolean statement (||, &&, etc.)

Jacques.
Back to top
View user's profile Send private message Visit poster's website
Chris
Site Admin


Joined: 02 Mar 2004
Posts: 10450

PostPosted: Sun Jun 05, 2005 12:54 pm    Post subject: Reply with quote

Yes, that's correct. Perhaps the help file needs clarifying (if you've read that section, let me know if it's misleading).

When programming, I use this method all the time to break up long lines and it seems quite natural and readable once you get used to it. By comparison, the bracketed continuation section is clumsy if all you want to do is add one extra line beneath the first.
Back to top
View user's profile Send private message Send e-mail
Rajat



Joined: 28 Mar 2004
Posts: 1715

PostPosted: Sun Jun 05, 2005 8:01 pm    Post subject: Reply with quote

JBensimon wrote:
Chris gives you the ability to break a statement at a new parameter (,) or at the next clause of a long multi-clause boolean statement (||, &&, etc.)

so i understand, but besides comma, wouldn't && be enough?
_________________
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Announcements All times are GMT
Goto page 1, 2, 3  Next
Page 1 of 3

 
Jump to:  
You cannot post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group