| Author |
Message |
Forum: Suggestions Topic: AHK_L Override File Read Encoding |
| DeathByNukes |
|
Posted: July 10th, 2011, 5:06 pm
|
|
Replies: 2 Views: 300
|
| FileEncoding only changes the default. The file I am trying to read has a byte order mark. |
|
 |
Forum: Suggestions Topic: AHK_L #Directive to Specify Which Build to Use |
| DeathByNukes |
|
Posted: July 10th, 2011, 12:36 am
|
|
Replies: 1 Views: 276
|
| It would be nice if there was a directive we could use to specify which AHK build a file was meant to be opened with. It would probably be required to be on the first line with no indentation to enable speedy parsing. Once that is supported, have the installer place all supported builds on the syste... |
|
 |
Forum: Suggestions Topic: AHK_L Override File Read Encoding |
| DeathByNukes |
|
Posted: July 10th, 2011, 12:28 am
|
|
Replies: 2 Views: 300
|
| I am really surprised to see that there is no way to override which encoding it uses to read files. This is making it impossible for me to use file read loops in ANSI mode, as it loses information irrecoverably. I just want it to act like it used to, with no processing at all. I propose adding a sec... |
|
 |
Forum: Support Topic: [delete this] AHK_L Crash After DllCall |
| DeathByNukes |
|
Posted: July 9th, 2011, 5:44 pm
|
|
Replies: 8 Views: 1275
|
| cchWideChar [in] Size, in characters, of the buffer indicated by lpWideCharStr. If this value is 0, the function returns the required buffer size, in characters , including any terminating null character, and makes no use of the lpWideCharStr buffer. In Unicode (WideChar) each character needs two b... |
|
 |
Forum: Support Topic: [delete this] AHK_L Crash After DllCall |
| DeathByNukes |
|
Posted: July 9th, 2011, 4:09 pm
|
|
Replies: 8 Views: 1275
|
| This is the bug reporting forum not the help forum. |
|
 |
Forum: Support Topic: [delete this] AHK_L Crash After DllCall |
| DeathByNukes |
|
Posted: July 9th, 2011, 4:04 pm
|
|
Replies: 8 Views: 1275
|
| Frankie: DeathByNukes wrote: This is happening in the ANSI version. |
|
 |
Forum: Support Topic: [delete this] AHK_L Crash After DllCall |
| DeathByNukes |
|
Posted: July 9th, 2011, 3:49 pm
|
|
Replies: 8 Views: 1275
|
| This is causing an actual crash in AHK, where the script terminates and Windows displays the crashed program dialog. DllCall normally prevents that from happening and returns an error. Regardless of how good or bad my code is, it shouldn't be crashing. StrPut() only allows conversion to/from the cur... |
|
 |
Forum: Support Topic: [delete this] AHK_L Crash After DllCall |
| DeathByNukes |
|
Posted: July 9th, 2011, 9:29 am
|
|
Replies: 8 Views: 1275
|
| This seems to crash AHK_L: Utf8to16("Lorem ipsum dolor sit amet, consectetur adipiscing elit. In egestas eros et sapien dap", result) Utf8to16(input, ByRef output) { length := DllCall("MultiByteToWideChar" , "uint", 65001 ; UINT CodePage, CP_UTF... |
|
 |
Forum: Suggestions Topic: UTF-8 Build of AHK_L |
| DeathByNukes |
|
Posted: March 21st, 2011, 8:13 pm
|
|
Replies: 4 Views: 603
|
| Firstly, passing a UTF-8 string to a function which accepts ANSI may give the illusion of working, but if that string is ever displayed or converted to any other encoding, any non-ASCII characters will be incorrect/corrupted. I don't understand what you're referring to with this. A proper UTF-8 bui... |
|
 |
Forum: Suggestions Topic: UTF-8 Build of AHK_L |
| DeathByNukes |
|
Posted: March 4th, 2011, 8:22 pm
|
|
Replies: 4 Views: 603
|
| I was sad to see that wide characters were chosen for implementing unicode support in AHK_L; UTF-8 has so much better compatibility. I'm currently using the ANSI build. I'm sure there are reasons why you don't want to implement UTF-8 (adding conversions to every apiW call) but I'm casting my vote fo... |
|
 |
Forum: Utilities Topic: Winspector install. |
| DeathByNukes |
|
Posted: November 8th, 2010, 10:29 am
|
|
Replies: 11 Views: 7783
|
|
 |
Forum: Support Topic: how to turn off monitor? |
| DeathByNukes |
|
Posted: July 30th, 2010, 7:28 am
|
|
Replies: 42 Views: 14111
|
thesoupmeat wrote: anyone know how to make Quote: SendMessage 0x112, 0xF170, 2,,Program Manager turn off only one monitor (1 or 2) on a dual monitor setup?
Can't do that with this method. You're probably better off looking for a 3rd party tool if it's even possible. |
|
 |
Forum: Scripts Topic: libcurl Wrapper (WIP) |
| DeathByNukes |
|
Posted: May 20th, 2010, 11:15 pm
|
|
Replies: 50 Views: 10950
|
| I for one would appreciate more examples. Similar to what tic has done with his GDI+ library here: http://www.autohotkey.com/forum/topic32238.html . It has plenty of examples showing how to solve many common tasks. It's easy to grab an example and start adapting it to your specific needs. The examp... |
|
 |
Forum: Scripts Topic: libcurl Wrapper (WIP) |
| DeathByNukes |
|
Posted: May 20th, 2010, 8:08 pm
|
|
Replies: 50 Views: 10950
|
| Sorry about my lack of documentation/support on this. I haven't had much time to work on it. What I probably need to do is change all the functions to use the same names as the original libcurl functions and document the differences between the C and AHK functions, so people without knowledge of C c... |
|
 |
Forum: Scripts Topic: libcurl Wrapper (WIP) |
| DeathByNukes |
|
Posted: May 20th, 2010, 9:19 am
|
|
Replies: 50 Views: 10950
|
| After some quick googling, it seems that you need to use CURLOPT_QUOTE in CurlEasySetOption to send a list of FTP commands. Use the DELE command. |
|
 |
| Sort by: |