Search found 63 matches

by Verdlin
26 Oct 2017, 09:53
Forum: Ask For Help
Topic: See if High Contrast Theme is On -- Help with DllCall("SystemParametersInfo") Topic is solved
Replies: 2
Views: 561

See if High Contrast Theme is On -- Help with DllCall("SystemParametersInfo") Topic is solved

Using Autohotkey_H. I'm trying to check if a high contrast theme is on ( see this link for a C++ example ) DllCall returns 0, but dwFlags is always 0, even when the high contrast theme is off. What am I doing wrong? vHighContrast := Struct("UINT cbSize, DWORD dwFlags, LPTSTR lpszDefaultScheme", {cbS...
by Verdlin
05 Jan 2017, 16:00
Forum: Ask For Help
Topic: IPC: C# --> AHK Topic is solved
Replies: 3
Views: 1170

Re: IPC: C# --> AHK Topic is solved

Is this C# dll loaded into your script, or loaded into a separate process? "IPC" usually means inter-process communication, which means communication between two or more processes. I would suggest using an object/class. If you need to communicate with another process, you can use ObjRegisterActive ...
by Verdlin
04 Jan 2017, 13:43
Forum: Ask For Help
Topic: IPC: C# --> AHK Topic is solved
Replies: 3
Views: 1170

IPC: C# --> AHK Topic is solved

I've created a simple C# dll which I'm trying to leverage with AHK. There are more than enough IPC: AHK --> AHK examples. I have yet to find a C# --> AHK example. I'm open to suggestions, but would rather one of these methods: Register callback so that AHK code invokes upon C# function invoke Named ...
by Verdlin
30 Aug 2016, 11:06
Forum: Scripts and Functions
Topic: class_EasyIni:Native syntax-Ini.Section.Key:=val +Formatting
Replies: 18
Views: 6725

Re: class_EasyIni:Native syntax-Ini.Section.Key:=val +Formatting

I really appreciate your great work. I have a simply question. When I use obj.save() then after saved data remove in obj.save()? Sorry, I am not a navite speaker in english. Thank you, YellowPeanuts! Yes, our language barrier makes it a little difficult for me to understand your question, but I'll ...
by Verdlin
25 Jul 2016, 08:20
Forum: Scripts and Functions
Topic: class_EasyIni:Native syntax-Ini.Section.Key:=val +Formatting
Replies: 18
Views: 6725

Re: class_EasyIni:Native syntax-Ini.Section.Key:=val +Formatting

Are there any license restrictions or could we use the class in a commercial project as well? Thanks for asking! Feel free to use it. I haven't attached a license, and if I do, it would only be one which asked for attribution. So I'd just ask you to give me attribution in the same place you'll give...
by Verdlin
17 May 2016, 06:50
Forum: Scripts and Functions
Topic: Class TransparentListBox
Replies: 25
Views: 9672

Re: Class TransparentListBox

Interesting. I just noticed your signature says you run Win 10 Pro. I typically use Win 7 pro. I'm guessing that's the difference. I suppose it's not an issue in newer versions of windows.
by Verdlin
16 May 2016, 08:15
Forum: Scripts and Functions
Topic: Class TransparentListBox
Replies: 25
Views: 9672

Re: Class TransparentListBox

The update did not fix it. But, wow! After further research, I've discovered this is a "bug" with the native AHK ListBox and not your class :) I also noticed this behavior with non-AutoHotKey applications, so apparently it's a normal Windows thing. Here's what happening: After launching an explorer....
by Verdlin
13 May 2016, 06:15
Forum: Scripts and Functions
Topic: Class TransparentListBox
Replies: 25
Views: 9672

Re: Class TransparentListBox

I would also recommend putting this at the beginning of WM.Paint right before the call to BitBlt ; Update this.width and this.height in case a scrollbar was added or removed. VarSetCapacity(RECT, 16, 0) DllCall("User32.dll\GetClientRect", "Ptr", This.HLB, "Ptr", &RECT) This.Width := W := NumGet(RECT...
by Verdlin
11 May 2016, 05:05
Forum: Scripts and Functions
Topic: Class TransparentListBox
Replies: 25
Views: 9672

Re: Class TransparentListBox

So happy to see the scrolling update! I had been spending a lot of time trying to make that work and didn't think to check for an update until now :) Sometime the border around the ListBox doesn't get redrawn (until MouseOver) happens. I fixed this bug by adding the code below right before "Return 0...
by Verdlin
29 Apr 2016, 13:35
Forum: Scripts and Functions
Topic: Native DragDrop for Windows 8+ (Drag & Drop)
Replies: 0
Views: 1578

Native DragDrop for Windows 8+ (Drag & Drop)

Yes, finally somebody has figured out how to do it! Drag and Drop for AutoHotKey applications for Win8+ is now supported! This class is intended to go in your std lib folder, but, of course, you can put it wherever you want so long as you #include it. All the info is in the gist below, but here's th...
by Verdlin
14 Apr 2016, 13:24
Forum: Scripts and Functions
Topic: AutoLeap: Leap Motion Module - AHK control with your hands!
Replies: 7
Views: 2980

Re: AutoLeap: Leap Motion Module - AHK control with your hands!

Thanks! Looks like it was no mistake, I see you mentioned it in your credits on the Github project, sorry to bother on that dependency. I understand how, once you have something in your lib, it's easy to forget that not everyone has it! Just for anyone else who had trouble, I additionally needed to...
by Verdlin
12 Apr 2016, 10:35
Forum: Scripts and Functions
Topic: class_EasyIni:Native syntax-Ini.Section.Key:=val +Formatting
Replies: 18
Views: 6725

Re: class_EasyIni:Native syntax-Ini.Section.Key:=val +Formatting

thanks for your class_EasyIni!!! there's may be a bug below o := class_EasyIni("t.ini") o.t.RemoveAt(2) ;o.t.Remove(2) o.save() Return change of "t.ini" [t]      [t] 1=1     1=1 2=2     2=3 3=3     3=4 4=4     4= "4=" is the Bug? If I use Remove instead, "4=" disappeared. Yes, this is a bug and it ...
by Verdlin
11 Apr 2016, 08:46
Forum: Scripts and Functions
Topic: AutoLeap: Leap Motion Module - AHK control with your hands!
Replies: 7
Views: 2980

Re: AutoLeap: Leap Motion Module - AHK control with your hands!

Nice post Verdlin, When I try to start the Leap_Sample.ahk from your dropbox it says 'Call to nonexistent function': --------------------------- Leap_Sample.ahk --------------------------- Error: Call to nonexistent function. Specifically: st_glue(rasGestures, ", ") Line# 132: { 133: g_vLeapMsgProc...
by Verdlin
29 Sep 2015, 08:49
Forum: Scripts and Functions
Topic: class_EasyIni:Native syntax-Ini.Section.Key:=val +Formatting
Replies: 18
Views: 6725

Re: class_EasyIni:Native syntax-Ini.Section.Key:=val +Formatting

Great class, Verdlin! Do you still support it? ... So the section is still there but the contents of the next following section is transferred into it. So atm, it doesn't work with integer section names only. Can this be fixed? Thanks, Highend! This is a known bug . I've not been able to fix the bu...
by Verdlin
10 Mar 2015, 07:58
Forum: Scripts and Functions
Topic: class_EasyIni:Native syntax-Ini.Section.Key:=val +Formatting
Replies: 18
Views: 6725

Re: class_EasyIni:Native syntax-Ini.Section.Key:=val +Format

joedf wrote:Very interesting... It makes me wonder if mcode would be faster.... :P
As a general rule of thumb, I think MCode is always going to be faster than interpreted code.
bobc119 wrote:This library is awesome! I've used it for a long time now. Thank you Verdlin.
You're welcome! Thanks for the support.
by Verdlin
10 Dec 2014, 07:17
Forum: Scripts and Functions
Topic: AutoLeap: Leap Motion Module - AHK control with your hands!
Replies: 7
Views: 2980

Re: AutoLeap: Leap Motion Controller Module

Updated post to include link to a sample script. This should help you get started. It should work OOB. Simply unzip and run Leap_Sample.ahk from AutoHotkey.exe

Let me know if you have any issues, jigga. I'll be checking this post daily and frequently.
by Verdlin
09 Dec 2014, 16:45
Forum: Scripts and Functions
Topic: AutoLeap: Leap Motion Module - AHK control with your hands!
Replies: 7
Views: 2980

AutoLeap: Leap Motion Module - AHK control with your hands!

If you don't already know what a Leap Motion Controller is, then watch this video: http://www.youtube.com/watch?v=_d6KuiuteIA This is an exciting, new piece of technology that has lots of potential. The Leap SDK supports C++, Java, Unity, CSharp, and a few other prominent languages. That's great, bu...
by Verdlin
09 Dec 2014, 16:42
Forum: Scripts and Functions
Topic: class_EasyIni:Native syntax-Ini.Section.Key:=val +Formatting
Replies: 18
Views: 6725

class_EasyIni:Native syntax-Ini.Section.Key:=val +Formatting

Download (Originally posted here ) A big problem I have had will all other Ini libraries (including the old version of EasyIni) is that their syntax is too cumbersome. The point of this library is to make it as easy as possible to R/W inis; furthermore, I wanted to make the class itself easy to rea...

Go to advanced search