Search found 455 matches
- 06 Apr 2024, 04:29
- Forum: Ask for Help (v1)
- Topic: Automated deletion of folder stopped working
- Replies: 5
- Views: 106
Re: Automated deletion of folder stopped working
I really do not know what I was thinking, as this can be as simple as Loop { FileRemoveDir, C:\Users\YOUR-USER-NAME\Documents\Kutools for Excel, 1 Sleep, 1111 } and it does seem to work A-OK - but only in a standalone file Because if I put this above snippet in my bulk AHK that holds various other n...
- 14 Mar 2024, 04:56
- Forum: Ask for Help (v1)
- Topic: Automated deletion of folder stopped working
- Replies: 5
- Views: 106
Automated deletion of folder stopped working
When I was testing this Loop { IfExist, C:\Users\YOUR-USER-NAME\Documents\Kutools for Excel" { FileRemoveDir, C:\Users\YOUR-USER-NAME\Documents\Kutools for Excel,, 1 } Sleep, 1111 } it was working A-OK; i.e. whenever C:\Users\YOUR-USER-NAME\Documents\Kutools for Excel folder was automatically create...
- 20 Jan 2024, 04:56
- Forum: General Discussion
- Topic: Putting AHK in Tray notification area - but as an executable button
- Replies: 4
- Views: 1447
Re: Putting AHK in Tray notification area - but as an executable button
So does any one has any ideas about how to insert some script into the Tray and make it stay there as an always accessible icon, even if its execution will kill or running scripts system wide?
- 06 Jan 2024, 06:14
- Forum: Other Programming Languages
- Topic: Move flashing prompt sign away from left edge of PowerShell window
- Replies: 1
- Views: 1013
Re: Move flashing prompt sign away from left edge of PowerShell window
This works Write-Host "`r" # This clears the line $Prompt = " " * 3 + " " # This last separate single white space can be entirely removed or changed into some other sign / text Write-Host $Prompt -NoNewline Read-Host Well- kind off. Because even if I put this at the very top of a larger script or ma...
- 09 Dec 2023, 13:04
- Forum: Other Programming Languages
- Topic: PowerShell window with visible countdown constantly scrolls to bottom its content [UN-SOLVABLE]
- Replies: 2
- Views: 4983
Re: PowerShell window with visible countdown constantly scrolls to bottom its content
It seems that currently in the Windows Console [conhost.exe] it is impossible to see digits of a countdown in progress at the bottom of window while also retaining ability to scroll it up an not have the view being thrown back down after passing of yet another second. The new Windows Terminal [windo...
- 20 Nov 2023, 11:58
- Forum: Ask for Help (v1)
- Topic: Blocking input from keyboard[s] after detecting monitor[s] being turned off - using AHK or something else
- Replies: 6
- Views: 964
Re: Blocking input from keyboard[s] after detecting monitor[s] being turned off - using AHK or something else
[...] nevertheless I would prefer to have some script [not necessarily an AHK file] or some other solution that would just super-block input form keyboard [and mouse] thus preventing monitor from ever waking up, unless a chosen for turn off button is clicked. Because [...] I do not know if telling ...
- 19 Nov 2023, 16:17
- Forum: Scripts and Functions (v1)
- Topic: Monitor And Control Off - isabling visual ouput and physical input
- Replies: 0
- Views: 313
Monitor And Control Off - isabling visual ouput and physical input
After much hardship, consulting on this forum and testing on my system, I am finally able to publish a working fail-safe script that turns off screen and blocks input while also allowing at the same time to control player software with media keys To regain control user must press quickly two times t...
- 22 Oct 2023, 08:41
- Forum: Ask for Help (v1)
- Topic: Windows' Magnifier blocks itself or sends unwanted clicks - or - how to control zooming with AHK?
- Replies: 4
- Views: 684
Re: Windows' Magnifier blocks itself or sends unwanted clicks - or - how to control zooming with AHK?
?A Keymaker wrote: ↑30 Aug 2023, 05:50Does anyone have either an alternative zooming program
[...]
Or have an idea about how to rework my script
[...]
Well, can somebody speak up in these matters?
- 22 Oct 2023, 08:38
- Forum: Ask for Help (v1)
- Topic: OK working script becomes inoperative when auto-updating snippet is added to it
- Replies: 2
- Views: 349
- 13 Oct 2023, 06:22
- Forum: Ask for Help (v1)
- Topic: Middle Mouse Button of Logitech Mouse MX Anywhere devices does not respond to some scripts
- Replies: 7
- Views: 1499
Re: Middle Mouse Button of Logitech Mouse MX Anywhere devices does not respond to some scripts
It seems that I have run into similar problem with this mouse concerning ability to use its button for hotkeys, this time the issue being with the Right Mouse Button: viewtopic.php?f=76&t=122290
- 13 Oct 2023, 06:19
- Forum: Ask for Help (v1)
- Topic: Hotkey depending on duration of hold works for a key but does not for the button
- Replies: 0
- Views: 182
Hotkey depending on duration of hold works for a key but does not for the button
This test code works A-OK q:: KeyWait, q, T0.999 if (ErrorLevel) { ; slow Send {a down} KeyWait, q Send {a Up} } else { ; quick Send {b Down} Send {c Down} KeyWait, q Send {c Up} Send {b Up} } Return i.e. it sends bc when I press q key or a if I will hold down the q But this version XButton1:: KeyWa...
- 13 Oct 2023, 03:43
- Forum: Off-topic Discussion
- Topic: The Logo Song…
- Replies: 2
- Views: 4310
Re: The Logo Song…
Not very, but extremely
- 24 Sep 2023, 04:46
- Forum: Ask for Help (v1)
- Topic: Dynamically generated AHK files have limit of maximum number of characters? Topic is solved
- Replies: 10
- Views: 715
Re: Dynamically generated AHK files have limit of maximum number of characters? Topic is solved
But that probability seems to be taken care of with that FileRecycle, %Name_Of_The_Temporary_File% that is before the first ( that is present also in the above tests i.e. in the main file that governs creation of the temp subscript. It has not failed me for weeks now of using and tweaking that main ...
- 23 Sep 2023, 11:42
- Forum: Ask for Help (v1)
- Topic: Dynamically generated AHK files have limit of maximum number of characters? Topic is solved
- Replies: 10
- Views: 715
Re: Dynamically generated AHK files have limit of maximum number of characters? Topic is solved
Yes, you are right, my mistake; it works now, so thank you But what is interesting is that in my main script that this FileAppend, method for my real [i.e. not this test one] dynamically generated code does not require usage od FileRecycle, %Name_Of_The_Temporary_File% its first line in order for th...
- 23 Sep 2023, 07:36
- Forum: Ask for Help (v1)
- Topic: Dynamically generated AHK files have limit of maximum number of characters? Topic is solved
- Replies: 10
- Views: 715
Re: Dynamically generated AHK files have limit of maximum number of characters? Topic is solved
It seems that you have made a mistake of pasting in the previous version as this is the exact same code as in your previous answer
- 23 Sep 2023, 07:17
- Forum: Ask for Help (v1)
- Topic: Script for mouse button to Send only when clicked quickly Topic is solved
- Replies: 3
- Views: 450
Re: Script for mouse button to Send only when clicked quickly Topic is solved
Although there is one issue, which is rather beyond the scope of this topic - hence I created a new one: https://www.autohotkey.com/boards/viewtopic.php?f=76&t=121715
- 23 Sep 2023, 07:14
- Forum: Ask for Help (v1)
- Topic: OK working script becomes inoperative when auto-updating snippet is added to it
- Replies: 2
- Views: 349
OK working script becomes inoperative when auto-updating snippet is added to it
[Continuing my work from this topic https://www.autohotkey.com/boards/viewtopic.php?f=76&t=119158] I have this script which works in a standalone AHK file #Persistent Status_Of_The_Mouse_Button := 0 Time_Count_Of_The_Mouse_Button_Being_In_A_Given_State := 0 SetTimer, Checking_Status_Of_The_Mouse_But...
- 23 Sep 2023, 04:35
- Forum: Ask for Help (v1)
- Topic: Script for mouse button to Send only when clicked quickly Topic is solved
- Replies: 3
- Views: 450
Re: Script for mouse button to Send only when clicked quickly Topic is solved
[...] How can this be, if I have no other scripts running? I forgot about HotkeyP - apparently it was my setting of Windows > Options > Mouse / Remote > Mouse > Delay mouse buttons > 555 ms that was causing this, because after chaning this value to 222 the above script works seems to be working now...
- 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: 715
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...
- 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: 450
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...