Results 1 to 3 of 3

Thread: Press one button = Launch Boxee and app of your choice

  1. #1
    Join Date
    Feb 2010
    Posts
    1

    Default Press one button = Launch Boxee and app of your choice

    Not sure if everyone has figured this one already, but I thought I would share my recent findings.

    First. I am currently using Boxee on a Mac with Remote Buddy 1.16 and my Harmony One. I want to be able to press ONE button on my remote and immediately launch Boxee and load Pandora immediately. I wanted the same for boxee's Netflix application.

    This is how I did it.

    1) Assuming you guys know where your keyboard.xml file is in your keymaps folder, open this add the following lines in the <Global><keyboard> section.

    <p>RunApp(app://pandora/14000)</p>
    <n>RunApp(app://netflix/14000)</n>

    Save the file.

    2) Open up boxee and press the letter 'P' key to launch Pandora. Press the 'N' key to launch Netflix.. YAY! Cool, huh?

    3) Now, add the following AppleScript to a Custom action in Remote buddy as step 1.

    tell application "Boxee" to activate

    Then for step 2. tell remote buddy to issue the keystroke 'p' or 'n'

    Map this custom action to any key on your remote and watch the magic.

    You will find that with one press of a button on your remote you can launch boxee and any app of your choice immediately.

    Supercool! Enjoy!
    ---------------------------
    Yes, this is a vague tutorial, Im sorry Boxee-family. I'm at work and don't need the boss asking what I'm doing. PM if you have more questions!

  2. #2
    Join Date
    Feb 2010
    Posts
    2

    Default

    Very cool.
    I was wondering if anyone knows how to do this in linux? I'm running 9.10, with a HP Media Center Remote Control. If I press the power button while Boxee is running it will close the program, is there a way to have the power button also start it? (doesn't necessarily have to start an app as well)

  3. #3
    Join Date
    Jul 2010
    Posts
    1

    Default

    You can even do it without Applescript. Not sure if they added this to Boxee inbetween the original post and this one.

    Edit the keyboard.xml as described except in mine the 'P' button is set aside for 'Play' so I used the 'A' button instead. Whatever one floats your boat.

    Create a custom action in Remote Buddy. Let's call it 'Start Pandora'

    Add a Step 1 - Add a delay (mine works at 2.25 seconds but your system may work faster or slower than mine)

    Add a Step 2 - Add a keystroke. Enter the one you picked in the keyboard.xml in the actor space below the Actors to run within Action. Edit these parameters:

    - Operation change to 'Single key press on button press'
    - Drop the boxee application on the bundle identifier entry
    - Tick the checkbox that says 'Activate application and bring it to front'

    Then click the 'Use' button and you are done with this part. Now map this custom action to a key on your defined remote in Remote Buddy.

    Press that key and even if Boxee is closed, it will open and you will have Pandora in just a few seconds.

    Setup Netflix or whatever app you like the same way. This also allows you to switch directly between Boxee apps. It wlll pause the app that is not in front. Note that Pandora will continue to play in the Netflix app(or any other like app) until you press the 'Play' button on the movie you have selected.

    Thanks to the original poster for this great beginning to build on!
    Last edited by drewman77; July 9th, 2010 at 03:00 AM.

Similar Threads

  1. Remove Launch Button from Apps
    By ytsejam1138 in forum feature requests
    Replies: 1
    Last Post: March 14th, 2012, 04:59 PM
  2. Replies: 3
    Last Post: September 1st, 2011, 10:55 PM
  3. Replies: 0
    Last Post: June 4th, 2010, 08:21 AM
  4. Make Media button on Windows remote launch boxee instead of WMC
    By Jeff91 in forum boxee for windows help
    Replies: 3
    Last Post: June 4th, 2010, 06:20 AM
  5. New Gonzee App - Associated Press 1.0
    By RobSpectre in forum announcements
    Replies: 3
    Last Post: August 24th, 2009, 08:04 PM

Bookmarks

Posting Permissions

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