Search found 13 matches

by potscrubber
11 Jul 2019, 22:20
Forum: Scripts and Functions
Topic: [function collection] AHK-Rare with comfortable Gui for searching
Replies: 29
Views: 7430

Re: [function collection] AHK-Rare

I might be wrong, but it seems to me that FindChildWindow() has dependencies with GetClassNN(), GetClassNN_EnumChildProc() which do not seem to incuded.
Versions of them may be found here https://autohotkey.com/board/topic/85114-detecting-new-child-window/ - I'm not sure if they are correct though.
by potscrubber
28 Jun 2019, 07:08
Forum: Scripts and Functions
Topic: CommentBox() - Turn comments into a block for easier readability
Replies: 16
Views: 3096

Re: CommentBox() - Turn comments into a block for easier readability

So I sorted out the issues I was having in SciTE4AHK by changing the Send statements to SendEvent. I always start a new script with the AHK new script default header which includes: SendMode Input ; Recommended for new scripts due to its superior speed and reliability. But this seemed to break the f...
by potscrubber
28 Jun 2019, 06:09
Forum: Scripts and Functions
Topic: CommentBox() - Turn comments into a block for easier readability
Replies: 16
Views: 3096

Re: CommentBox() - Turn comments into a block for easier readability

How can I get my Scite4Autohotkey to show the corners like notepad? I used notepad to save my CommentBox() script as unicode, then I tested on Scite4Autohotkey and the unicode characters are replaced by ansi characters. In Scite4Autohotkey, for the document, check the menu setting File / Encoding. ...
by potscrubber
27 Jun 2019, 19:50
Forum: Scripts and Functions
Topic: CommentBox() - Turn comments into a block for easier readability
Replies: 16
Views: 3096

Re: CommentBox() - Turn comments into a block for easier readability

So I would recommend checking if you selected from behind the commenting character until the end of the last line. I have tested this on VSCode and works great, for notepad I just have to add an `r every line break. I would like to know if this funtionality replicates on your machine, and if it doe...
by potscrubber
26 Jun 2019, 22:52
Forum: Scripts and Functions
Topic: CommentBox() - Turn comments into a block for easier readability
Replies: 16
Views: 3096

Re: CommentBox() - Turn comments into a block for easier readability

Ha! Nice trick, thanks!

I only got it to work properly a few times though. There's some unreliability somewhere... sometimes noting happens, sometimes I get the output:

Code: Select all

topLine +----+
topLine ¦    ¦
topLine +----+
Would be great to firm it up!
by potscrubber
07 May 2019, 06:07
Forum: Ask For Help
Topic: WMI and UAC problem
Replies: 2
Views: 559

Re: WMI and UAC problem

YoucefHam, I appreciate your reply, but this looks like another way to run the script as admin, and no solution to my OP query with regards to WMI only seeing non-elevated processes unless the script itself is elevated?
thanks
by potscrubber
05 May 2019, 21:57
Forum: Ask For Help
Topic: WMI and UAC problem
Replies: 2
Views: 559

WMI and UAC problem

Hello All I've been wrestling with a small issue for a while, tinkering and searching for hints hasn't revealed the answer. Maybe someone can educate me directly? :) I use the following function often to check for the presence of several different processes (and versions). CheckProcess() { local Res...
by potscrubber
20 Feb 2019, 03:43
Forum: Ask For Help
Topic: InstallMouseHook vs Mousemove Topic is solved
Replies: 5
Views: 799

Re: InstallMouseHook vs Mousemove Topic is solved

HEY SWAGFAG & HELGEF Thanks a lot for the information. You pointed me to a path that resulted in a happy resolution by doing a SendMode Event before each MouseMove (and back to SendMode Input after it) in Script 2. I must admit the SendMode's have been a very fuzzy area for me as I tend to use AHK m...
by potscrubber
17 Feb 2019, 11:43
Forum: Ask For Help
Topic: InstallMouseHook vs Mousemove Topic is solved
Replies: 5
Views: 799

InstallMouseHook vs Mousemove Topic is solved

Hello Community Wondering if anyone can shed light on my issue. In this usage case I have two different scripts active. Script 1 invokes #InstallMouseHook and a HotKey. If Script 1 is active, Script 2's operations with MouseMove are severly impeded. The "mouse moves" several factors slower if Script...
by potscrubber
15 Feb 2019, 17:31
Forum: About This Community
Topic: Issues with registering, Post your username here...
Replies: 729
Views: 1195074

Re: Issues with registering, Post your username here...

Hello. I have been registered for sometime with username potscrubber. I can't create a new topic in Ask for Help - when I hit post, I get a blank white page in Firefox, and an internal server 500 error in IE. I've tried multiple times over many days. Thanks!
by potscrubber
11 Sep 2017, 16:34
Forum: Ask For Help
Topic: DllCall returning const char **
Replies: 4
Views: 745

Re: DllCall returning const char **

Hello Helgef . I didn't quite write the way you did first time, but using your code above I get err returning -9996 which means Invalid device. That's the other common result I've had apart from exceptions. But thanks for the suggestion. I will keep tinkering, you may have set me on the right path. ...
by potscrubber
11 Sep 2017, 07:34
Forum: Ask For Help
Topic: DllCall returning const char **
Replies: 4
Views: 745

Re: DllCall returning const char **

Hi Helgef Thanks for your reply, much appreciated. When I try ptr* I get the access violation exception that I mentioned before. I've tried dozens of combinations in the past, but as you can tell, I'm stabbing in the dark as I don't fully understand data types and memory pointers. If you did want to...
by potscrubber
11 Sep 2017, 06:24
Forum: Ask For Help
Topic: DllCall returning const char **
Replies: 4
Views: 745

DllCall returning const char **

Hello AHK guru's I have a pretty good background with ahk macro's and app manipulations. I have delved into DllCall's for some basic tasks and got things happening. AHK is great! I have hit a wall with this though. I am querying the well known PortAudio audio I/O library. I can initialize it, and ge...

Go to advanced search