# Auto keypresser/clicker

**URL:** <https://forums.powershell.org/t/auto-keypresser-clicker/18296>\
**Category:** PowerShell Help\
**Created:** [January 6, 2022, 6:28pm UTC](https://forums.powershell.org/t/auto-keypresser-clicker/18296 "2022-01-06T18:28:57Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mr.TheGiant](https://avatars.discourse-cdn.com/v4/letter/m/e495f1/32.png) [@Mr.TheGiant](https://forums.powershell.org/u/Mr.TheGiant)\
**Post date:** [January 6, 2022, 6:28pm UTC](https://forums.powershell.org/t/auto-keypresser-clicker/18296/1 "2022-01-06T18:28:58Z")

</div>

is it possible to make a auto key presser/clicker in PowerShell for a game/program that you can activate when the script is already running by a keyboard key without go to the PowerShell window?

thanks in advance

---

<div class="post-metadata">

**Author:** ![Olaf](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.powershell.org/olaf/32/992_2.png) [@Olaf](https://forums.powershell.org/u/Olaf)\
**Post date:** [January 6, 2022, 6:38pm UTC](https://forums.powershell.org/t/auto-keypresser-clicker/18296/2 "2022-01-06T18:38:39Z")

</div>

Mr.TheGiant,  
Welcome to the forum. 👋🏽

Even if it were - I’m not sure that it is - it would hard because it is not made for this kind of tasks. It would be way easier to a use tool where this functionality is built in.  
You should take a look at [AutohotKey](https://www.autohotkey.com) or [AutoIt](https://www.autoitscript.com/site/autoit/). Both are able to do what you asked.

---

<div class="post-metadata">

**Author:** ![Mr.TheGiant](https://avatars.discourse-cdn.com/v4/letter/m/e495f1/32.png) [@Mr.TheGiant](https://forums.powershell.org/u/Mr.TheGiant)\
**Post date:** [January 9, 2022, 3:14pm UTC](https://forums.powershell.org/t/auto-keypresser-clicker/18296/3 "2022-01-09T15:14:08Z")

</div>

Thanks for your reaction i gonna look in it

---

<div class="post-metadata">

**Author:** ![dotnVo](https://avatars.discourse-cdn.com/v4/letter/d/4af34b/32.png) [@dotnVo](https://forums.powershell.org/u/dotnVo)\
**Post date:** [May 16, 2024, 8:19pm UTC](https://forums.powershell.org/t/auto-keypresser-clicker/18296/4 "2024-05-16T20:19:49Z")

</div>


