tirsdag den 30. august 2016

SKYPE for Business - custom shortcuts

Hello - ever wondered who on earth chose that the keyboard shortcut used for bringing SKYPE for Business client in focus was changed from WIN+Y - to the "Octopus" version CTRL+ALT+SHIFT+3 - well i did.

And since nobody made it possible to customize this i wrote up this little guide on how to customize this across all your users.

So instead of:

 You get:



Sadly there is no simple RegKey or similar for this, so best option imo is to use 3.party autohotkey open source project.

First thing to do is to install/ deploy autohotkey.
Download from here:
https://autohotkey.com/

To deploy via network make a startup script in a GPO
(Note version number in command)
AutoHotkey112401_Install.exe /S
This will install AutoHotkey in default location.
(Please refer to the autohotkey forum for more options and switches.)

Next step is to create a script file to make things work - Autohotkey is script controlled, and the sky is the limit, when it comes to creating hotkeys and hotstrings
  • 1. Right-Click on your desktop.
  • 2. Find "New" in the menu.
  • 3. Click "AutoHotkey Script" inside the "New" menu.
  • 4. Give the script a new name. Note: It must end with a .ahk extension. Ex. SFB.ahk
  • 5. Find the newly created file on your desktop and Right-Click it.
  • 6. Click "Edit Script".
  • 7. A window should have popped up, probably Notepad. If so, SUCCESS! 
Now the fun begins - and please refer to forum or helpfile for fullsyntax - but I will simply give you the content for at script file that defines the good old WIN+Y shotcut

UPDATED -
Thanks to my friend Daniel, for supplying an extra great little addition to the script.
With this added, you can select/ mark a phonenumber anywhere in Windows and simply press "WINDOWS"+V and SKYPE4B will open and dial the selected number - excellent feature.


; My SKYPE For Business "Bring to Focus" shortcut
<#y::
   Send, ^!+3

Send {Esc}
Return
; DAL's nifty addiditons :)
<#v::
                      send, ^c

                      Send, ^!+3
                      Send {esc}

                      TrimmedClipboard := Trim(Clipboard)
                      SendRaw, %TrimmedClipboard%

                      Sleep 1500

                      Send {Enter}

Return
The extra {esc} is there to prevent "file" menu from getting activated, so cursor always will be positioned in the search field.
Put the above in the SFB.ahk fil and save it, to autorun put it in your startup folder - in Win10 just press "WINDOWS" + R to open RUN and type "shell:startup" this opens the startup folder, here you place the AHK file
Now you can choose to "deploy" this SFB.ahk file to your users and put it in THEIR startup folder, my favorite way is to use Group Policy Preferences
Put the script file on a file-server, and create a "files" item in GPMC.

Path to startup folder would be %AppDataDir%\Roaming\Microsoft\Windows\Start Menu\Programs\Startup


The "File" item is found in the GPMC here:

HAPPY SKYPE'ing


Ingen kommentarer: