| View previous topic :: View next topic |
| Author |
Message |
Drugwash
Joined: 08 Sep 2008 Posts: 608 Location: Ploiesti, RO
|
Posted: Tue Feb 17, 2009 5:19 pm Post subject: |
|
|
I thought it would be something easy too add. Whenever AHK will support Unicode (and that may happen soon, at least in Lexicos' version), it will definitely come in handy, but even before that, it may still be of use for interfacing with DllCalls, IMHO.
Anyway, it's your choice - not trying to push or anything. Thanks for all your work so far! |
|
| Back to top |
|
 |
majkinetor ! Guest
|
Posted: Tue Feb 17, 2009 7:04 pm Post subject: |
|
|
| I didn't say its hard to add, just that it takes time and only several ppl will benefit |
|
| Back to top |
|
 |
Drugwash
Joined: 08 Sep 2008 Posts: 608 Location: Ploiesti, RO
|
Posted: Tue Feb 17, 2009 7:17 pm Post subject: |
|
|
I've been providing help and support at the Miranda IM forums board for five years or more so I know a thing or two about taking time to do something. But it feels so good making other people happy...  |
|
| Back to top |
|
 |
majkinetor ! Guest
|
Posted: Tue Feb 17, 2009 8:00 pm Post subject: |
|
|
I am one of those people too  |
|
| Back to top |
|
 |
Drugwash
Joined: 08 Sep 2008 Posts: 608 Location: Ploiesti, RO
|
Posted: Tue Feb 17, 2009 8:23 pm Post subject: |
|
|
I hope you're one of the happy ones.  |
|
| Back to top |
|
 |
Joy2DWorld
Joined: 04 Dec 2006 Posts: 537 Location: Galil, Israel
|
Posted: Wed Feb 18, 2009 1:21 am Post subject: |
|
|
| majkinetor wrote: |
2 Joy
The Win9x is dead to me . And MS doesn't support it anymore.
And if AHK supports it does it mean that I have to support it ?
| Quote: | | ps: sorry to say, but dead systems or not, the use of multdiv just wasn't coded right. part of the multdiv function is to return a possible ERROR value of -1, but the code IGNORES THAT. |
In AHK, you can regulary see that script ignores some or all of errors. But you are right, module shouldn't. |
1. am a huge fan of your modules, btw.
2. obviously, not possible to code for all systems all the time. Just that if small issue makes module universal (ie. win98 downward compat.), seems potentially very useful to keep modules (when easy and possible) within same working params as AHK.
obviously, many things not possible in '98 and no need to put effort into backwards tools.....
3. myself ignore often dll and other errors, just seems on MATH function where can have divide by zero etc. error, that managing return values (including 'error' return) probably worth the effort.
but then again,
what do I know... _________________ Joyce Jamce |
|
| Back to top |
|
 |
majkinetor
Joined: 24 May 2006 Posts: 4114 Location: Belgrade
|
Posted: Wed Feb 18, 2009 10:33 am Post subject: |
|
|
| Quote: | | Just that if small issue makes module universal (ie. win98 downward compat.), seems potentially very useful to keep modules (when easy and possible) within same working params as AHK. |
I agree. Thats why I said Ill update it.  _________________
 |
|
| Back to top |
|
 |
Joy2DWorld
Joined: 04 Dec 2006 Posts: 537 Location: Galil, Israel
|
Posted: Wed Feb 18, 2009 2:14 pm Post subject: |
|
|
| majkinetor wrote: | | Quote: | | Just that if small issue makes module universal (ie. win98 downward compat.), seems potentially very useful to keep modules (when easy and possible) within same working params as AHK. |
I agree. Thats why I said Ill update it.  |
yeah,
I think you provide a gateway for large # of ahk users w/ the modules.
(same fo Lex, Sean, Las, ec.,,) _________________ Joyce Jamce |
|
| Back to top |
|
 |
tidbit
Joined: 10 Mar 2008 Posts: 674 Location: USA
|
Posted: Mon Mar 30, 2009 4:47 am Post subject: |
|
|
I've been using the CmnDlg_Color function and i love it, however it is not returning any false/errorlevel when i press Cancel or the X.
i am using The latest Autohotkey version
my script is here: http://www.autohotkey.com/forum/viewtopic.php?p=259474 and i included the function in my code. could that be the cause? _________________ rawr. be very affraid
*poke*
Note: My name is all lowercase for a reason.
Last edited by tidbit on Sun Jul 12, 2009 11:28 pm; edited 1 time in total |
|
| Back to top |
|
 |
NickJ
Joined: 07 Mar 2009 Posts: 3
|
Posted: Mon Apr 20, 2009 7:28 pm Post subject: |
|
|
Found a bug / issue with CmnDlg_Open - SetWorkingDir is altered to the selected folder.
If you call this function, you will need to set it back to what it was, e.g.
| Code: |
SetWorkingDir %a_scriptDir%
|
Hopefully i will stop other's a few hours of hair-pulling! |
|
| Back to top |
|
 |
majkinetor
Joined: 24 May 2006 Posts: 4114 Location: Belgrade
|
Posted: Sun Jul 12, 2009 11:57 am Post subject: |
|
|
v 5.0
- Name changed to Dlg.
- Code style updated.
- Bugfix : Save dialog didn't have "Save" button but "Open"
- Docs update, added remarks about changing working dir (this is done by OS, it happens in every app).
- Small fixes and optimisations.
- Licence changed to GNU.
2tidbit
| Code: |
;incorrect (your code)
CmnDlg_Color( Color := 0xFF00AA )
if Color=false
return
; correct
if !Dlg_Color( color, hGui ) ;color is set to default at start, not here.
return
|
_________________
 |
|
| Back to top |
|
 |
Drugwash
Joined: 08 Sep 2008 Posts: 608 Location: Ploiesti, RO
|
Posted: Sun Jul 12, 2009 2:21 pm Post subject: |
|
|
| Dlg.rar throws a 404 error. Corrupt upload or bad name? |
|
| Back to top |
|
 |
majkinetor
Joined: 24 May 2006 Posts: 4114 Location: Belgrade
|
Posted: Sun Jul 12, 2009 2:26 pm Post subject: |
|
|
Fixed. Thx. _________________
 |
|
| Back to top |
|
 |
jballi
Joined: 01 Oct 2005 Posts: 537 Location: Texas, USA
|
Posted: Sun Jul 12, 2009 10:01 pm Post subject: |
|
|
First of all, thanks for this library. I have a few scripts that use this library (mostly v4.10) with great success. I just started to look at version 5.0 and it looks like another winner.
There are a couple of trivial things I wanted to mention/ask while I was thinking about 'em.
This may have existed in the earlier versions but in version 5.0, you include an image of the Replace dialog that shows a Direction group with options for Up, Down, and Selection. My standard Replace dialog (Windows XP) doesn't show this group at all (Down direction is assumed) and the Dlg library doesn't account for the Selection option. I went searching on the interwebs for this image and the only place I found it was in the "Find and Replace Dialog Boxes" section of the Microsoft documentation. Other than the image, the documentation made no reference to the Selection option. Do these options exist in any OS version or is this image a result of a Microsoft never-got-around-to-updating-it documentation thing? The Microsoft documentation refers to buttons on the Replace dialog that don't exist on the image so I'm pretty sure this is the case.
The Replace function has one other tiny glitch that I noticed in v4.10 but it persists in v5.0. As I mentioned earlier, the standard Replace dialog on my OS dosen't include a Direction group so Down is assumed. The Find event correctly sends the "d" (Down) flag but the Replace and Replace All events do not. Since these flags are used interchangeably by the Find and Replace dialogs (well, at least by me) it would be nice if the Replace and Replace All events sent the "d" flag as well.
Thank you for your consideration. Keep up the good work!  |
|
| Back to top |
|
 |
majkinetor
Joined: 24 May 2006 Posts: 4114 Location: Belgrade
|
Posted: Sun Jul 12, 2009 10:25 pm Post subject: |
|
|
Hello.
About Replace dialog, I know about the missing buttons problem and it seems to me that this is OS thing... I hope that someone can prove I am wrong.
About "d" problem, sure.
Thx for input. _________________
 |
|
| Back to top |
|
 |
|