Skip to content

Instantly share code, notes, and snippets.

@ohaal
Last active September 14, 2015 13:19
Show Gist options
  • Save ohaal/2f7c958c1796046d1300 to your computer and use it in GitHub Desktop.
Save ohaal/2f7c958c1796046d1300 to your computer and use it in GitHub Desktop.
Lync Push To Talk

Lync Push To Talk

Using the Lync mute/unmute hotkey (Win + F4), allows another key to be used for push to talk.

Prereqs:

Install AutoHotkey. Note - needs to be a recent version to support the splash image.
Direct link here.

Usage

  • Install prereqs
  • Download and launch script with image in the same directory
  • Press Right Alt to push to talk

Asset Attributions

Microphone designed by Dmitry Baranovskiy from the Noun Project.

SplashImageGUI(Picture)
{
Gui, XPT99:Margin , 0, 0
Gui, XPT99:Add, Picture,, %Picture%
Gui, XPT99:Color, ECE9D8
Gui, XPT99:+LastFound -Caption +AlwaysOnTop +ToolWindow -Border
Winset, TransColor, ECE9D8
X = Center
Y = Center
Gui, XPT99:Show, x%X% y%Y% NoActivate
}
press = 1
MButton::
if press {
Send #{F4}
SplashImageGUI(".\mic.png")
}
press = 0
return
MButton Up::
Send #{F4}
Gui, XPT99:Destroy
press = 1
return
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment