Search found 457 matches

by A Keymaker
23 Sep 2023, 04:11
Forum: Ask for Help (v1)
Topic: Dynamically generated AHK files have limit of maximum number of characters? Topic is solved
Replies: 10
Views: 763

Re: Dynamically generated AHK files have limit of maximum number of characters? Topic is solved

The temp file is now generated correctly and its intended code works - but that temp AHK now does not get removed when it is closed, despite me adding the #Persistent to the main file; i.e.: #Persistent Name_Of_The_Temporary_File := "Exceeding_DCG_Length_Limitation_Test.ahk" FileRecycle, %Name_Of_Th...
by A Keymaker
23 Sep 2023, 03:41
Forum: Ask for Help (v1)
Topic: Script for mouse button to Send only when clicked quickly Topic is solved
Replies: 3
Views: 472

Re: Script for mouse button to Send only when clicked quickly Topic is solved

I managed to come up with such script: #Persistent XButton1State := 0 XButton1DownTime := 0 SetTimer, CheckXButton1, 11 ; Re-checks XButton1 every 11 milliseconds return CheckXButton1: ; Checks if XButton1 is being physically held down GetKeyState, XButton1State, XButton1 ; Checks if XButton1 is hel...
by A Keymaker
23 Sep 2023, 03:03
Forum: Ask for Help (v1)
Topic: Middle Mouse Button of Logitech Mouse MX Anywhere devices does not respond to some scripts
Replies: 7
Views: 1558

Re: Middle Mouse Button of Logitech Mouse MX Anywhere devices does not respond to some scripts

So did anyone else
A Keymaker wrote:
23 Jan 2023, 17:37
[...]
experience similar issue with any button of Logitech Mouse MX device or any other Logitech mouse; or any other mouse for that matter?
[...]
?
by A Keymaker
23 Sep 2023, 02:50
Forum: Ask for Help (v1)
Topic: Dynamically generated AHK files have limit of maximum number of characters? Topic is solved
Replies: 10
Views: 763

Re: Dynamically generated AHK files have limit of maximum number of characters? Topic is solved

I am having a trouble with understanding how this is suppose to work, because such test fusing structure of that file of mine that sprung this topic with your solution Name_Of_The_Temporary_File := "Exceeding_DCG_Length_Limitation_Test.ahk" FileRecycle, %Name_Of_The_Temporary_File% Code_For_The_Temp...
by A Keymaker
22 Sep 2023, 06:44
Forum: Ask for Help (v1)
Topic: Dynamically generated AHK files have limit of maximum number of characters? Topic is solved
Replies: 10
Views: 763

Dynamically generated AHK files have limit of maximum number of characters? Topic is solved

It seems that my dynamically generated AHK temp file has a limit of ~17750 signs - after surpassing of which my main script when executed will produce pop-up message saying Error: Continuation section too long. with specifying which line has a following it content causing this Is there a way to get ...
by A Keymaker
22 Sep 2023, 01:54
Forum: General Discussion
Topic: Putting AHK in Tray notification area - but as an executable button
Replies: 4
Views: 1501

Re: Putting AHK in Tray notification area - but as an executable button

Good to know, thank you But for my purposes this would not work because the goal is to have always visible fail-safe / panic button that fires a script which kills [in many ways] whatever scripts are running in a given moment- which sometimes I have to press quickly multiple times to break some loop...
by A Keymaker
14 Sep 2023, 11:36
Forum: Gaming Help (v1)
Topic: Fallout #3 approach for remapping does not work in Fallout#4 [looking for root cause]
Replies: 1
Views: 508

Re: Approach for remapping from Fallout #3 does not work in Fallout#4 [looking for root cause]

Fallout #4 is so much bigger of a mess than F#3 and New Vegas, that is beyond my comprehension, just how dumber people at Bathesda became They made it nearly impossible to remap most of the keys in just like in F#3, but in F#4 it is even worse in regards to using external scripts for key binding. Th...
by A Keymaker
14 Sep 2023, 08:39
Forum: Other Programming Languages
Topic: Move flashing prompt sign away from left edge of PowerShell window
Replies: 1
Views: 1120

Move flashing prompt sign away from left edge of PowerShell window

Is there a way to move the prompt sign in PowerShell [an also CMD] window more toward middle / right side of a it? So that a new empty line would flash it prompt sign as not being adjacent to the left edge of the window when awaiting for input from user? This almost does what I need Countdown functi...
by A Keymaker
11 Sep 2023, 02:18
Forum: Ask for Help (v1)
Topic: Detecting a closure of CMD window - is it possible at all? Topic is solved
Replies: 23
Views: 1713

Re: Detecting a closure of CMD window - is it possible at all? Topic is solved

I do not know if I am looking for whatever user Archimede has described - but it seems that after all I have finally found an A-OK working AHK solution: #Persistent SetTitleMatchMode, 2 Title1 := "TEST TITLE" Title2 := "Administrator: TEST TITLE" Name_Of_Program := "cmd.exe" SetTimer, Checkup_Proces...
by A Keymaker
10 Sep 2023, 02:22
Forum: Ask for Help (v1)
Topic: Blocking notorious shortcut of Alt + Control + Delete
Replies: 3
Views: 314

Re: Blocking notorious shortcut of Alt + Control + Delete

Well, such two REG hacks seemed promising [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\taskmgr.exe] "Debugger"="Hotkey Disabled" [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layout] "Scancode Map"=hex:00,00,00,00,00,00,00,00,03,00,00,...
by A Keymaker
10 Sep 2023, 02:06
Forum: Ask for Help (v1)
Topic: Holding down mouse button for a second to execute hotkey
Replies: 14
Views: 1908

Re: Holding down mouse button for a second to execute hotkey

I need Middle Mouse Button to act as Middle Mouse Button only when pressed quickly - and when held down to be equal to Control + a keyboard shortcut [...] This test code works a:: KeyWait, a, T0.555 if (ErrorLevel) { Send {c Down} KeyWait, a Send {c Up} } else { Send {b Down} KeyWait, a Send {b Up}...
by A Keymaker
09 Sep 2023, 04:58
Forum: Ask for Help (v1)
Topic: Detecting a closure of CMD window - is it possible at all? Topic is solved
Replies: 23
Views: 1713

Re: Detecting a closure of CMD window - is it possible at all? Topic is solved

I am failing at it So maybe alternatively the AHK file could use some embedded PS1 or VBS script that would detect such event and as a result close that AHK [and also itself]- but here is the tricky part: it would need to use the name of that AHK without being told what it is [i.e. use something lik...
by A Keymaker
05 Sep 2023, 14:13
Forum: Gaming Help (v1)
Topic: Fallout #3 approach for remapping does not work in Fallout#4 [looking for root cause]
Replies: 1
Views: 508

Fallout #3 approach for remapping does not work in Fallout#4 [looking for root cause]

Long story short, these were working A-OK when 2 years ago I was playing Fallout #3 and Fallout: New Vegas #NoEnv SetWorkingDir %A_ScriptDir% XButton2:: Send {a}{r}{e} return #If XButton1:: Send {x} Send {f Down} KeyWait, Space Send {f Up} return i.e. I could utilize one mouse button to do three [di...
by A Keymaker
05 Sep 2023, 06:39
Forum: Ask for Help (v1)
Topic: Part of script is ignored which can be fixed when it is put above other part - but then that other part is ignored Topic is solved
Replies: 15
Views: 1388

Re: Part of script is ignored which can be fixed when it is put above other part - but then that other part is ignored Topic is solved

I also got rid of Block_Input_From_Mouse() { Return } Hotkey, LButton, Block_Input_From_Mouse ;;; Hotkey, MButton, Block_Input_From_Mouse Hotkey, RButton, Block_Input_From_Mouse Hotkey, WheelDown, Block_Input_From_Mouse Hotkey, WheelLeft, Block_Input_From_Mouse Hotkey, WheelRight, Block_Input_From_M...
by A Keymaker
03 Sep 2023, 05:01
Forum: Ask for Help (v1)
Topic: Part of script is ignored which can be fixed when it is put above other part - but then that other part is ignored Topic is solved
Replies: 15
Views: 1388

Re: Part of script is ignored which can be fixed when it is put above other part - but then that other part is ignored Topic is solved

Rohwedder wrote:
30 Aug 2023, 05:44
#Warn does not find all errors.
Since the auto-execute section ends at line 24, lines 60-63 are never executed.
[...]
So how can I make them be executed?
by A Keymaker
31 Aug 2023, 09:15
Forum: Ask for Help (v1)
Topic: Detecting a closure of CMD window - is it possible at all? Topic is solved
Replies: 23
Views: 1713

Re: Detecting a closure of CMD window - is it possible at all? Topic is solved

Yes - I forgot to mention my semi-failed attempt at that approach: #Persistent SetTitleMatchMode, 2 Initial_Number_Of_Windows := 0 SetTimer, Checkup_Process, -111 Checkup_Process: Sleep, 111 Loop { Current_Number_Of_Windows := WinExist("TEST TITLE ahk_exe cmd.exe") if (Current_Number_Of_Windows < In...
by A Keymaker
30 Aug 2023, 08:42
Forum: Ask for Help (v1)
Topic: Programmable keyboard does not receive input and History does not see anything
Replies: 3
Views: 519

Re: Programmable keyboard does not receive input and History does not see anything

So does anyone have an idea just
A Keymaker wrote:
14 Feb 2023, 19:32
how is HUION blocking Autohotkey?
when
A Keymaker wrote:
15 Feb 2023, 13:17
[...]
All other program with such issues, of needing to be feed input from Administrator, I have successfully taken care of, but HUION Tablet 15.7.4.179 is resisting
?
by A Keymaker
30 Aug 2023, 06:46
Forum: Other Programming Languages
Topic: PowerShell window with visible countdown constantly scrolls to bottom its content [UN-SOLVABLE]
Replies: 2
Views: 5080

Re: PowerShell window with visible countdown constantly scrolls to bottom its content

A Keymaker wrote:
05 Aug 2023, 08:04
[...]
So is there a way to eat a PS1 cake and have it; i.e. to see a dynamic countdown at the bottom of PowerShell window but also at any time have the ability to scroll up within it without having focus in it thrown down every second?
Well, anyone?
by A Keymaker
30 Aug 2023, 05:50
Forum: Ask for Help (v1)
Topic: Windows' Magnifier blocks itself or sends unwanted clicks - or - how to control zooming with AHK?
Replies: 4
Views: 697

Re: Windows' Magnifier blocks itself or sends unwanted clicks - or - how to control zooming with AHK?

Does anyone have either an alternative zooming program which can work in a full screen mode and has buttons / shortcuts for zooming steps?

Or have an idea about how to rework my script so that mouse buttons clicks will not be sent unwantedly and / or my more or less whole input will not be stopped?

Go to advanced search