Search found 169 matches

by Cerberus
13 Sep 2020, 12:46
Forum: Editors
Topic: AHK Gen.com - looking for beta testers for new features
Replies: 5
Views: 1144

Re: AHK Gen.com - looking for beta testers for new features

Perhaps it would help if you explained what this site is all about. As it stands, there is no information whatsoever in this forum post, so people will be unlikely to go and Google for information they would expect to be here.
by Cerberus
19 Jun 2020, 21:51
Forum: Scripts and Functions
Topic: Screen clipping
Replies: 184
Views: 67902

Re: Screen clipping

Hi, from the list of Screen Capturing version posted here I use yours just because simplicity. But I can't seem to use the Imgur auto-upload function. I have retrieved my client ID and put it on the script and having the notification of "Clipboard has URL of image" When I checked my Imgur uploaded ...
by Cerberus
01 Jun 2020, 17:32
Forum: Scripts and Functions
Topic: WinMoveZ() : Moves, but confines a window to the work area of target monitor
Replies: 7
Views: 667

Re: WinMoveZ() : Moves, but confines a window to the work area of target monitor

This looks very useful! great work. So it says "confine": suppose the window would be placed partly outside the screen, what would happen: Would the window keep the same size but be moved such that it is entirely inside the screen? Or will it be resized at the sides that partly fall outside the wind...
by Cerberus
16 May 2020, 08:58
Forum: Scripts and Functions
Topic: RunAsTask() - Auto-elevates script without UAC prompt
Replies: 99
Views: 42008

Re: RunAsTask() - Auto-elevates script without UAC prompt

Support for command-line parameters sounds interesting?
by Cerberus
25 Apr 2020, 13:45
Forum: Scripts and Functions
Topic: AutoTyper
Replies: 8
Views: 1693

Re: AutoTyper

Hmm what does this script do? Even more people might try it if the first post had a little description.
by Cerberus
25 Apr 2020, 13:43
Forum: Ask For Help
Topic: Stand-alone syntax validator?
Replies: 17
Views: 3697

Re: Stand-alone syntax validator?

Lexicos Thank you for your reply! It seems HotkeyIt has found a way to make it work, by adding a locale option to ERR_PRINT in the source code: AFAIK, in ahk source code for unicode build setlocale() needs to be added to ERR_PRINT -> #define ERR_PRINT(fmt, ...) _ftprintf(stderr, fmt, __VA_ARGS__, s...
by Cerberus
25 Apr 2020, 13:35
Forum: Scripts and Functions
Topic: DOS-HELP
Replies: 5
Views: 653

Re: DOS-HELP

Interesting: what does the script do? What is it for?
by Cerberus
22 Apr 2020, 12:44
Forum: Scripts and Functions
Topic: RunCMD() v0.94 : Capture stdout to variable. Non-blocking version. Pre-process/omit individual lines.
Replies: 121
Views: 27797

Re: RunCMD()

@burque505
Excellent, thank you for testing.
by Cerberus
22 Apr 2020, 11:26
Forum: Scripts and Functions
Topic: [Library] Chrome.ahk - Automate Google Chrome using native AutoHotkey. No Selenium!
Replies: 332
Views: 141033

Re: [Library] Chrome.ahk - Automate Google Chrome using native AutoHotkey. No Selenium!

@Joe Glines
Out of curiosity, in what ways do you feel IE objects are more robust than Chrome.ahk?
by Cerberus
21 Apr 2020, 22:11
Forum: Scripts and Functions
Topic: RunCMD() v0.94 : Capture stdout to variable. Non-blocking version. Pre-process/omit individual lines.
Replies: 121
Views: 27797

Re: RunCMD()

Perfect! I'm really looking forward to the next version now! Hoping Lexikos will find the time to approve of your addition soon (I'm assuming he has to).
by Cerberus
21 Apr 2020, 22:08
Forum: Scripts and Functions
Topic: RunCMD() v0.94 : Capture stdout to variable. Non-blocking version. Pre-process/omit individual lines.
Replies: 121
Views: 27797

Re: RunCMD()

@SKAN Ah, I'm sorry, I misunderstood: you were approaching the issue systematically. Thanks again.
by Cerberus
21 Apr 2020, 20:16
Forum: Scripts and Functions
Topic: RunCMD() v0.94 : Capture stdout to variable. Non-blocking version. Pre-process/omit individual lines.
Replies: 121
Views: 27797

Re: RunCMD()

@HotKeyIt
Ohh this is great! Thanks for looking and testing. I really have no idea how Github works, but do you think there is any chance that this could be added to Autohotkey eventually?
by Cerberus
21 Apr 2020, 17:56
Forum: Scripts and Functions
Topic: RunCMD() v0.94 : Capture stdout to variable. Non-blocking version. Pre-process/omit individual lines.
Replies: 121
Views: 27797

Re: RunCMD()

SKAN Thank you for your help. The thing is, I'm trying to catch error message output by Autohotkey.exe: I'm not just trying to echo something. So I really need to use something like this, for the command that is to be executed: ScriptFile = C:\Users\User\Desktop\test.ahk Command := A_AhkPath . " /i...
by Cerberus
20 Apr 2020, 19:06
Forum: Scripts and Functions
Topic: RunCMD() v0.94 : Capture stdout to variable. Non-blocking version. Pre-process/omit individual lines.
Replies: 121
Views: 27797

Re: RunCMD()

burque505 Thank you for testing again. Lexikos suggested that StdoutToVar() might produce the correct Unicode output, because it uses CreateProcess; I never got around to testing that, because I couldn't figure out how to get StdoutToVar() working. Now, in SKAN's code, I noticed DllCall("CreateProc...
by Cerberus
20 Apr 2020, 18:52
Forum: Ask For Help
Topic: Stand-alone syntax validator?
Replies: 17
Views: 3697

Re: Stand-alone syntax validator?

Is that a limitation of Windows exec [...]? Yes. The workaround is to use CreateProcess directly. Search "StdoutToVar" for examples. Oh, it seems I never replied to you. Thank you for clearing this up! At least I know I'm not crazy now. Meanwhile, SKAN has posted a new version of 'StdoutToVar': htt...
by Cerberus
19 Apr 2020, 16:44
Forum: Scripts and Functions
Topic: RunCMD() v0.94 : Capture stdout to variable. Non-blocking version. Pre-process/omit individual lines.
Replies: 121
Views: 27797

Re: RunCMD()

burque505 Hi! Thank you for thinking along with me there. The thing is, I'm looking for a way to get error messages from Autohotkey into a variable. I'm making a linter, which uses A_AhkPath . " /iLib NUL /ErrorStdOut """ ScriptFile """ 2>&1 |more" or similar to get any load errors that Autohotkey....
by Cerberus
19 Apr 2020, 07:46
Forum: Scripts and Functions
Topic: RunCMD() v0.94 : Capture stdout to variable. Non-blocking version. Pre-process/omit individual lines.
Replies: 121
Views: 27797

Re: RunCMD()

@SKAN Thank you for trying. Then at least I know I have done what I could.
by Cerberus
18 Apr 2020, 13:38
Forum: Scripts and Functions
Topic: RunCMD() v0.94 : Capture stdout to variable. Non-blocking version. Pre-process/omit individual lines.
Replies: 121
Views: 27797

Re: RunCMD()

Thank you very much for this, it works! I'm having one little issue, though, which may not be relevant to your function. When I use it to error-check an Autohotkey script (see code), I don't get the proper output for certain Unicode characters from the error messages: ScriptFile = C:\Users\User\Desk...
by Cerberus
12 Apr 2020, 23:04
Forum: Scripts and Functions
Topic: LineStr() : Extract any line or consecutive lines from text
Replies: 20
Views: 2819

Re: LineStr() : Extract any line or consecutive lines from text

@SKAN Thanks! So, if I understand this correctly, with a 10 MB file, your method should be faster than FileReadLine? Or are both methods about aequally fast? LineStr() should be faster and more importantly flexible... for eg. reading n tail lines from a file isn't possible with FileReadLine Great!

Go to advanced search