Skip to content

Instantly share code, notes, and snippets.

@yoichi
Created January 16, 2021 06:59
Show Gist options
  • Save yoichi/1f446e44cce1d143eb8ca74a15767fea to your computer and use it in GitHub Desktop.
Save yoichi/1f446e44cce1d143eb8ca74a15767fea to your computer and use it in GitHub Desktop.
' Create Zoom Meeting shortcut
Option Explicit
Dim meetingId
meetingId = InputBox("Enter Meeting ID")
If IsEmpty(meetingId) Or meetingId = "" Then
WScript.Quit
End If
Dim passCode
passCode = InputBox("Enter Passcode")
If IsEmpty(passCode) Or passCode = "" Then
WScript.Quit
End If
Dim shortcutName
shortcutName = InputBox("Enter shortcut name to crete")
If IsEmpty(shortcutName) Or shortcutName = "" Then
WScript.Quit
End If
Dim objWshShell
Set objWshShell = WScript.CreateObject("WScript.Shell")
Dim objShortcut
Set objShortcut = objWshShell.CreateShortcut(shortcutName & ".url")
objShortcut.TargetPath = "zoommtg://zoom.us/join?confno=" & meetingId & "&pwd=" & passCode
objShortcut.Save
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment