AutoHotkey Community

It is currently May 27th, 2012, 12:22 pm

All times are UTC [ DST ]




Post new topic Reply to topic  [ 40 posts ]  Go to page 1, 2, 3  Next
Author Message
PostPosted: June 1st, 2005, 7:49 pm 
Offline

Joined: March 2nd, 2004, 3:36 pm
Posts: 10720
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 DateTimeand 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.


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: June 2nd, 2005, 5:26 am 
Dear Chris,
The new g-label for Edit and the UpDown are features I was looking for. :)
And I assume the DateTime and MonthCal will be very useful, if needed.

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

Many thanks for the greate program and the excellent documentation.


Top
  
Reply with quote  
 Post subject:
PostPosted: June 2nd, 2005, 7:01 am 
Offline

Joined: February 27th, 2005, 5:51 pm
Posts: 139
Location: Heidelberg, Germany
Hi,

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

Me too. :-)
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.


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: June 2nd, 2005, 7:05 am 
Offline

Joined: March 28th, 2004, 3:53 pm
Posts: 1870
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.

_________________
Image


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: June 2nd, 2005, 11:14 am 
Offline

Joined: March 2nd, 2004, 3:36 pm
Posts: 10720
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.


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: June 2nd, 2005, 1:12 pm 
Offline

Joined: April 1st, 2004, 12:00 am
Posts: 87
Location: Philippines
Oooh... nice. That setTimer scheduling thing would go great with this.


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: June 3rd, 2005, 5:32 pm 
Offline

Joined: March 2nd, 2004, 3:36 pm
Posts: 10720
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/


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: June 3rd, 2005, 6:22 pm 
Offline
User avatar

Joined: August 11th, 2004, 1:47 am
Posts: 5347
Location: UK
Owned dialogs are great thanks.


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: June 4th, 2005, 4:54 am 
Offline
User avatar

Joined: December 29th, 2004, 1:28 pm
Posts: 2545
Nice additions (especially the optional params for functions) :) . Thanks :) .


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: June 4th, 2005, 2:21 pm 
Offline

Joined: March 2nd, 2004, 3:36 pm
Posts: 10720
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]


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: June 4th, 2005, 7:59 pm 
Offline

Joined: March 2nd, 2004, 3:36 pm
Posts: 10720
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/


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: June 5th, 2005, 6:33 am 
Offline

Joined: March 28th, 2004, 3:53 pm
Posts: 1870
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?

_________________
Image


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: June 5th, 2005, 8:11 am 
Offline

Joined: November 16th, 2004, 6:38 am
Posts: 153
Location: New York
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.


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: June 5th, 2005, 12:54 pm 
Offline

Joined: March 2nd, 2004, 3:36 pm
Posts: 10720
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.


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: June 5th, 2005, 8:01 pm 
Offline

Joined: March 28th, 2004, 3:53 pm
Posts: 1870
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?

_________________
Image


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 40 posts ]  Go to page 1, 2, 3  Next

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group