Using the "Pause" key to pause/resume

Discussion in 'Windows Media Player' started by Swifty, Aug 7, 2007.

  1. Swifty

    Swifty Guest

    Can anyone suggest a sneaky trick that I could use which would allow me
    to use the "Pause" key on my keyboard to pause/resume WMP11? It's about
    the only application for which a "pause" function is relevant.

    I've got an IBM Enhanced keyboard, which included audio controls, but I
    use that with my laptop (which requires a USB keyboard) and I'd prefer
    to stick with my standard keyboard for my main (desktop) PC. I don't use
    the "Pause" button for anything else (well, I did pause a command prompt
    window just yesterday, after brushing off an inch deep layer of dust
    from the "pause" key) so I can live without its standard function.
    Swifty, Aug 7, 2007
    1. Advertisements

  2. Swifty

    zachd [MSFT] Guest

    Use something to map PAUSE to WM_APPCOMMAND_PLAYPAUSE . I suspect some sort
    of HotKeys software would allow that sort of thing.
    zachd [MSFT], Aug 9, 2007
    1. Advertisements

  3. Swifty

    Swifty Guest

    Use something to map PAUSE to WM_APPCOMMAND_PLAYPAUSE

    I don't have any idea what WM_APPCOMMAND_PLAYPAUSE is, and a Google
    Search yields one hit - a comment by you, strangely!

    Hopefully I can get at this using "C". I recently ordered Kernighan and
    Richie's book (£0.33 from Amazon!) and I'll let you know when I've got
    it working. I'm still debugging my "Hello, World" hello.c program.
    Swifty, Aug 13, 2007
  4. Swifty

    zachd [MSFT] Guest

    MSDN is your friend if you ignore my search terms--
    for WM_APPCOMMAND , with APPCOMMAND_MEDIA_PLAY_PAUSE being the precise
    answer. I tend to blur those two when I speak from my memory. I'll try to
    stop doing that.
    zachd [MSFT], Aug 13, 2007
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.