Search found 125 matches
- 30 Jul 2020, 16:48
- Forum: Scripts and Functions
- Topic: RunCMD() v0.94 : Capture stdout to variable. Non-blocking version. Pre-process/omit individual lines.
- Replies: 121
- Views: 28555
Re: RunCMD() v0.94 : Capture stdout to variable. Non-blocking version. Pre-process/omit individual lines.
Magnificent! Thank you for the streaming version SKAN.
- 02 Jul 2020, 10:35
- Forum: Scripts and Functions
- Topic: RunCMD() v0.94 : Capture stdout to variable. Non-blocking version. Pre-process/omit individual lines.
- Replies: 121
- Views: 28555
- 30 Jun 2020, 14:36
- Forum: Offtopic
- Topic: Report False-Positives To Anti-Virus Companies
- Replies: 64
- Views: 313119
Re: Report False-Positives To Anti-Virus Companies
Symantec has identified parts of AutoHotkey_1.1.33.00_setup.exe as malicious based on heuristic rules. I have submitted it to them as a false positive, but now I have corporate Incident Response breathing down my neck (not that I blame them, it's their job to stay on top of any and all potential thr...
- 26 Jun 2020, 14:42
- Forum: About This Community
- Topic: Version in Docs <> Version in Download
- Replies: 2
- Views: 1342
Re: Version in Docs <> Version in Download
Thanks. Sorry I didn't notice the other topic before posting.
- 26 Jun 2020, 13:53
- Forum: About This Community
- Topic: Version in Docs <> Version in Download
- Replies: 2
- Views: 1342
Version in Docs <> Version in Download
Thought I would put this here since the forum category description included discussion about "this website". A while ago, the version in the changelog was updated to V1.1.33.00, but the Download Current Version on the main website retrieves AutoHotkey_1.1.32.00_setup.exe. This is a bit confusing sin...
- 08 Jun 2020, 14:06
- Forum: Forum Issues
- Topic: Archived Forums Search Gives 403 Error
- Replies: 1
- Views: 422
Archived Forums Search Gives 403 Error
Trying to perform a custom search on the Archived Forums results in a 403 Error for me. Is this a known issue?
- 02 Jun 2020, 17:15
- Forum: Ask For Help
- Topic: Check if variable exists without querying its contents
- Replies: 5
- Views: 433
Re: Check if variable exists without querying its contents
I forgot about that function, thanks. It makes getting the list of global variables easier. I guess I'd still have to do something inline to get the local variables.gregster wrote: ↑02 Jun 2020, 16:47Perhaps this helps: https://www.autohotkey.com/boards/viewtopic.php?f=6&t=9656
- 02 Jun 2020, 16:32
- Forum: Ask For Help
- Topic: Check if variable exists without querying its contents
- Replies: 5
- Views: 433
Re: Check if variable exists without querying its contents
Would it be possible/reasonable to silently query the variables list from the script's main window? Not elegant, but a proof of concept: #Warn All, StdOut ; Enable warnings to assist with detecting common errors. ; Check a variable that does not exist, and display the text we're checking against Ms...
- 02 Jun 2020, 13:49
- Forum: Ask For Help
- Topic: Check if variable exists without querying its contents
- Replies: 5
- Views: 433
Re: Check if variable exists without querying its contents
Do you mean that you want to check if a variable has been assigned a value without triggering a warning if it hasn't? Yes, exactly this. V2 has isSet for that, I don't think it was added to v1, in which case there is no way to do that in v1. That is exactly what I'm looking for, but yes I meant for...
- 02 Jun 2020, 12:40
- Forum: Scripts and Functions
- Topic: [Class] GuiControlTips - Tooltips for GUI controls
- Replies: 13
- Views: 5394
Re: [Class] GuiControlTips - Tooltips for GUI controls
Was it intended to set a static constant for WS_EX_TOPMOST? Maybe this?
Code: Select all
Static WS_EX_TOPMOST := 0x00000008 ; Source: https://docs.microsoft.com/en-us/windows/win32/winmsg/extended-window-styles
- 02 Jun 2020, 12:33
- Forum: Ask For Help
- Topic: Check if variable exists without querying its contents
- Replies: 5
- Views: 433
Check if variable exists without querying its contents
Is there a way to check if a variable has been defined without querying its contents? I'm looking for a IsVariable(), somewhat analogous to IsObject(), IsFunc(), or Object.HasKey(). What I want to avoid is doing something like #Warn All, StdOut ; Enable warnings to assist with detecting common error...
- 10 Apr 2020, 09:36
- Forum: Offtopic
- Topic: Report False-Positives To Anti-Virus Companies
- Replies: 64
- Views: 313119
Re: Report False-Positives To Anti-Virus Companies
roysubs From a quick search, it appears Chrome uses the Google Safe Browsing API to determine if a download or site is malicious. You can read the articles on " Malware and Unwanted Software " and " Security Issues Report ", however, submitting false positive reports doesn't appear to be strait for...
- 27 Mar 2020, 15:39
- Forum: Scripts and Functions
- Topic: MemoryFileIO
- Replies: 17
- Views: 3632
Re: MemoryFileIO
So I should use this as my new line? Bin := New MemoryFileIO(FileOpen(BinToDecompile,"r").ReadRaw()) I'm not familiar with .ReadRaw(). In general, you'll want to read a file into memory, and then initialize MemoryFIleIO to point to that buffer. Alternatively, you can initialize MemoryFileIO with a ...
- 24 Jan 2020, 18:02
- Forum: Tutorials
- Topic: How to optimize the speed of a script as much as possible.
- Replies: 102
- Views: 109120
Re: How to optimize the speed of a script as much as possible.
What is the specific mechanism I need to initiate through AHK to push CPU rate up to at least x2 or ~50% or even more than this ? AHK is single threaded. Each instance of a running script will only ever use a single CPU core. You can SetBatchLines to -1 and change the process priority to above norm...
- 09 Jan 2020, 15:26
- Forum: Scripts and Functions
- Topic: MemoryFileIO
- Replies: 17
- Views: 3632
Re: MemoryFileIO
It's not released under any particular license. Feel free to assume WTFPL, so you're welcome to do what you want with it, including rename it. I believe that legally, if the author doesn't specify a license, than the most restrictive rules on copyright apply. If the author wants to allow for libera...
- 08 Jan 2020, 12:58
- Forum: Ask For Help
- Topic: Simplifying an A_Args parse?
- Replies: 6
- Views: 899
Re: Simplifying an A_Args parse?
Instead of defining the individual vars as global, I would suggest to set an Settings object as super global and fill it with the command line parameters. Agreed. Global Settings:={} A_Args:=["asdf","jkl","abcd"] ; Just for this example For Index, Value in A_Args Settings[Value]:=1 MsgBox % Setting...
- 07 Jan 2020, 17:47
- Forum: Ask For Help
- Topic: Simplifying an A_Args parse?
- Replies: 6
- Views: 899
Re: Simplifying an A_Args parse?
From docs : Also note that it is not currently possible to declare a dynamic variable such as global Array%i%. Prevents you from doing For Index, Value in A_Args Global %Value%:=1 Which sounds like what you want. Use Switch or make it a bit faster and concise For Index, Value in A_Args { If (Value="...
- 29 Nov 2019, 15:34
- Forum: Tutorials
- Topic: How to optimize the speed of a script as much as possible.
- Replies: 102
- Views: 109120
Re: How to optimize the speed of a script as much as possible.
What is the specific mechanism I need to initiate through AHK to push CPU rate up to at least x2 or ~50% or even more than this ? AHK is single threaded. Each instance of a running script will only ever use a single CPU core. You can SetBatchLines to -1 and change the process priority to above norm...
- 28 Nov 2019, 20:05
- Forum: Tutorials
- Topic: How to optimize the speed of a script as much as possible.
- Replies: 102
- Views: 109120
Re: How to optimize the speed of a script as much as possible.
Anyone have problems with an AHK script that at first sight works (in my case it's a RegExReplace function), but after a few parses the file (or appended file) will reduce to 0kb? I'm running 1 ahk regex script on a file that's a little bit over 1000kb. I can delete data from these files or apply t...
- 27 Jul 2019, 09:25
- Forum: Offtopic
- Topic: utilities/websites to test a PC's speed
- Replies: 3
- Views: 1488
Re: utilities/websites to test a PC's speed
MATLAB's bench() function, with a few iterations.