DonationCoder.com Forum

DonationCoder.com Software => Older DC Contests and Challenges => N.A.N.Y. 2022 => Topic started by: publicdomain on December 31, 2021, 08:43 PM

Title: N.A.N.Y. 2022 - KeyLoop v0.1.0
Post by: publicdomain on December 31, 2021, 08:43 PM
NANY 2022 (https://www.donationcoder.com/forum/index.php?board=332.0) Entry Information

Application Name KeyLoop
Version v0.1.0
Short Description Loops hitting a key with configurable simulated presses and delay.
Supported OSes Windows 7 or above, along with .NET 4.5+
Web Page https://github.com/publicdomain/keyloop/ (https://github.com/publicdomain/keyloop/)
Download Link https://github.com/publicdomain/keyloop/releases/tag/v0.1.0 (https://github.com/publicdomain/keyloop/releases/tag/v0.1.0)
System Requirements
  • .NET Framework Runtime v4.5 or above
Version History
  • v0.1.0 - First release for N.A.N.Y. 2022
Author PublicDomainVic @ https://github.com/publicdomain (https://github.com/publicdomain)


Description
The purpose of the program is to simulate pressing a key in an unattended way.
It was created in response to adamok70's request: searching for a solution to simulate pressing F11 Key on Keyboard (https://www.donationcoder.com/forum/index.php?topic=51963.0).

Features
* Hotkey on CTRL + K.
* Refresh target windows.
* Configurable key, number of presses and interval.
* Remember settings.
* Minimize on loop start.
* Always on top.

Planned Features
New features can be implemented/added in response to requests by fellow users.

Screenshots
[ You are not allowed to view attachments ]

Usage
Installation
Unzip release file.

Using the Application
Open KeyLoop.exe, select target window and press "Start loop" button.

Uninstallation
Simply delete all files.

Tips
- CTRL+K can be used instead of clicking the start/stop button.
- It has an option to minimize on loop start. Useful in case the target program needs to be fully visible.

Known Issues
No Known issue.
Title: Re: N.A.N.Y. 2022 - KeyLoop v0.1.0
Post by: Contro on January 03, 2022, 03:47 PM
public what is the program for ?
 :-\ :-* :P
Title: Re: N.A.N.Y. 2022 - KeyLoop v0.1.0
Post by: publicdomain on January 04, 2022, 01:49 PM
public what is the program for ?

Hello again dear Contro :) The program is meant to address adamok70's thread: searching for a solution to simulate pressing F11 Key on Keyboard (https://www.donationcoder.com/forum/index.php?topic=51963.0).

Hence, it presses a key repeatedly using a configurable timer delay/interval.

First post above (https://www.donationcoder.com/forum/index.php?topic=52039.msg447476#msg447476) is updated to reflect new release information.

Feel free to use, report & enjoy!

Cheers :Thmbsup:
Vic
Title: Re: N.A.N.Y. 2022 - KeyLoop v0.1.0
Post by: orlith on February 28, 2024, 06:10 AM
Hello @publicdomain
Great tool , do everything I want except few things :)

May I ask for enhancements if possible :

- ability to change Hotkey
- set infinite loop
- Don't bring focus on the windows it is supposed to key in. (like Auto-keyboard by Murgee), key in the background

Thx
public what is the program for ?

Hello again dear Contro :) The program is meant to address adamok70's thread: searching for a solution to simulate pressing F11 Key on Keyboard (https://www.donationcoder.com/forum/index.php?topic=51963.0).

Hence, it presses a key repeatedly using a configurable timer delay/interval.

First post above (https://www.donationcoder.com/forum/index.php?topic=52039.msg447476#msg447476) is updated to reflect new release information.

Feel free to use, report & enjoy!

Cheers :Thmbsup:
Vic
Title: Re: N.A.N.Y. 2022 - KeyLoop v0.1.0
Post by: publicdomain on March 06, 2024, 06:04 AM
Hello @publicdomain

Great tool , do everything I want except few things :)

May I ask for enhancements if possible :

- ability to change Hotkey
- set infinite loop
- Don't bring focus on the windows it is supposed to key in. (like Auto-keyboard by Murgee), key in the background

Thx

Hello & good day @orlith! Glad you're liking the program  :Thmbsup: Do feel free to call me Vic  :)

Regarding the last one, please be aware that unfocused key "presses" are sent via direct Windows API so it depends on how each individual program handles the messages. This mostly works with "traditional" applications that use normal windows; it is the more elaborated ones taking over full screen and doing custom event processing that I've seen having issues. Just wanted to inform about this, in case you're planning to use the feature in a game or some other app with a non-standard window events processing.



Okay! Your request is acknowledged & I begin to add to KeyLoop's code. Please "ping" when you're around again :up:

Cheers!
Title: Re: N.A.N.Y. 2022 - KeyLoop v0.1.0
Post by: publicdomain on March 08, 2024, 10:24 AM
- ability to change Hotkey
- set infinite loop
- Don't bring focus on the windows it is supposed to key in. (like Auto-keyboard by Murgee), key in the background

Got it!

v0.2.0 on the way  :Thmbsup:
Title: Re: N.A.N.Y. 2022 - KeyLoop v0.1.0
Post by: orlith on March 11, 2024, 04:26 PM
Hello @publicdomain

Great tool , do everything I want except few things :)

May I ask for enhancements if possible :

- ability to change Hotkey
- set infinite loop
- Don't bring focus on the windows it is supposed to key in. (like Auto-keyboard by Murgee), key in the background

Thx

Hello & good day @orlith! Glad you're liking the program  :Thmbsup: Do feel free to call me Vic  :)

Regarding the last one, please be aware that unfocused key "presses" are sent via direct Windows API so it depends on how each individual program handles the messages. This mostly works with "traditional" applications that use normal windows; it is the more elaborated ones taking over full screen and doing custom event processing that I've seen having issues. Just wanted to inform about this, in case you're planning to use the feature in a game or some other app with a non-standard window events processing.



Okay! Your request is acknowledged & I begin to add to KeyLoop's code. Please "ping" when you're around again :up:

Cheers!
-publicdomain (March 06, 2024, 06:04 AM)
Thx
I was using AutoKeyboard with a game w/o any issue. So I hope my game uses windows standard events :) (World of Warcraft)
Title: Re: N.A.N.Y. 2022 - KeyLoop v0.1.0
Post by: publicdomain on March 14, 2024, 12:31 PM
- set infinite loop

Hello! The custom Hotkey feature is added, yet as I'm working on "set infinite loop", I wonder if you actually meant "limit infinite loop", as in stopping the loop automatically after a number of consecutive cycles.

[ You are not allowed to view attachments ]

If possible, please elaborate a bit on it. I'm adding such a "Max. cycles" feature as well :)
Title: Re: N.A.N.Y. 2022 - KeyLoop v0.1.0
Post by: orlith on March 14, 2024, 01:34 PM
- set infinite loop

Hello! The custom Hotkey feature is added, yet as I'm working on "set infinite loop", I wonder if you actually meant "limit infinite loop", as in stopping the loop automatically after a number of consecutive cycles.

[ You are not allowed to view attachments ]

If possible, please elaborate a bit on it. I'm adding such a "Max. cycles" feature as well :)
-publicdomain (March 14, 2024, 12:31 PM)

Hello Vic
I'd like the key to be pressed forever, no limit, the only way to stop it is to press the hotkey
Title: Re: N.A.N.Y. 2022 - KeyLoop v0.1.0
Post by: publicdomain on March 15, 2024, 09:51 PM
Hello Vic
I'd like the key to be pressed forever, no limit, the only way to stop it is to press the hotkey

Okay! So, your actual requirement is "- set infinite press".

(Key down on start, Key up on stop)

On the way! :Thmbsup:
Title: Re: N.A.N.Y. 2022 - KeyLoop v0.1.0
Post by: orlith on March 19, 2024, 05:02 AM
 :Thmbsup:
Hello Vic
I'd like the key to be pressed forever, no limit, the only way to stop it is to press the hotkey

Okay! So, your actual requirement is "- set infinite press".

(Key down on start, Key up on stop)

On the way! :Thmbsup:
-publicdomain (March 15, 2024, 09:51 PM)
Title: Re: N.A.N.Y. 2022 - KeyLoop v0.1.0
Post by: publicdomain on March 23, 2024, 07:24 PM
Just letting you know the background key press is a different method (direct WinAPI) and it's demanding a small re-design with two modes. Each having a set of key codes.

I'm home & delivering it in the current batch of releases.
Title: Re: N.A.N.Y. 2022 - KeyLoop v0.1.0
Post by: orlith on April 15, 2024, 03:21 AM
Hello

Any follow up ?

Thx :)
Title: Re: N.A.N.Y. 2022 - KeyLoop v0.1.0
Post by: publicdomain on April 15, 2024, 05:52 AM
Yes, I'm releasing it during the week, alongside a couple other releases.

(I've worked in tandem for a batch of 3 releases)

Thanks for "pinging" :)
Cheers!