Jump to content

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

Pre-1.0.23 Changes


  • Please log in to reply
5 replies to this topic
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 Tab control so that when it is hidden or shown, the controls on its current page are also hidden/shown. [thanks Nemroth]

Fixed Picture controls that have a border so that the size of the control doesn't increase slightly each time GuiControl is used to load a new picture. [thanks ILL.1]

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/ :

Improved PixelGetColor and PixelSearch with an option to retrieve colors in RGB vs. BGR format.

Added sub-command "WinSet, Transparent, Off", which completely turns off transparency on a window that was previously transparent. This may help performance. [thanks dijiyd]

Added sub-command "WinSet, TransColor", which can make a window's background transparent on Windows 2000/XP+. This allows the creation of on-screen displays and other visual effects.

Here is an example of a simple on-screen display:
CustomColor = EEAA99  ; Can be any RGB color (it will be made transparent below).
Gui, color, %CustomColor%
Gui, font, s24
Gui, add, text, vMyText cLime, XXXXX YYYYY  ; XX & YY serve to auto-size the window.
Gui, show, x0 y400
WinWait, A  ; Set the "last found" window for use with the next two commands.
; Make all pixels of this color transparent and make the text itself translucent (150):
WinSet, TransColor, %CustomColor% 150
WinSet, AlwaysOnTop, On
; Remove the borders. Due to a quirk in Windows, this must be done after transparency:
Gui, -Caption
SetTimer, UpdateOSD, 500
return

UpdateOSD:
MouseGetPos, MouseX, MouseY
GuiControl,, MyText, X%MouseX%, Y%MouseY%
return


twwilliams
  • Members
  • 23 posts
  • Last active: May 07 2010 09:01 PM
  • Joined: 24 May 2004
That simple example script is very powerful. Thanks for posting it.
Tommy

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/ :

Improved "Menu Show" to accept an optional position for the menu. [thanks compuboy_r]

Improved the $ hotkey prefix to work on Windows 95/98/Me. It allows a hotkey to send itself, which makes it possible for a hotkey to conditionally perform its original/native-OS function.

Fixed "Gui Show": Sometimes the window wouldn't be shown until after the command that followed "Gui Show". [thanks Tekl]

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 Tab controls so that enabling or disabling them will also enable/disable their sub-controls.

Changed Tab controls to use Classic Theme appearance on Windows XP or later, which makes their background color match that of their sub-controls. [thanks Gre]

Improved the performance of the Hotkey command when it turns on/off a hotkey that is already in the right state. [thanks deguix]

Improved screen drawing performance when switching pages in a tab control.

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 compiled scripts to include a blank version info resource. To customize the version info of your compiled scripts, use a utility such as Resource Hacker (freeware) to edit the AutoHotkeySC.bin file. Note that ResHacker will corrupt compiled scripts, which is why only the AutoHotkeySC.bin file should be edited. [thanks Larl]

Added sub-command "WinSet, Bottom", which sends a window to the bottom of the stack; that is, beneath all other windows. [thanks AntonyB]