Search found 75 matches

by WAZAAAAA
21 Feb 2019, 22:05
Forum: Ask For Help
Topic: Standby/Suspend/Sleep the PC with AHK takes too long
Replies: 2
Views: 411

Re: Standby/Suspend/Sleep the PC with AHK takes too long

I might be an idiot, maybe this belongs to Bug Reports
by WAZAAAAA
21 Feb 2019, 21:57
Forum: Ask For Help
Topic: Standby/Suspend/Sleep the PC with AHK takes too long
Replies: 2
Views: 411

Standby/Suspend/Sleep the PC with AHK takes too long

AutoHotkey is consistently slower than many other programs at entering Standby mode (state S3) for me by a few seconds. Tested on one machine with Win7+Win10 (dual boot) with hiberfil.sys and pagefile.sys OFF and a second Win7 machine with those ON. Admin or not made no difference. This has been dis...
by WAZAAAAA
08 Nov 2018, 17:01
Forum: Tutorials
Topic: How to optimize the speed of a script as much as possible.
Replies: 93
Views: 69086

Re: How to optimize the speed of a script as much as possible.

I tried to use the OP's code at the top and then the altered code at the bottom in one of my automation scripts that checks URLs by copying and pasting them to and from an excel spreadsheet and toggling between Chrome browser and Excel windows. It totally made my computer go haywire both times, tog...
by WAZAAAAA
19 Dec 2017, 15:03
Forum: Ask For Help
Topic: [SOLVED] Convert string to raw binary data?
Replies: 14
Views: 4461

Re: [SOLVED] Convert string to raw binary data?

To anyone that is going to use @jNizM's code, I would recommend to replace those 0x00000002 0x00000004 etc. with 0x40000002 0x40000004 etc., because the default behavior adds \r\n at the end of strings and no sane person would ever want that. Took me an embarassing amount of time to realize the func...
by WAZAAAAA
05 Dec 2017, 19:53
Forum: About This Community
Topic: Rule Poll
Replies: 59
Views: 33818

Re: Rule Poll

This forum would turn into the shitfest that is the AutoIt forum in an instant with all those arbitrary, oppressive, generic rules. Just make obvious bot spam/flood offenses bannable, that's all a forum really needs to function. The rest of the rules are too debatable and subjective. Applying them w...
by WAZAAAAA
04 Nov 2017, 07:48
Forum: Ask For Help
Topic: Show all processes with a name and then show detail Topic is solved
Replies: 8
Views: 1155

Re: Show all processes with a name and then show detail Topic is solved

this one checks many details of your running processes called svchost.exe à la task manager such as the command lines, which can help you identify fakes #SingleInstance Ignore ;request admin rights full_command_line := DllCall("GetCommandLine", "str") if not (A_IsAdmin or RegExMatch(full_command_lin...
by WAZAAAAA
02 Nov 2017, 13:07
Forum: Ask For Help
Topic: Finding a HWND in Win8.1 without UIAccess
Replies: 2
Views: 462

Re: Finding a HWND in Win8.1 without UIAccess

nah man, starting the same script I included in the thread with "Right Click -> Run with UI Access" will output the right HWND
by WAZAAAAA
01 Nov 2017, 19:01
Forum: Ask For Help
Topic: Finding a HWND in Win8.1 without UIAccess
Replies: 2
Views: 462

Finding a HWND in Win8.1 without UIAccess

I've been trying to detect the HWND/window handle of a specific window without the need to use UI Access rights. Said window appears to the right in Windows 8.1 when you press either Win+Q, Win+W or Win+S and looks like this: https://i.imgur.com/CBn4NuT.png (ahk_class:SearchPane Title:Search Pane ah...
by WAZAAAAA
10 Oct 2017, 08:57
Forum: Scripts and Functions
Topic: Memory Process reading/Writing & Pattern Scans (Array of bytes)
Replies: 18
Views: 12171

Re: Memory Process reading/Writing & Pattern Scans (Array of bytes)

When you mention read(), I assume you're refering to some ReadMemory function in another library.... replacing the AOB scan in your code with a _classMemory.read() definitely wont work. No I mean the read method described in your library. classMemory is the only library I've ever used for memory re...
by WAZAAAAA
12 Sep 2017, 19:43
Forum: Ask For Help
Topic: Help me suspend winlogon on Win10 without external tools (run as SYSTEM?) Topic is solved
Replies: 5
Views: 1181

Re: Help me suspend winlogon on Win10 without external tools (run as SYSTEM?) Topic is solved

YEEES

That was it, it works. I have copy&pasted example 4 verbatim in my script starting from "Process, Exist" up to "close this process handle to save memory", thank you.

On to my next quest of finding a working way to check if a process has been suspended or not...
by WAZAAAAA
12 Sep 2017, 16:56
Forum: Ask For Help
Topic: Help me suspend winlogon on Win10 without external tools (run as SYSTEM?) Topic is solved
Replies: 5
Views: 1181

Help me suspend winlogon on Win10 without external tools (run as SYSTEM?) Topic is solved

I'm trying to suspend the running process winlogon.exe on a Windows 10 machine without the aid of third party programs, just AHK. My final goal is to build a script that allows me to easily toggle the desktop composition ON/OFF by triggering the old Basic theme, since the last OS capable of doing th...
by WAZAAAAA
19 Jul 2017, 08:22
Forum: Scripts and Functions
Topic: Memory Process reading/Writing & Pattern Scans (Array of bytes)
Replies: 18
Views: 12171

Re: Memory Process reading/Writing & Pattern Scans (Array of bytes)

Hello RHCP I can't seem to be able to loop stringToPattern() searches while the targeted program does not exist yet. I can do that easily with read() so that my memory tool will pick up the right memory addresses as soon as the targeted program is detected. This way I'm not forcing the user to run t...
by WAZAAAAA
20 Jun 2017, 11:29
Forum: Wish List
Topic: Add Run as Admin
Replies: 2
Views: 1504

Re: Add Run as Admin

The Run documentation has this: https://autohotkey.com/docs/commands/Run.htm#RunAs Try adding the following code at the top of your script: full_command_line := DllCall("GetCommandLine", "str") if not (A_IsAdmin or RegExMatch(full_command_line, " /restart(?!\S)")) { try { if A_IsCompiled Run *RunAs ...
by WAZAAAAA
19 Jun 2017, 22:14
Forum: Gaming
Topic: Universal Control Remapper (UCR) - v0.1.22 28th Oct 2018
Replies: 989
Views: 337550

Re: Universal Control Remapper (UCR) - v0.1.16 11th Jun 2017

I have a suggestion for a feature: turbo. It's pretty common in controller mapping programs. Add a "Turbo" checkbox together with the "Toggle mode" in the ButtonToButton plugin, and possibly a field for the milliseconds (how fast should the button be repeated). The 2 checkboxes should affect each ot...
by WAZAAAAA
27 May 2017, 21:31
Forum: Ask For Help
Topic: Any working code obfuscator for AHK_L?
Replies: 2
Views: 611

Any working code obfuscator for AHK_L?

I'm looking for a code obfuscator/scrambler/encrypter/encoder that supports AutoHotkey_L scripts. I've spent a bunch of time searching for one with no success, since the few readily available programs were either outdated or broken. I am NOT trying to make my code more "secure" or "protect" it again...
by WAZAAAAA
05 Dec 2016, 21:45
Forum: Scripts and Functions
Topic: Img2Clicks, translate color values <n of img into mouse clicks
Replies: 1
Views: 987

Re: Img2Clicks, translate color values <n of img into mouse clicks

This is amazing. Having a lot of fun using it on DoodleToo haha
http://www.doodletoo.com/#/white

My only complaint is that completely transparent pixels should not be drawn.

Drag'n'drop support would be great too.
by WAZAAAAA
23 Nov 2016, 21:28
Forum: Gaming
Topic: Left Click Space
Replies: 1
Views: 477

Re: Left Click Space

LButton::Space
by WAZAAAAA
22 Nov 2016, 03:57
Forum: Wish List
Topic: Replace AU3_Spy.exe with script Topic is solved
Replies: 33
Views: 27948

Re: Replace AU3_Spy.exe with script Topic is solved

AutoHotkey never had "AU3 compatibility". It was called that by the author of the original Window Spy. alright it was v2 not v3 but older installations of AutoIt used to ship with a file called AU3_Spy.exe , and currently that's the extension AutoIt scripts use, so that's where the author took it f...

Go to advanced search