Jump to content

Sky Slate Blueberry Blackcurrant Watermelon Strawberry Orange Banana Apple Emerald Chocolate
Photo

Pre-1.0.25 Changes


  • Please log in to reply
8 replies to this topic
Chris
  • Administrators
  • 10727 posts
  • Last active:
  • Joined: 02 Mar 2004
The following change has been applied to the installer at http://www.autohotkey.com/download/ :

GUI: Improved drag-and-drop to report via ErrorLevel the number of dropped files.

Chris
  • Administrators
  • 10727 posts
  • Last active:
  • Joined: 02 Mar 2004
(these changes were applied Dec 15th but the announcement was posted in the wrong place)

The following changes have been applied to the installer at http://www.autohotkey.com/download/ :

Fixed file-pattern loops on Windows 95/98/Me so that A_LoopFileTimeModified/Created/Accessed are not blank. [thanks 3tones]

Improved the Sort command with an option to eliminate duplicates from the list. Also, the numeric option now treats items as floating point numbers rather than integers. [thanks Rajat]

Chris
  • Administrators
  • 10727 posts
  • Last active:
  • Joined: 02 Mar 2004
The following changes have been applied to the installer at http://www.autohotkey.com/download/ :

Fixed the following keys on Windows 95/98/Me to allow them to part of hotkey combinations: Delete, Insert, Home, End, PageUp, PageDown, and the arrow keys.

Fixed lines such as "If x = 5, Exit" so that the item after the comma is not recognized as a command. By contrast, "IfEqual, x, 5, Exit" will still recognize "Exit" as a command.

Changed compiled scripts so that the version resource shows the version number rather than being entirely blank. [thanks g4]

Changed FileAppend so that the file is automatically opened in binary mode if the text to be written contains any carriage return and linefeed pairs (`r`n). In other words, the asterisk option is put into effect automatically. However, specifying the asterisk when appropriate improves performance because the program does not need to scan for `r`n.

Changed file-reading loops so that the output file is not opened if nothing is ever written to it. This happens if the Loop performs zero iterations or if it never uses the FileAppend command. In addition, the file is automatically opened in binary mode if the Loop's first use of FileAppend writes any carriage return and linefeed pairs (`r`n). In other words, the asterisk option is put into effect automatically. These changes might break existing scripts that rely upon: 1) a zero-length file being created by the loop; or 2) the datetime stamp being changed by the loop even if it didn't write any text to the file.

Greatly improved the performance of StringReplace by devoting temporary memory to the process. To prevent the use of temporary memory, use AllSlow rather than All as the last parameter. See StringReplace for details.

Greatly improved performance of the following: 1) Variable concatenation, such as Var = %Var% More Text, is at least 100 times faster; 2) Assigning to variables when AutoTrim is "On" is much faster; 3) Case insensitive string searching and/or replacing is thousands of times faster, which affects IfInString, "if var in ", StringGetPos, StringReplace, and hotstrings.

Added command FileRead, which reads all of a file's text into a variable (performs better than a file-reading loop).

GUI: Changed "Gui Show" to launch the GuiSize label only after showing the window and updating its title. [thanks ranomore]

BoBo
  • Guests
  • Last active:
  • Joined: --
C8):DL

Chris
  • Administrators
  • 10727 posts
  • Last active:
  • Joined: 02 Mar 2004
The following should have been included my previous post:

Improved WIN and ALT hotkeys that use the Send command:
1) Fixed some cases in which the Start Menu would appear as an unwanted side-effect.

2) The language bar's hotkey (LAlt+Shift) should no longer get triggered as an unwanted side-effect of the Send command. However, it can still be triggered intentionally with "Send {LAlt down}{Shift}{LAlt up}".

3) ALT hotkeys should no longer activate the menu bar of the active window. If you're using {AltUp}{Alt} anywhere in your scripts to make ALT hotkeys work better, those hotkeys should still work. However, they can be made to behave more consistently by removing {AltUp}{Alt}.

Although the above changes were tested extensively on Windows XP and 98, there's a slight chance that some existing scripts will be broken by them. If you observe any problems in this new version, please let me know.

Chris
  • Administrators
  • 10727 posts
  • Last active:
  • Joined: 02 Mar 2004
The following change has been applied:

Added built-in variable A_LoopFileShortPath to file-pattern loops, which allows the 8.3 short path and name of a file to be retrieved. [thanks Rajat]

Chris
  • Administrators
  • 10727 posts
  • Last active:
  • Joined: 02 Mar 2004
The following changes have been applied to the installer at http://www.autohotkey.com/download/ :

Changed FileRead to load the file completely even if it is larger than #MaxMem. If there is concern about using too much memory, check the file size beforehand with FileGetSize.

Improved the Progress command with options for starting position and having a range other than 0 to 100. [thanks ranomore]

Improved the Send command so that mouse buttons can be held down or released as in this example: Send {LButton down}

Rajat
  • Members
  • 1904 posts
  • Last active: Jul 17 2015 07:45 AM
  • Joined: 28 Mar 2004
nobody came here since last year... thought i'd come and check if everything's fine!

LOL

MIA

CleanNews.in : Bite sized latest news headlines from India with zero bloat


beardboy
  • Members
  • 443 posts
  • Last active: May 27 2017 08:41 AM
  • Joined: 02 Mar 2004
I'm still kicking around, always looking for new features and versions. ;)

thanks,
beardboy