Search found 172 matches

by Cerberus
01 Apr 2021, 18:02
Forum: Announcements
Topic: AutoHotkey v3.0-alpha.1 - Switching to JavaScript (not really)
Replies: 32
Views: 15976

Re: AutoHotkey v3.0-alpha.1 - Switching to JavaScript

This is the way forward. Good-bye, V2.
by Cerberus
30 Mar 2021, 23:45
Forum: Scripts and Functions (v1)
Topic: ObjectSort()
Replies: 19
Views: 6260

Re: ObjectSort()

watagan wrote:
14 Dec 2020, 20:34
Here is String-object-file.ahk for those who can't find it.
...
Thank you for posting this.
by Cerberus
13 Sep 2020, 12:46
Forum: Editors
Topic: AHK Gen.com - looking for beta testers for new features
Replies: 5
Views: 5639

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 (v1)
Topic: Screen clipping
Replies: 298
Views: 128889

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 (v1)
Topic: WinMoveZ() : Moves, but confines a window to the work area of target monitor
Replies: 9
Views: 1692

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 (v1)
Topic: RunAsTask() - Auto-elevates script without UAC prompt
Replies: 121
Views: 74796

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 (v1)
Topic: AutoTyper
Replies: 8
Views: 2639

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 (v1)
Topic: Stand-alone syntax validator?
Replies: 17
Views: 7014

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 (v1)
Topic: DOS-HELP
Replies: 5
Views: 1092

Re: DOS-HELP

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

Re: RunCMD()

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

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 (v1)
Topic: RunCMD() v0.97 : Capture stdout to variable. Non-blocking version. Pre-process/omit individual lines.
Replies: 247
Views: 87344

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 (v1)
Topic: RunCMD() v0.97 : Capture stdout to variable. Non-blocking version. Pre-process/omit individual lines.
Replies: 247
Views: 87344

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 (v1)
Topic: RunCMD() v0.97 : Capture stdout to variable. Non-blocking version. Pre-process/omit individual lines.
Replies: 247
Views: 87344

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 (v1)
Topic: RunCMD() v0.97 : Capture stdout to variable. Non-blocking version. Pre-process/omit individual lines.
Replies: 247
Views: 87344

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 (v1)
Topic: RunCMD() v0.97 : Capture stdout to variable. Non-blocking version. Pre-process/omit individual lines.
Replies: 247
Views: 87344

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 (v1)
Topic: Stand-alone syntax validator?
Replies: 17
Views: 7014

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 (v1)
Topic: RunCMD() v0.97 : Capture stdout to variable. Non-blocking version. Pre-process/omit individual lines.
Replies: 247
Views: 87344

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....

Go to advanced search