 |
AutoHotkey Community Let's help each other out
|
| View previous topic :: View next topic |
| Author |
Message |
Chris Site Admin
Joined: 02 Mar 2004 Posts: 10474
|
Posted: Wed Oct 27, 2004 12:41 pm Post subject: Pre-1.0.23 Changes |
|
|
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] |
|
| Back to top |
|
 |
Chris Site Admin
Joined: 02 Mar 2004 Posts: 10474
|
Posted: Thu Oct 28, 2004 4:42 pm Post subject: |
|
|
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: | Code: | 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 |
|
|
| Back to top |
|
 |
twwilliams
Joined: 24 May 2004 Posts: 23 Location: Bellevue, WA USA
|
Posted: Fri Oct 29, 2004 3:36 pm Post subject: |
|
|
That simple example script is very powerful. Thanks for posting it. _________________ Tommy |
|
| Back to top |
|
 |
Chris Site Admin
Joined: 02 Mar 2004 Posts: 10474
|
Posted: Mon Nov 01, 2004 12:23 am Post subject: |
|
|
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] |
|
| Back to top |
|
 |
Chris Site Admin
Joined: 02 Mar 2004 Posts: 10474
|
Posted: Thu Nov 04, 2004 4:42 am Post subject: |
|
|
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. |
|
| Back to top |
|
 |
Chris Site Admin
Joined: 02 Mar 2004 Posts: 10474
|
Posted: Fri Nov 05, 2004 3:40 pm Post subject: |
|
|
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] |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You can reply to topics in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|