Results 1 to 3 of 3
  1. #1
    Applescript for stopping music when key is pressed (not the pause button)

    Member Since
    Aug 11, 2007
    Posts
    82
    Applescript for stopping music when key is pressed (not the pause button)
    Hi

    I have been messing with the Speech recognition in OS X and think it would be useful, but there is one problem, Music.

    I have a key set so that when I click it, it captures a voice command, I want to write a script that will mute, or pause music when this button is clicked. Then when the button is released the music comes back on again.

    Can this be done with Applescritpt? If so is there somewhere I can get such a script? Or how would I start to write it myself, I can program in Java and PHP so I have some programming experience to help me a bit

    Thanks

    Jake

  2. #2
    Applescript for stopping music when key is pressed (not the pause button)
    D3v1L80Y's Avatar
    Member Since
    Feb 02, 2004
    Location
    PA
    Posts
    12,456
    Specs:
    MacBook
    Quote Originally Posted by jakenoble View Post
    I want to write a script that will mute, or pause music when this button is clicked. Then when the button is released the music comes back on again.
    Just out of curiosity, why not just use the "Mute" button that already exists on the keyboard?
    __________________________________________________
    Posting and YOU|Forum Community Guidelines|The Apple Product Cycle|Forum Courtesy

    mac: a waterproof raincoat made of rubberized fabric
    MAC: a data communication protocol sub-layer, also known as the Media Access Control
    Mac: a brand name which covers several lines of personal computers designed, developed, and marketed by Apple Inc.


  3. #3
    Applescript for stopping music when key is pressed (not the pause button)

    Member Since
    Aug 11, 2007
    Posts
    82
    It will not let you set the mute key as the key to be pressed to capture the voice command.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. iPhone crashing when apps are put on certain screens and home button is pressed
    By markwco in forum iPhone Hardware and Accessories
    Replies: 0
    Last Post: 11-15-2012, 07:12 AM
  2. Pause/Play Button.
    By Tgrant. in forum Apple Notebooks
    Replies: 0
    Last Post: 09-28-2010, 09:08 PM
  3. I tunes 10, no pause button.
    By logan78511 in forum Music, Audio, and Podcasting
    Replies: 3
    Last Post: 09-11-2010, 10:55 AM
  4. Cmd key seems to always be pressed down
    By nestea in forum Apple Notebooks
    Replies: 1
    Last Post: 03-04-2010, 03:10 PM
  5. How to simulate a key pressed event
    By fgrasset in forum OS X - Development and Darwin
    Replies: 0
    Last Post: 02-19-2009, 01:12 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •