AutoHotkey Community

It is currently May 27th, 2012, 2:26 am

All times are UTC [ DST ]




Post new topic This topic is locked, you cannot edit posts or make further replies.  [ 1036 posts ]  Go to page Previous  1 ... 23, 24, 25, 26, 27, 28, 29 ... 70  Next
Author Message
 Post subject:
PostPosted: February 9th, 2010, 12:44 pm 
Offline

Joined: October 17th, 2006, 4:15 pm
Posts: 7503
Location: Australia
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...


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: February 9th, 2010, 2:53 pm 
Offline

Joined: May 24th, 2006, 2:49 pm
Posts: 4511
Location: Belgrade
Quote:
What for?

What do you mean what for ?
It looks way cooler in WinSpector that way :?

_________________
Image


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: February 9th, 2010, 6:22 pm 
Offline

Joined: December 7th, 2005, 8:29 am
Posts: 345
[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:
Quote:
What for?

What do you mean what for ?
It looks way cooler in WinSpector that way :?

I got my own special reasons I cannot reveal :twisted: if i tell i will have to kill you :wink:, 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 :o

_________________
(\__/) This is Bunny.
(='.'=) Cut, copy, and paste bunny onto your sig.
(")_(") Help Bunny gain World Domination.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: February 11th, 2010, 4:59 am 
Offline

Joined: October 17th, 2006, 4:15 pm
Posts: 7503
Location: Australia
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


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: February 12th, 2010, 5:28 pm 
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


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: February 12th, 2010, 11:30 pm 
Offline

Joined: March 27th, 2008, 2:14 pm
Posts: 700
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


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: February 13th, 2010, 2:48 am 
Offline

Joined: October 17th, 2006, 4:15 pm
Posts: 7503
Location: Australia
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.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: February 13th, 2010, 6:14 am 
Offline

Joined: October 17th, 2006, 4:15 pm
Posts: 7503
Location: Australia
kalmen, please try revision 47.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: February 13th, 2010, 9:49 am 
Offline

Joined: December 7th, 2005, 8:29 am
Posts: 345
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.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: February 13th, 2010, 10:29 am 
Offline

Joined: October 17th, 2006, 4:15 pm
Posts: 7503
Location: Australia
No.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: February 13th, 2010, 8:31 pm 
Offline
User avatar

Joined: May 24th, 2009, 5:35 am
Posts: 2099
Location: Iowa, USA
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.

_________________
Image
Recommended: AutoHotkey_L
Basic Webpage Controls


Last edited by jethrow on February 13th, 2010, 11:29 pm, edited 1 time in total.

Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: February 13th, 2010, 10:09 pm 
Offline

Joined: May 24th, 2006, 2:49 pm
Posts: 4511
Location: Belgrade
Yes.

_________________
Image


Report this post
Top
 Profile  
Reply with quote  
PostPosted: February 14th, 2010, 12:28 am 
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!


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: February 14th, 2010, 2:01 am 
Offline

Joined: October 17th, 2006, 4:15 pm
Posts: 7503
Location: Australia
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.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: February 15th, 2010, 9:15 am 
Offline

Joined: June 18th, 2008, 8:36 am
Posts: 4923
Location: AHK Forum
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] :?:

_________________
AHK_H (2alpha) AHF TT _Struct WatchDir Yaml _Input ObjTree RapidHotkey DynaRun :wink:


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic This topic is locked, you cannot edit posts or make further replies.  [ 1036 posts ]  Go to page Previous  1 ... 23, 24, 25, 26, 27, 28, 29 ... 70  Next

All times are UTC [ DST ]


Who is online

Users browsing this forum: Google [Bot] and 1 guest


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group