AutoHotkey Community

It is currently May 27th, 2012, 11:47 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 6 posts ] 
Author Message
 Post subject: StrPut / StrGet
PostPosted: June 29th, 2010, 8:30 am 
Offline

Joined: October 17th, 2006, 4:15 pm
Posts: 7503
Location: Australia
StrPut / StrGet

Copies a string to or from a memory address, optionally converting it between code pages.
Code:
StrPut(String [, Encoding = None ] )
StrPut(String, Address [, Length] [, Encoding = None ] )
StrGet(Address [, Length] [, Encoding = None ] )

Behaviour should be identical to their built-in counterparts in AutoHotkey_L.

Recommended usage: copy StrPut.ahk and StrGet.ahk into a function library folder. Do not #include. This way, if your script is run on AutoHotkey_L, it will use the built-in functions rather than these script functions.

Download
Detailed Documentation


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: June 29th, 2010, 11:50 am 
Thx for sharing :D


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: June 29th, 2010, 12:07 pm 
Offline
User avatar

Joined: May 5th, 2007, 7:24 pm
Posts: 1240
Location: Seville, Spain
For those still using vanilla :)

_________________
fincs
Highly recommended: AutoHotkey_L (see why) (all my code snippets require it)
Formal request to polyethene - I support the unity of the AutoHotkey community
Get SciTE4AutoHotkey v3.0.00 (Release Candidate)
[My project list]


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: July 10th, 2010, 6:32 am 
Offline

Joined: October 17th, 2006, 4:15 pm
Posts: 7503
Location: Australia
I've fixed some errors in StrPut which had limited its functionality to measuring/encoding UTF-16 strings and copying ANSI strings.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: August 8th, 2010, 1:51 pm 
Offline

Joined: October 17th, 2006, 4:15 pm
Posts: 7503
Location: Australia
Now I've fixed a similar error in StrGet. :oops:


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: October 9th, 2011, 11:01 am 
Offline

Joined: October 1st, 2005, 9:55 pm
Posts: 775
Location: Texas, USA
I just discovered these functions. Yes, I know that I'm very late to the party. They will be very helpful as I slowly but surely (don't call me Shirley!) transition to AHK_L. Thanks. :)


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: rrhuffy and 48 guests


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