AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Search found 4482 matches
AutoHotkey Community Forum Index
Author Message
  Topic: Add Thousands Separator
Laszlo

Replies: 11
Views: 652

PostForum: Scripts & Functions   Posted: Wed Mar 17, 2010 12:40 am   Subject: Add Thousands Separator
At least in Win7 you can get the decimal and thousand separator of the user's locale, from the registry:RegRead d, HKEY_CURRENT_USER ,Control Panel\International, sDecimal
RegRead t, HKEY_CURRENT_USE ...
  Topic: Small and fast Text File Encryptor
Laszlo

Replies: 48
Views: 9702

PostForum: Scripts & Functions   Posted: Mon Mar 15, 2010 11:52 pm   Subject: Small and fast Text File Encryptor
I don't quite understand... If you want to flip the bits, just XOR with 0xFF..F (-1). But how does it help? When the data contains 0xFF, it will turn to 0x00, the string end marker.
  Topic: 14-03-yyyy --> Laszlo-Day !
Laszlo

Replies: 8
Views: 232

PostForum: General Chat   Posted: Mon Mar 15, 2010 4:48 am   Subject: 14-03-yyyy --> Laszlo-Day !
my name is all lowercaseI know. It just looks weird in the beginning of a sentence. I'll try to remember to address you as TidbiT the next time. I am terribly sorry Wink

The running time is prop ...
  Topic: 14-03-yyyy --> Laszlo-Day !
Laszlo

Replies: 8
Views: 232

PostForum: General Chat   Posted: Sun Mar 14, 2010 6:00 pm   Subject: 14-03-yyyy --> Laszlo-Day !
Nice picture, BoBoł!

Tidbit: you can use the AHK function PI posted [url=http://www.autohotkey.com/forum/viewtopic.php?t=21650]here to compute 900 million digits of PI. It just takes a little time. ...
  Topic: Small and fast Text File Encryptor
Laszlo

Replies: 48
Views: 9702

PostForum: Scripts & Functions   Posted: Sun Mar 14, 2010 5:48 pm   Subject: Small and fast Text File Encryptor
RC4 uses two arrays (tables) of 256 entries each. In AHK they occupy 2*256*4 = 2048 bytes of storage. If other programs are running, the processor cache may be filled up with their data, and each time ...
  Topic: Small and fast Text File Encryptor
Laszlo

Replies: 48
Views: 9702

PostForum: Scripts & Functions   Posted: Sat Mar 13, 2010 8:12 pm   Subject: Small and fast Text File Encryptor
RC4 is faster if the tables are left in the cache, which is normally the case with modern CPU's. xTEA is more secure. If you are after speed, use machine code or the Windows crypto API. The later is a ...
  Topic: VisionGo for CGOBAN KGS
Laszlo

Replies: 3
Views: 203

PostForum: Scripts & Functions   Posted: Sat Mar 13, 2010 12:29 am   Subject: VisionGo for CGOBAN KGS
Could you give some descriptions in English?
  Topic: binfile() get ansi text from binary file, what do you think?
Laszlo

Replies: 7
Views: 169

PostForum: Scripts & Functions   Posted: Thu Mar 11, 2010 8:51 pm   Subject: binfile() get ansi text from binary file, what do you think?
If you are expecting diacritical letters, or other special characters you need to filter several intervals, or use "if var is alpha" for letters, and intervals for symbols. The script is use ...
  Topic: binfile() get ansi text from binary file, what do you think?
Laszlo

Replies: 7
Views: 169

PostForum: Scripts & Functions   Posted: Thu Mar 11, 2010 7:01 pm   Subject: binfile() get ansi text from binary file, what do you think?
I see. The script description does not tell that you wanted to extract ANSI text from binary files, or drop NUL chars. If you want only ANSI text, you could exclude other funny characters, too, (with ...
  Topic: binfile() get ansi text from binary file, what do you think?
Laszlo

Replies: 7
Views: 169

PostForum: Scripts & Functions   Posted: Thu Mar 11, 2010 6:39 pm   Subject: binfile() get ansi text from binary file, what do you think?
When you append NUL {=chr(0)} to a string, nothing changes. This is why NUL characters are removed from str, which you return. Its length will be smaller, and you will not know, where the original NUL ...
  Topic: binfile() get ansi text from binary file, what do you think?
Laszlo

Replies: 7
Views: 169

PostForum: Scripts & Functions   Posted: Thu Mar 11, 2010 6:23 pm   Subject: binfile() get ansi text from binary file, what do you think?
The expressionChr(NumGet(_data, _offset + A_Index - 1, "UChar"))gives you the char already in _data, so you just copy it to str, except NUL characters are dropped. The ByRef ...
  Topic: Small and fast Text File Encryptor
Laszlo

Replies: 48
Views: 9702

PostForum: Scripts & Functions   Posted: Thu Mar 11, 2010 6:15 pm   Subject: Small and fast Text File Encryptor
This is normal with CBC (Cipher Block Chaining) and counter mode encryption (used here): the encryption depends on either the previous data (CBC) or the position of the data (counter mode). If you con ...
  Topic: Auto Copy Selected Text to Clipboard
Laszlo

Replies: 95
Views: 34186

PostForum: Scripts & Functions   Posted: Thu Mar 11, 2010 12:12 am   Subject: Auto Copy Selected Text to Clipboard
Doesn't work in CMD windowsIt needs a different approach: Send Alt-Space / E(dit) / (Mar)k - then use the mouse to select something, and at LButton-Up send Enter to copy the selection to the clipboard ...
  Topic: Which one is better? AMD or Intel
Laszlo

Replies: 13
Views: 226

PostForum: General Chat   Posted: Wed Mar 10, 2010 8:27 pm   Subject: Which one is better? AMD or Intel
I have built dozens of PCs during the last two decades. Only one with AMD, all the others with Intel. I have not had any problems with the processors, even with over-clocking. There are much more coun ...
  Topic: ClipCleaner
Laszlo

Replies: 6
Views: 1393

PostForum: Scripts & Functions   Posted: Mon Mar 08, 2010 3:22 am   Subject: ClipCleaner
see similar ideas [url=http://www.autohotkey.com/forum/viewtopic.php?t=11427]here
 
Page 1 of 299 Goto page 1, 2, 3 ... 297, 298, 299  Next
All times are GMT
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group