Skip to content

Houssemamor/PushToToggle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

3 Commits
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

PushToToggle

A simple AutoHotkey script that provides a toggleable push-to-talk (PTT) functionality using the F8 key, along with a visual indicator by controlling the Scroll Lock LED. Designed for users who prefer a hands-free toggle rather than holding a key down.

โœจ Features

  • ๐Ÿ”„ Toggle Push-to-Talk with F9

  • ๐ŸŽฎ Simulates F8 being held down (not just tapped)

  • ๐Ÿ’ก Scroll Lock LED indicates PTT status (ON = active)

  • ๐Ÿ›‘ Clean exit with F10, ensuring:

    • F8 is released
    • Scroll Lock LED is turned off

๐Ÿ”ง Requirements

  • AutoHotkey (v1.1 or v2 โ€“ this script uses v1 syntax)

โŒจ๏ธ Hotkeys

Key Function
F9 Toggle Push-to-Talk (F8 down/up)
F10 Exit the script and reset LED

๐Ÿ“ฆ Installation

  1. Install AutoHotkey

  2. Download or clone this repository:

    git clone https://github.com/Houssemamor/PushToToggle.git
  3. Run the script:

    PushToToggle/PushToToggle.ahk

๐Ÿ“ How It Works

When you press F9:

  • If PTT is off, it simulates pressing and holding F8 and turns on the Scroll Lock LED.
  • If PTT is on, it releases F8 and turns off the Scroll Lock LED.

This allows you to visually know when you're actively broadcasting, especially useful in voice chat applications (e.g., Discord, TeamSpeak, etc.).

๐Ÿ›  Customization

You can easily modify:

  • The toggle key (F9)
  • The simulated key (F8)
  • Add sound notifications or tray tips for feedback

Let me know if you want a customizable version!

๐Ÿ“ƒ License

MIT License โ€” feel free to use, modify, and share.


Made with ??? using AutoHotkey

About

Toggleable push-to-talk

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors