| Author |
Message |
Forum: Custom Topic: [AHK L] DBA 1.2 (OOP-SQL DataBase {SQLite, MySQL, ADO}) |
| panofish |
|
Posted: Yesterday, 9:34 pm
|
|
Replies: 76 Views: 6262
|
| Can you or infogulch provide a simple working example of error handling for query where the user could handle errors in a batch program AND another example where the user allows the library to handle and display friendly errors with a msgbox? I think a variety of working examples would be useful for... |
|
 |
Forum: Scripts Topic: printf function which closely emulates perl and c++ |
| panofish |
|
Posted: May 9th, 2012, 11:43 pm
|
|
Replies: 1 Views: 244
|
| Minor bugfix for properly handling integers as floats so that zero filling works properly with integers. |
|
 |
Forum: Scripts Topic: Webcam capture (WDM) with motion detection in AHK |
| panofish |
|
Posted: May 5th, 2012, 5:49 am
|
|
Replies: 36 Views: 12153
|
I have a lifecam cinema webcam. This script works, but only at resolution 320. How, can I modify the script to work at full resolution of 1280x1024 ? |
|
 |
Forum: Support Topic: Microsoft xmldom parsing problems |
| panofish |
|
Posted: May 2nd, 2012, 8:20 pm
|
|
Replies: 2 Views: 69
|
|
 |
Forum: Support Topic: Microsoft xmldom parsing problems |
| panofish |
|
Posted: May 1st, 2012, 5:01 pm
|
|
Replies: 2 Views: 69
|
| I'm using the microsoft xmldom parser object to parse my xml and it works great! My problem: My xml file is version 1.1 and includes a reference to a schema and ms xmldom doesnt like these 2 things. My current work-around is to change the xml header to 1.0 and remove the schema. Is there a better so... |
|
 |
Forum: Custom Topic: [AHK L] DBA 1.2 (OOP-SQL DataBase {SQLite, MySQL, ADO}) |
| panofish |
|
Posted: April 26th, 2012, 3:44 am
|
|
Replies: 76 Views: 6262
|
| Yes, I agree. I was just using an example to demonstrate what I wanted to say. I'm all for a "pure" solution. I wanted to emphasize the importance of flexibility and simplicity, so I think we are in agreement. Your suggestion looks like it fits the bill! I have plenty of production source ... |
|
 |
Forum: Custom Topic: [AHK L] DBA 1.2 (OOP-SQL DataBase {SQLite, MySQL, ADO}) |
| panofish |
|
Posted: April 25th, 2012, 5:31 pm
|
|
Replies: 76 Views: 6262
|
| Most users will want a clean and simple way to handle errors, they will mostly be focused on their sql logic. The following 2 examples are how my mysql library handles errors automatically OR manually. Example 1 will fail with a friendly system msgbox error if there is an sql syntax or if the delete... |
|
 |
Forum: Custom Topic: [AHK L] DBA 1.2 (OOP-SQL DataBase {SQLite, MySQL, ADO}) |
| panofish |
|
Posted: April 25th, 2012, 3:05 pm
|
|
Replies: 76 Views: 6262
|
| I'm excited to see progress on the library. #1 for me is error handling: I would like to see msgbox errors by default, with the ability to indicate no msgbox and just return error codes/messages. This can save a lot of coding in some programs where you dont want to add error handling logic, but you ... |
|
 |
Forum: Custom Topic: [AHK L] DBA 1.2 (OOP-SQL DataBase {SQLite, MySQL, ADO}) |
| panofish |
|
Posted: April 20th, 2012, 6:31 pm
|
|
Replies: 76 Views: 6262
|
I also write batch programs that access my database. I don't want a msgbox when an error occurs in batch mode, I want to log the error, yet continue processing.
How can I indicate that I don't want a msgbox error if my db.query fails... I just want the error code and error string returned? |
|
 |
Forum: Custom Topic: [AHK L] DBA 1.2 (OOP-SQL DataBase {SQLite, MySQL, ADO}) |
| panofish |
|
Posted: April 20th, 2012, 3:49 pm
|
|
Replies: 76 Views: 6262
|
| What about support for mysql commit and rollback? |
|
 |
Forum: Scripts Topic: printf(), the AHK way |
| panofish |
|
Posted: April 16th, 2012, 6:17 pm
|
|
Replies: 9 Views: 1058
|
|
 |
Forum: Custom Topic: [AHK L] DBA 1.2 (OOP-SQL DataBase {SQLite, MySQL, ADO}) |
| panofish |
|
Posted: April 16th, 2012, 5:46 am
|
|
Replies: 76 Views: 6262
|
| IsNull is already aware of the need to prefix class names. I'm sure he'll get to it when he can. Please prefix the classes. It takes a while to debug these errors which are caused by using a variable of the same name as a class. This is an excerpt of my code that was failing. The get for rec["s... |
|
 |
Forum: Scripts Topic: printf function which closely emulates perl and c++ |
| panofish |
|
Posted: April 13th, 2012, 9:39 pm
|
|
Replies: 1 Views: 244
|
| Finally, a printf function in AutoHotkey that is almost the same as printf functions in other languages. I impressed myself with this one, but there is still room for improvement to fully implement all functionality as documented here http://www.cplusplus.com/reference/clibrary/cstdio/printf/ . It w... |
|
 |
Forum: Support Topic: URL Encoding and Decoding of Special Characters |
| panofish |
|
Posted: April 2nd, 2012, 7:04 pm
|
|
Replies: 13 Views: 3692
|
| I found a small bug in the earlier code. I was using it to encode strings for a slightly different purpose than just url encoding. The bug: any character that encodes as a single hex character (like linefeed = 0xA) is not zero filled and should be 0x0A so that it will decode correctly later. Here is... |
|
 |
Forum: Scripts Topic: getopt command line option / parameter function |
| panofish |
|
Posted: March 29th, 2012, 8:21 pm
|
|
Replies: 7 Views: 594
|
That command may not fully support an object variable.
Try setting a standard variable and using that variable instead like this:
Code: if (parm.end != "End") { parmend := parm.end ControlSend, Edit2, parmend } |
|
 |
| Sort by: |