Advertisement
tabnation

zoom teams

Feb 26th, 2021
200
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.89 KB | None | 0 0
  1. settitlematchmode, 2
  2. f1::
  3. ;teams gui and hotkeys
  4. Gui, -Caption +AlwaysOnTop
  5. Gui, Add, Button, x12 y9 w80 h30 gmuter, Mute / Unmute
  6. Gui, Add, Button, x102 y9 w80 h30 gmuteall, Mute All but Host
  7. Gui, Add, Button, x192 y9 w80 h30 gpauseshare, Pause Screen Share
  8. Gui, Add, Button, x282 y9 w80 h30 gscreenshot, Screen Shot
  9. Gui, Add, Button, x372 y9 w80 h30 gfindsomeone, Find Someone
  10. Gui, Add, Button, x462 y9 w80 h30 gbackgroundblur, Toggle Blur
  11. Gui, Add, Button, x552 y9 w30 h30 gclose, X
  12. Gui, Show, x355 y135 h47 w589,
  13. Return
  14.  
  15. ;close script
  16. close:
  17. gui, destroy
  18. ;exitapp
  19. return
  20.  
  21. ;mute unmute - alt+ A or crtl shift m
  22. muter:
  23. WinActivate, teams
  24. send ^+m
  25. Return
  26.  
  27. ;mute all but host - Alt+M ; zoom
  28. muteall:
  29. WinActivate, zoom
  30. send !m
  31. Return
  32.  
  33. ;pause screen share - Alt+T:
  34. pauseshare:
  35. WinActivate, teams
  36. send !t
  37. return
  38.  
  39. ;screen shot - Alt+Shift+T
  40. screenshot:
  41. WinActivate, teams
  42. send !+t
  43. return
  44.  
  45. ;search bar send back 2 times to clear - ctrl e then ctrl shift c
  46. findsomeone:
  47. send ^c
  48. WinActivate, teams
  49. send ^e
  50. send {backspace 2}
  51. send ^v
  52. Send {return}
  53. send good morning whats todays goals
  54. send {return}
  55. return
  56.  
  57. ;toggle background blur ctrl shift p
  58. backgroundblur:
  59. WinActivate, teams
  60. send ^+p
  61. return
  62.  
  63.  
  64. f2::
  65. InputBox, Token, Zoom Token, Please enter your token
  66. InputBox, idofme, Zoom Token, Please enter your ID
  67. EndPoint=https://api.zoom.us/v2/meetings/​%idofme%/registrants?page_size=100
  68. Reg:=API_Call("GET",Endpoint,QS,Token,Payload)
  69.  
  70. for key, value in Reg.Registrants
  71. {
  72. data.=value.First_name a_tab value.Last_name
  73. }
  74. return
  75.  
  76. API_Call(Type,Endpoint,QS,Token,Payload)
  77. {
  78. HTTP := ComObjCreate("WinHttp.WinHttpRequest.5.1")
  79. HTTP.Open(TYPE,EndPoint QS)
  80. HTTP.SetRequestHeader("Authorization","Bearer " Token)
  81. HTTP.SetRequestHeader("Content-Type","application/json")
  82. HTTP.Send(Payload)
  83. ;results:=ParseJSON(HTTP.ResponseText)
  84. msgbox, %results%
  85. }
  86. Return
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement