 |
AutoHotkey Community Let's help each other out
|
AutoHotkey_L : Arrays, Debugger, #If expression, etc.
Goto page Previous 1, 2, 3 ... 25, 26, 27, 28, 29, 30 Next
|
| View previous topic :: View next topic |
| Author |
Message |
Lexikos
Joined: 17 Oct 2006 Posts: 4471 Location: Qld, Australia
|
Posted: Tue Feb 09, 2010 12:44 pm Post subject: |
|
|
| twhyman wrote: | | How can i change the ahk_class of the GUI window from AutoHotkeyGUI to a string I like, | What for?
You can get the source and a compiler (such as VC++), open defines.h, change the definition of WINDOW_CLASS_GUI and rebuild.
| Quote: | | In the regular AHK I did that by Hex editing the SC bin file, Now I cannot find that string anymore. | Does your hex editor support Unicode? I suppose "Au" in hex would be 41 75 (ANSI) or 41 00 75 00 (Unicode). You can figure out the rest... |
|
| Back to top |
|
 |
majkinetor
Joined: 24 May 2006 Posts: 4116 Location: Belgrade
|
Posted: Tue Feb 09, 2010 2:53 pm Post subject: |
|
|
What do you mean what for ?
It looks way cooler in WinSpector that way  _________________
 |
|
| Back to top |
|
 |
twhyman
Joined: 07 Dec 2005 Posts: 310
|
Posted: Tue Feb 09, 2010 6:22 pm Post subject: |
|
|
[Moderator's note: When bottom-posting, please trim the original message to its relevant parts.] | Lexikos wrote: | Does your hex editor support Unicode? I suppose "Au" in hex would be 41 75 (ANSI) or 41 00 75 00 (Unicode). You can figure out the rest... |
Thanks for the tip I managed to change through the hex editor
| majkinetor wrote: |
What do you mean what for ?
It looks way cooler in WinSpector that way  |
I got my own special reasons I cannot reveal if i tell i will have to kill you , I don't want to kill you, I love the stuff you make for AHK and I am terrified that the bear in your sig will come after me  _________________ (\__/) This is Bunny.
(='.'=) Cut, copy, and paste bunny onto your sig.
(")_(") Help Bunny gain World Domination.
|
|
| Back to top |
|
 |
Lexikos
Joined: 17 Oct 2006 Posts: 4471 Location: Qld, Australia
|
Posted: Thu Feb 11, 2010 4:59 am Post subject: |
|
|
| Quote: | Revision 46 - February 11, 2010
- Added A_FileEncoding, which returns the current default file encoding.
- Added StrPut and extended StrGet with additional features.
Source: AutoHotkey_L |
|
|
| Back to top |
|
 |
kalmen Guest
|
Posted: Fri Feb 12, 2010 5:28 pm Post subject: |
|
|
Thanks Lexikos for your great AutoHotkey_L.
I have a problem ControlGet, List is not working with Gui ListView in Unicode version. This only happens in Unicode Version..
Here is sample.
| Code: | Gui, Add, ListView, xm ym w200 r5 Grid, ListView
LV_ModifyCol(1, 100)
Loop, 5
LV_Add("", "Item_" . A_Index)
Gui, Show
/*
RowCount := LV_GetCount()
Loop, %RowCount%
{
LV_GetText(Item, A_Index)
List .= Item . "`n"
}
MsgBox, %List%
*/
Gui, +LastFound
ControlGet, List, List,, SysListView321
MsgBox, %List%
Return
GuiClose:
ExitApp |
|
|
| Back to top |
|
 |
infogulch
Joined: 27 Mar 2008 Posts: 378
|
Posted: Fri Feb 12, 2010 11:30 pm Post subject: |
|
|
Hi Lexikos, I was wondering if you had noticed Sean's AutoHotkey_COM he recently released based on your L45 revision. Any progress? _________________
Scripts - License |
|
| Back to top |
|
 |
Lexikos
Joined: 17 Oct 2006 Posts: 4471 Location: Qld, Australia
|
Posted: Sat Feb 13, 2010 2:48 am Post subject: |
|
|
kalmen, thanks for the bug report. I'll see what I can do.
infogulch, I had noticed that. Actually, I downloaded it before anyone replied, and it seems Sean had already updated it (the modified source files at least) to include StrPut (L46). There are some other things I need to sort out before properly reviewing and merging Sean's code. |
|
| Back to top |
|
 |
Lexikos
Joined: 17 Oct 2006 Posts: 4471 Location: Qld, Australia
|
Posted: Sat Feb 13, 2010 6:14 am Post subject: |
|
|
| kalmen, please try revision 47. |
|
| Back to top |
|
 |
twhyman
Joined: 07 Dec 2005 Posts: 310
|
Posted: Sat Feb 13, 2010 9:49 am Post subject: |
|
|
Hi Lexikos,
Is there a plan to add support for network functions like FTP,SFTP,TCP or UDP?
Thanks,
Twhyman _________________ (\__/) This is Bunny.
(='.'=) Cut, copy, and paste bunny onto your sig.
(")_(") Help Bunny gain World Domination.
|
|
| Back to top |
|
 |
Lexikos
Joined: 17 Oct 2006 Posts: 4471 Location: Qld, Australia
|
Posted: Sat Feb 13, 2010 10:29 am Post subject: |
|
|
| No. |
|
| Back to top |
|
 |
jethrow
Joined: 24 May 2009 Posts: 792 Location: Iowa, USA
|
Posted: Sat Feb 13, 2010 8:31 pm Post subject: |
|
|
| Lexikos wrote: | | ... your implementation seems ideal - except that "for x in y" or equivalent may need to invoke ... | Are there plans to add a for-loop? The main reason I ask is because I was wondering if there is currently any way to access/loop all the non-integer keys of an object/array -- something like: | Code: | for k,v in obj
keys .= k . "`n"
MsgBox, %keys% |
Also (not to make this thread a wish-list), it would be nice to have a C-Style for-loop. _________________ AHKL, COM_L,Webpage Controls,Donate to AHK
Last edited by jethrow on Sat Feb 13, 2010 11:29 pm; edited 1 time in total |
|
| Back to top |
|
 |
majkinetor
Joined: 24 May 2006 Posts: 4116 Location: Belgrade
|
Posted: Sat Feb 13, 2010 10:09 pm Post subject: |
|
|
Yes. _________________
 |
|
| Back to top |
|
 |
slight Guest
|
Posted: Sun Feb 14, 2010 12:28 am Post subject: libcurl issue with Unicode build |
|
|
This is amazing.
However, the Unicode build of AutoHotkey_L doesn't seem to be compatible with libcurl through the libcurl wrapper. For example, olfen's test script pops up some Unicode gibberish instead of the cURL version, and nothing actually gets downloaded (except a 0-byte file). Is there a workaround, or am I forced to stick with ANSI?
Thanks for your time and I appreciate the work you put into this! |
|
| Back to top |
|
 |
Lexikos
Joined: 17 Oct 2006 Posts: 4471 Location: Qld, Australia
|
Posted: Sun Feb 14, 2010 2:01 am Post subject: |
|
|
| jethrow wrote: | | Are there plans to add a for-loop? | Yes, that's why I mentioned it.
| Quote: | | I was wondering if there is currently any way to access/loop all the non-integer keys of an object/array | No, that's why it's planned.
| slight wrote: | | However, the Unicode build of AutoHotkey_L doesn't seem to be compatible with libcurl through the libcurl wrapper. | AutoHotkey_L's Unicode build is based on AutoHotkeyU. Please read AutoHotkeyU: Script compatibility. Then, if you're willing to attempt to fix the script, read [AHK_L] HTTPQuery not working to see some practical examples of issues scripts written for ANSI will encounter. Note: libcurl appears to support only ANSI/8-bit strings.
I don't have the time or energy to update every broken script. |
|
| Back to top |
|
 |
HotKeyIt
Joined: 18 Jun 2008 Posts: 2197 Location: GERMANY
|
Posted: Mon Feb 15, 2010 9:15 am Post subject: |
|
|
| Lexikos wrote: | | [*]Allow obj.() as a means to call the default method of an object; equivalent to obj[""](). |
Since above, I think it would make sense for this to be valid as well obj.[key] which would be equivalent to obj["",key]  _________________ AutoHotFile - ToolTip(n,text,title,options) |
|
| Back to top |
|
 |
|
|
You can post new topics in this forum You can reply to topics in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|