Search found 79 matches
- 07 Mar 2020, 23:05
- Forum: Ask For Help
- Topic: UI Access impossible with UAC OFF?
- Replies: 2
- Views: 588
Re: UI Access impossible with UAC OFF?
you only cited 2 microsoft apps.. do any 3rd party apps allow this? now that you mention it, I can't find any non-Microsoft app that behaves like that... 3rd party programs that would normally have UIA ON when UAC is ON will have UIA OFF when UAC is OFF :\ what do you use UI Access for? and in what...
- 06 Mar 2020, 13:27
- Forum: Ask For Help
- Topic: UI Access impossible with UAC OFF?
- Replies: 2
- Views: 588
UI Access impossible with UAC OFF?
Tested on Windows 10. Why can I only enable UI Access when UAC is ON but not when UAC is OFF? I can still click "Run with UI Access" from the context menu on .ahk scripts, but it doesn't actually enable it. (Process Explorer has a column that shows what processes have UIA enabled) Please note that t...
- 05 Mar 2020, 00:35
- Forum: Scripts and Functions
- Topic: SendSAS: Send Ctrl+Alt+Del
- Replies: 1
- Views: 1453
Re: SendSAS: Send Ctrl+Alt+Del
thanks for the UI Access checker, stealing it if (DllCall("Advapi32\OpenProcessToken", "Ptr", DllCall("GetCurrentProcess", "Ptr"), "UInt", TOKEN_QUERY := 0x0008, "Ptr*", hToken)) { DllCall("Advapi32\GetTokenInformation", "Ptr", hToken, "UInt", TokenUIAccess := 26, "UInt*", isUiAccess, "UInt", 4, "UI...
- 28 Jan 2020, 04:23
- Forum: Ask For Help
- Topic: Standby/Suspend/Sleep the PC with AHK takes too long Topic is solved
- Replies: 3
- Views: 1897
Re: Standby/Suspend/Sleep the PC with AHK takes too long Topic is solved
Found a solution/workaround by using the undocumented NtInitiatePowerAction (or ZwInitiatePowerAction) in ntdll. With some debugging I found out that all standby methods will actually call one of those two native API's, so I thought, hey let's just experiment directly with those, and that was a succ...
- 21 Feb 2019, 22:05
- Forum: Ask For Help
- Topic: Standby/Suspend/Sleep the PC with AHK takes too long Topic is solved
- Replies: 3
- Views: 1897
Re: Standby/Suspend/Sleep the PC with AHK takes too long Topic is solved
maybe this belongs to Bug Reports?
- 21 Feb 2019, 21:57
- Forum: Ask For Help
- Topic: Standby/Suspend/Sleep the PC with AHK takes too long Topic is solved
- Replies: 3
- Views: 1897
Standby/Suspend/Sleep the PC with AHK takes too long Topic is solved
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...
- 08 Nov 2018, 17:01
- Forum: Tutorials
- Topic: How to optimize the speed of a script as much as possible.
- Replies: 102
- Views: 108909
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...
- 19 Dec 2017, 15:03
- Forum: Ask For Help
- Topic: [SOLVED] Convert string to raw binary data?
- Replies: 14
- Views: 6001
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...
- 05 Dec 2017, 19:53
- Forum: About This Community
- Topic: Rule Poll
- Replies: 59
- Views: 57281
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...
- 04 Nov 2017, 07:48
- Forum: Ask For Help
- Topic: Show all processes with a name and then show detail
- Replies: 8
- Views: 2181
Re: Show all processes with a name and then show detail
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...
- 02 Nov 2017, 13:07
- Forum: Ask For Help
- Topic: Finding a HWND in Win8.1 without UIAccess
- Replies: 2
- Views: 734
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
- 01 Nov 2017, 19:01
- Forum: Ask For Help
- Topic: Finding a HWND in Win8.1 without UIAccess
- Replies: 2
- Views: 734
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...
- 10 Oct 2017, 08:57
- Forum: Scripts and Functions
- Topic: Memory Process reading/Writing & Pattern Scans (Array of bytes)
- Replies: 18
- Views: 16051
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...
- 13 Sep 2017, 19:38
- Forum: Ask For Help
- Topic: Help me suspend winlogon on Win10 without external tools (run as SYSTEM?) Topic is solved
- Replies: 5
- Views: 1916
- 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: 1916
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...
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...
- 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: 1916
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...
- 19 Jul 2017, 08:22
- Forum: Scripts and Functions
- Topic: Memory Process reading/Writing & Pattern Scans (Array of bytes)
- Replies: 18
- Views: 16051
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...
- 20 Jun 2017, 11:29
- Forum: Wish List
- Topic: Add Run as Admin
- Replies: 2
- Views: 2991
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 ...
- 19 Jun 2017, 22:14
- Forum: Gaming
- Topic: Universal Control Remapper (UCR) - v0.1.22 28th Oct 2018
- Replies: 1010
- Views: 551432
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...
- 05 Jun 2017, 09:46
- Forum: Ask For Help
- Topic: Any working code obfuscator for AHK_L?
- Replies: 2
- Views: 911