Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

226
Views
Node.js press Media_Play_Pause Key

So I`m finally trying to learn some javascript. As a little exercise, I started to write a vs code extension.

I need to virtually press the media_play_pause key. In Python I can just write:

import win32api
win32api.keybd_event(0xb3, 34)

I tried multiple different things but nothing worked so far. The closest I got was:

var ks = require("node-key-sender");
ks.sendKey("@179");

But it just won`t work.

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!