AutoHotkey Community

It is currently May 27th, 2012, 9:48 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 20 posts ]  Go to page 1, 2  Next
Author Message
PostPosted: November 5th, 2006, 3:51 pm 
Offline

Joined: March 2nd, 2004, 3:36 pm
Posts: 10720
NOTE: Although this release has been extensively tested and is not expected to break any existing scripts, several low-level performance enhancements were made. If you have any mission-critical scripts, it is recommended that you retest them and/or wait a few weeks for any bugs to get fixed.

Here are the changes for v1.0.45:

Added support for regular expressions via RegExMatch(), RegExReplace(), and SetTitleMatchMode RegEx. [thanks Philip Hazel & PhiLho]

Improved performance and memory utilization of StringReplace.

Improved performance of the := operator for expressions and functions involving long strings.

Improved ControlClick with a new option "NA" that avoids activating the target window (this mode also improves reliability in some cases). In addition, it's been documented that SetControlDelay -1 can improve the reliability of ControlClick in some cases. [thanks nnesori]

Changed GUI buttons to default to "no word-wrap" when no width, height, or CR/LF characters were specified. This may solve button display issues under some desktop themes.

Fixed "Transform HTML" for the following characters: &`n><

Fixed misinterpretation of lines starting with "if not is" such as "if not IsDone".

Fixed inability of "Gui Show" to move a window vertically downward to where its bottommost row of pixels is now.

Fixed inability to use GroupActivate as the only line beneath an IF or ELSE.

Fixed inability of the Input command to differentiate between end-keys enclosed in braces and their (un)shifted counterparts; e.g. '{' vs. '['. [thanks Laszlo]

--------

For anyone using the beta versions announced in the RegEx topic, it is recommended that you upgrade to 1.0.45 because there could be an input/output variable bug depending on the exact version you have.


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: November 5th, 2006, 4:21 pm 
Offline

Joined: December 27th, 2005, 1:46 pm
Posts: 6837
Location: France (near Paris)
Wow, the new option for SetTitleMatchMode comes as a (good) surprise!
Great release, much power added!
Thanks for the hard work.

_________________
Image vPhiLho := RegExReplace("Philippe Lhoste", "^(\w{3})\w*\s+\b(\w{3})\w*$", "$1$2")


Last edited by PhiLho on November 5th, 2006, 11:42 pm, edited 1 time in total.

Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: November 5th, 2006, 5:58 pm 
Offline
User avatar

Joined: December 26th, 2005, 4:40 pm
Posts: 8776
Many thanks for making the AutoHotkey language more powerful.

_________________
URLGet - Internet Explorer based Downloader
StartEx - Portable Shortcut Link


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: November 5th, 2006, 6:36 pm 
Offline

Joined: April 17th, 2005, 7:47 pm
Posts: 289
Location: Sauerland
Well-wrought enhancements!
For me, they enlarge the application range of AutoHotkey enormously, thank you very much!


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: November 5th, 2006, 6:43 pm 
Offline

Joined: October 2nd, 2006, 7:09 pm
Posts: 1
really impressive ;)


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: November 5th, 2006, 7:32 pm 
Offline

Joined: July 30th, 2004, 9:08 pm
Posts: 81
Wow! RegEx is a huge step for AHK! Congratulations!


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: November 6th, 2006, 2:09 am 
Offline

Joined: June 24th, 2004, 1:00 am
Posts: 114
Location: Malta
Thanks for this update.
I see long nights coming up trying out the new RegEx feature.

bahri


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: November 6th, 2006, 5:20 am 
Offline

Joined: March 28th, 2004, 3:53 pm
Posts: 1870
great additions Chris! thanks! :)
...now to learn regex.

_________________
Image


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: November 6th, 2006, 9:14 am 
Offline

Joined: July 30th, 2004, 11:30 pm
Posts: 74
Location: Deutschland (sorry for my english)
Hi Chris,
many thanks for supporting RegEx, that's great :shock: :D

_________________
Image Stefan

This post was created with the kindly help of http://dict.leo.org/ and remember: “Allways look on the bright side of Life”


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: November 6th, 2006, 12:37 pm 
Offline

Joined: March 2nd, 2004, 3:36 pm
Posts: 10720
Thanks for the enthusiam. It helps confirm that giving RegEx a high priority was the right choice (I'm never sure exactly what should be the highest priority, so I'm left with guessing).


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: November 6th, 2006, 2:56 pm 
Offline

Joined: October 10th, 2005, 10:44 am
Posts: 299
Location: Germany
RegEx support? In AHK? Chris, you're at least 48 days early for that...
Seriously tho, that's just great and will make a huge impact!

(It also comes as kind of a surprise to me, but that's probably because I've been pretty inactive lately. :( )


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: November 6th, 2006, 7:20 pm 
Offline

Joined: December 28th, 2005, 10:46 am
Posts: 99
Thanks for this new version, Chris.
And, may be it isn't very important, but thanks for the new presentation of the help file...


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: November 7th, 2006, 12:24 am 
Offline

Joined: September 3rd, 2006, 5:34 am
Posts: 601
Location: Iowa, U.S.
I just downloaded it, wow it is an easier file to read when I refer to the help file. I like the RegEx too, it helps. Great Work :D:D:D:D:D

_________________
Image


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: November 7th, 2006, 10:02 am 
Offline

Joined: October 10th, 2005, 10:44 am
Posts: 299
Location: Germany
Demokos wrote:
may be it isn't very important, but thanks for the new presentation of the help file...
I just noticed the re-designed documentation; great job there too, Czar Chris!
And I'd disagree with Demokos in that I think a well-done documentation is very important. At least for me, the help is probably the most frequently used feature... ;)


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: November 7th, 2006, 5:27 pm 
Offline

Joined: March 2nd, 2004, 3:36 pm
Posts: 10720
Thanks for the feedback on the documentation. John B. here on the forum helped me a lot with getting everything more consistent and better presented.

Here are the changes for v1.0.45.01:

Fixed FileReadLine and FileSelectFile not to crash or misbehave when other threads interrupt them (broken by 1.0.45). [thanks toralf]

Fixed RegExMatch() so that when there's no match, named subpatterns are properly set to "" in the output array. [thanks PhiLho]

Fixed RegExMatch()'s "J" option to properly write duplicate named subpatterns to the output array. [thanks PhiLho]

Changed SetWorkingDir and #Include DirName to succeed even for a root directory such as C: that lacks a backslash.

Improved DllCall() to display a warning dialog if the called function writes to a variable of zero capacity.


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

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 3 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