Search found 43 matches

by astute65_aardvark20
22 Jan 2024, 23:51
Forum: Ask for Help (v1)
Topic: Enable "autohide taskbar" when app is in focus, disable when not Topic is solved
Replies: 11
Views: 652

Re: Enable "autohide taskbar" when app is in focus, disable when not Topic is solved

So, in case anyone else stumbles upon this thread, I discovered a program called 7+ Taskbar Tweaker that allows users to assign a hotkey to trigger the taskbar auto-hide (Value Data 6). Using the Advanced Options Keyboard Shortcuts, I assigned F24 (Virtual Keycode 0x87) to this function: https://i.i...
by astute65_aardvark20
21 Jan 2024, 10:38
Forum: Ask for Help (v1)
Topic: Enable "autohide taskbar" when app is in focus, disable when not Topic is solved
Replies: 11
Views: 652

Re: Enable "autohide taskbar" when app is in focus, disable when not Topic is solved

Oh my worrrd! I finally got this to work, phew! So, ExplorerPatcher allows Win11 users to revert the taskbar to the Win10 style. In that case, the ABS_AUTOHIDE bit that will actually trigger the taskbar auto-hide for Win10 will be inside of the "Settings" REG_BINARY in the "Computer\HKEY_CURRENT_USE...
by astute65_aardvark20
20 Jan 2024, 18:25
Forum: Ask for Help (v1)
Topic: Enable "autohide taskbar" when app is in focus, disable when not Topic is solved
Replies: 11
Views: 652

Re: Enable "autohide taskbar" when app is in focus, disable when not Topic is solved

I've also tried running a modified version of the PowerShell script (found on Microsoft Answers ): $p='HKCU:SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\StuckRects3' $v=(Get-ItemProperty -Path $p).Settings $v[8]=3 Set-ItemProperty -Path $p -Name Settings -Value $v Stop-Process -f -ProcessName ...
by astute65_aardvark20
20 Jan 2024, 18:19
Forum: Ask for Help (v1)
Topic: Enable "autohide taskbar" when app is in focus, disable when not Topic is solved
Replies: 11
Views: 652

Re: Enable "autohide taskbar" when app is in focus, disable when not Topic is solved

In addition, looking into the registry entry Computer\HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\StuckRects3 I don't seem to have the correct binary values under the Settings value name, as shown in this tutorial : https://i.imgur.com/URd9X3q.png https://i.imgur.com/LsBZsFu...
by astute65_aardvark20
20 Jan 2024, 17:51
Forum: Ask for Help (v1)
Topic: Enable "autohide taskbar" when app is in focus, disable when not Topic is solved
Replies: 11
Views: 652

Re: Enable "autohide taskbar" when app is in focus, disable when not Topic is solved

It worked here. You are using ExplorerPatcher too? Edit: I am getting the beep and Explorer.exe is restarting, but it just keeps repeatedly doing that every time the loop refreshes if Photoshop/etc is in focus. If I run the powershell script in a Terminal shell I get: At line:1 char:111 + ... n\Exp...
by astute65_aardvark20
20 Jan 2024, 17:28
Forum: Ask for Help (v1)
Topic: Enable "autohide taskbar" when app is in focus, disable when not Topic is solved
Replies: 11
Views: 652

Re: Enable "autohide taskbar" when app is in focus, disable when not Topic is solved

I did manage to find the discussion thread on EP's GitHub page for its autohide feature. Lo and behold, it's a similar AHK script! The way valinet did it, double-clicking on the taskbar will toggle the autohide on and off: VarSetCapacity(APPBARDATA, A_PtrSize=4 ? 36:48) ~LButton:: If (A_PriorHotKey ...
by astute65_aardvark20
20 Jan 2024, 14:13
Forum: Ask for Help (v1)
Topic: Enable "autohide taskbar" when app is in focus, disable when not Topic is solved
Replies: 11
Views: 652

Re: Enable "autohide taskbar" when app is in focus, disable when not Topic is solved

Hi mikeyww, sorry for the late response! Your script did not work at first, though I was hearing a beeping whenever I alt-tabbed in or out of an Adobe app. Then I remembered that I have ExplorerPatcher installed and that it is replacing or overriding something to do with the Win10/11 taskbar. So if ...
by astute65_aardvark20
10 Jan 2024, 10:03
Forum: Ask for Help (v1)
Topic: Enable "autohide taskbar" when app is in focus, disable when not Topic is solved
Replies: 11
Views: 652

Enable "autohide taskbar" when app is in focus, disable when not Topic is solved

Hi, I have made a script that minimizes any other Adobe app except the one that is in focus: #Persistent Run, "C:\Users\user\OneDrive\Apps & Utilities\MonitorProfileSwitcher\MonitorSwitcher.exe" -load:"C:\Users\user\AppData\Roaming\MonitorSwitcher\Profiles\Dual Monitor.xml" SetTimer Subroutine0, 200...
by astute65_aardvark20
25 Jul 2023, 18:34
Forum: Ask for Help (v2)
Topic: Tooltip that shows a list of the last 50 key presses
Replies: 1
Views: 177

Tooltip that shows a list of the last 50 key presses

I need a tooltip that will show the last 50 or so keypresses in a list, similar to how "Key History" works in the AutoHotKey GUI, but it needs to update in realtime. The tooltip needs to always show the the latest key presses, so it will have to overwrite the oldest entry or shift other entries up o...
by astute65_aardvark20
22 Jun 2023, 18:50
Forum: Ask for Help (v1)
Topic: PixelSearch is behaving unexpectedly Topic is solved
Replies: 9
Views: 440

Re: PixelSearch is behaving unexpectedly Topic is solved

Okay, this is not AHK that is doing this. I got rid of the AHK code, and went into iCUE and set Side Button 6 (SB6) to send "Enter", wait 100ms, and then send "e". So the first time I highlight a lootable object, I press SB6, it sends "Enter", which does nothing, then "e" which opens the loot menu. ...
by astute65_aardvark20
22 Jun 2023, 18:37
Forum: Ask for Help (v1)
Topic: PixelSearch is behaving unexpectedly Topic is solved
Replies: 9
Views: 440

Re: PixelSearch is behaving unexpectedly Topic is solved

Okay this is a weird one. I will have to add additional info. I am using a macro mouse (Corsair Scimitar) and in the software (iCUE) I have set Side Button 6 to mimic the keyboard key "e". It should, for all intents and purposes, act exactly like the keyboard key. Using the modified code, if the loo...
by astute65_aardvark20
22 Jun 2023, 18:17
Forum: Ask for Help (v1)
Topic: PixelSearch is behaving unexpectedly Topic is solved
Replies: 9
Views: 440

Re: PixelSearch is behaving unexpectedly Topic is solved

What's really strange is that I can put any random hex code in the ColorID and the game will still detect "x" being pressed when the loot menu is open...
by astute65_aardvark20
22 Jun 2023, 18:13
Forum: Ask for Help (v1)
Topic: PixelSearch is behaving unexpectedly Topic is solved
Replies: 9
Views: 440

Re: PixelSearch is behaving unexpectedly Topic is solved

Unfortunately it is still sending "x". I really don't know how it is doing this since there are no functions with that key in the script.
by astute65_aardvark20
22 Jun 2023, 18:01
Forum: Ask for Help (v1)
Topic: PixelSearch is behaving unexpectedly Topic is solved
Replies: 9
Views: 440

Re: PixelSearch is behaving unexpectedly Topic is solved

You may want to use the dollar prefix . $e:: PixelSearch,,, 1075, 495, 1076, 496, 0x9d6346, Fast RGB If ErrorLevel { Send, {e} } Else { Send, {f} } Return I haven't used dollar sign in so long I forgot how it works, but I assume it is supposed to look like the above code? Moved to the v1 section. @...
by astute65_aardvark20
22 Jun 2023, 17:17
Forum: Ask for Help (v1)
Topic: PixelSearch is behaving unexpectedly Topic is solved
Replies: 9
Views: 440

PixelSearch is behaving unexpectedly Topic is solved

e:: PixelSearch,,, 1075, 495, 1076, 496, 0x9d6346, Fast RGB If ErrorLevel { Send, {e} } Else { Send, {f} } Return If I press "e" in BioShock Infinite, it can bring up a little loot menu if I have a lootable object highlighted. If the loot menu is not visible, I want to send "e" (Use). If it is visi...
by astute65_aardvark20
14 Feb 2023, 02:00
Forum: Ask for Help (v1)
Topic: Hotkey function that does different routines if another key is pressed or released Topic is solved
Replies: 3
Views: 459

Re: Hotkey function that does different routines if another key is pressed or released Topic is solved

When I tried over and over to use KeyWait, LShift with Else If statements, I couldn't get it to work... :headwall: Not sure what I was doing wrong. I went back to the original script, stared at it for a while, then the light bulb went on: w:: Send, {w Down} While (GetKeyState("w", "P")) { If (GetKey...
by astute65_aardvark20
13 Feb 2023, 02:31
Forum: Ask for Help (v1)
Topic: Hotkey function that does different routines if another key is pressed or released Topic is solved
Replies: 3
Views: 459

Hotkey function that does different routines if another key is pressed or released Topic is solved

I've got this hotkey routine so far:

Code: Select all

w::
Send, {w Down}
If (GetKeyState("LShift", "P"))
	Send, {LShift}
Return
Is there a way to make this routine also do

Code: Select all

Send, {w Up}
Sleep, 30
Send, {w Down}
If "LShift" is released, and do it within the "w::" hotkey function?
by astute65_aardvark20
12 Feb 2023, 12:10
Forum: Gaming Help (v1)
Topic: Stop Sprinting, Resume Walking Issue
Replies: 3
Views: 521

Re: Stop Sprinting, Resume Walking Issue

So I wasn't 100% correct in my assessment of what was causing the problem. if I release LShift and then W in quick succession, AHK begins the subroutine attached to "w Up::"while the subroutine for "LShift Up::" also is happening. If I understand correctly, what is actually happening is that if W is...
by astute65_aardvark20
12 Feb 2023, 09:41
Forum: Gaming Help (v1)
Topic: Stop Sprinting, Resume Walking Issue
Replies: 3
Views: 521

Re: Stop Sprinting, Resume Walking Issue

Ahh, I should have mentioned I tried GetKeyState instead of variables. The problem is that the game does not recognize "Send, {w}" to trigger moving forward, so I have to use "{Send, {w Up} Sleep, 30 Send, {w Down}" to reset the movement to forward after releasing LShift. What is causing AHK to inde...
by astute65_aardvark20
12 Feb 2023, 04:15
Forum: Gaming Help (v1)
Topic: Stop Sprinting, Resume Walking Issue
Replies: 3
Views: 521

Stop Sprinting, Resume Walking Issue

OK, so I am playing a game where releasing "forward" (W) is the only way to stop "sprinting", once sprinting has been initiated (LShift). The problem is that I would like to hold LShift to sprint, release LShift to stop sprinting, and, if I am still holding W, I want to go from sprinting back to wal...

Go to advanced search