| Author |
Message |
Topic: Unicode text on buttons in AutoHotKey_L |
Lexikos
Replies: 12
Views: 183
|
Forum: Ask for Help Posted: Fri Feb 10, 2012 11:22 pm Subject: Unicode text on buttons in AutoHotKey_L |
| Is there a way to change which font is used on the button?FYI, the OS defines the appearance of the MsgBox dialog. AutoHotkey basically just calls [url=http://msdn.microsoft.com/en-us/library/windows/ ... |
Topic: Window-specific message handlers |
Lexikos
Replies: 4
Views: 268
|
Forum: Wish List Posted: Fri Feb 10, 2012 11:18 pm Subject: Window-specific message handlers |
| I've had this on my list for a while, not so much to imlement, but to keep in mind for redesigning/replacing OnMessage in v2. There are a number of enhancements that could be made (at this point I'm o ... |
Topic: Check multi-dimensional object with a dynamic string |
Lexikos
Replies: 4
Views: 110
|
Forum: Ask for Help Posted: Fri Feb 10, 2012 12:09 pm Subject: Check multi-dimensional object with a dynamic string |
You could convert the string into an array of strings, then use objMsgBox % IsObject(obj[StrSplit(String, ",")*])
HotKeyIt, why not simply pass the initial object ... |
Topic: #Warn throws warning on _L ANSI for A_IsUnicode |
Lexikos
Replies: 1
Views: 71
|
Forum: Bug Reports Posted: Fri Feb 10, 2012 8:56 am Subject: #Warn throws warning on _L ANSI for A_IsUnicode |
| While the current behaviour is technically correct, it's obviously not ideal. I believe the implementation of A_IsUnicode was copied from A_IsCompiled, which is similarly left undefined until the scri ... |
Topic: DllCall strange results when used within an Object's Method |
Lexikos
Replies: 5
Views: 175
|
Forum: Bug Reports Posted: Fri Feb 10, 2012 8:37 am Subject: DllCall strange results when used within an Object's Method |
| No. CLSIDFromString overwrites the first 16 bytes. It does not use the previous contents of the variable. |
Topic: Check to see if a COM object still exists |
Lexikos
Replies: 6
Views: 120
|
Forum: Ask for Help Posted: Fri Feb 10, 2012 8:33 am Subject: Check to see if a COM object still exists |
Not sure about that guest:
If WB only ever contains an object or a false value (zero or an empty string), your code has the same effect as Guest's.
Ideally you could check the reference count of t ... |
Topic: [AHK_L] How do get my script to type Unicode? |
Lexikos
Replies: 8
Views: 118
|
Forum: Ask for Help Posted: Fri Feb 10, 2012 7:52 am Subject: [AHK_L] How do get my script to type Unicode? |
| If the installer is opened with 7-zip, the file structure it shows is based on where the installer will create files. The installer contains three different AutoHotkey.exe files, but only installs the ... |
Topic: DllCall strange results when used within an Object's Method |
Lexikos
Replies: 5
Views: 175
|
Forum: Bug Reports Posted: Fri Feb 10, 2012 2:05 am Subject: DllCall strange results when used within an Object's Method |
I experimented a little more with your modified script and noticed another thing:It's likely to be coincidental.
While testing, seemingly random changes to the script - such as adding or removing bra ... |
Topic: Newbie: Syntax validation of the editor doesn't add up?... |
Lexikos
Replies: 2
Views: 64
|
Forum: Ask for Help Posted: Thu Feb 09, 2012 9:37 pm Subject: Re: Newbie: Syntax validation of the editor doesn't add up?. |
... but the syntax always seems invalid according to the editor.Key names are coloured pink by default. Other than that, it looks fine to me.
Send ({TAB})This is valid in any version of AutoHotkey. H ... |
Topic: Different commands for left- and right-click on GUI button |
Lexikos
Replies: 7
Views: 200
|
Forum: Ask for Help Posted: Thu Feb 09, 2012 7:56 am Subject: Different commands for left- and right-click on GUI button |
| You can use the [url=http://l.autohotkey.net/docs/commands/Gui.htm#GuiContextMenu]GuiContextMenu label to detect right clicks anywhere on the GUI. The A_GuiControl variable will tell you which control ... |
Topic: #include and library with another library linked |
Lexikos
Replies: 4
Views: 153
|
Forum: Ask for Help Posted: Thu Feb 09, 2012 2:49 am Subject: #include and library with another library linked |
| What is the definition of a library file?A file from a why would someone want to provide an #include ext_lib directive inside lib1.ahk library file ...One would use #include in a library file for the ... |
Topic: looped #includeAgain in 3 files |
Lexikos
Replies: 4
Views: 123
|
Forum: Ask for Help Posted: Wed Feb 08, 2012 9:59 am Subject: looped #includeAgain in 3 files |
| Realistically, what reason would someone have to use #IncludeAgain in a situation where that could happen? That directive is rarely used in the first place. |
Topic: RunWait and Msgbox etc. cause Local Variables to be Static |
Lexikos
Replies: 2
Views: 78
|
Forum: Ask for Help Posted: Wed Feb 08, 2012 9:44 am Subject: RunWait and Msgbox etc. cause Local Variables to be Static |
So why did you post it in Bug Reports?
Report problems with documented functionality.
A function may contain externally-called subroutines such as timers, GUI g-labels, and menu items. (...)
Such s ... |
Topic: #include and library with another library linked |
Lexikos
Replies: 4
Views: 153
|
Forum: Ask for Help Posted: Tue Feb 07, 2012 11:55 am Subject: #include and library with another library linked |
For AutoHotkey_L, instead of
#include %A_ScriptDir%
#include lib\lib1.ahkuse
#include <lib1>
Additionally, the following applies to both versions of AutoHotkey:
If a library file uses #In ... |
Topic: While loop |
Lexikos
Replies: 5
Views: 152
|
Forum: Ask for Help Posted: Tue Feb 07, 2012 11:46 am Subject: While loop |
Taking the second script from your OP and changing ...
While GetKeyState("Xbutton1", "P")
... works just fine for me. |
| |