Results 1 to 12 of 12

Thread: Executing a batch file with the MCE remote in Window XP

  1. #1
    SiM
    SiM is offline
    Senior Member
    Join Date
    Apr 2006
    Location
    London
    Posts
    7,787
    Thanks
    300
    Thanked
    633 times in 422 posts
    • SiM's system
      • Motherboard:
      • P5K Premium
      • CPU:
      • Q6600
      • Memory:
      • 8GB PC2-6400 OCZ ReaperX + Platinum
      • Storage:
      • 3 x 320gb HD322HJ single platter in Raid 0
      • Graphics card(s):
      • PNY GTX285
      • PSU:
      • Corsair TX650W
      • Case:
      • Antec 1200
      • Monitor(s):
      • 2407-HC

    Executing a batch file with the MCE remote in Window XP

    Can I set a button to run a batch file?

    cheers

  2. #2
    SiM
    SiM is offline
    Senior Member
    Join Date
    Apr 2006
    Location
    London
    Posts
    7,787
    Thanks
    300
    Thanked
    633 times in 422 posts
    • SiM's system
      • Motherboard:
      • P5K Premium
      • CPU:
      • Q6600
      • Memory:
      • 8GB PC2-6400 OCZ ReaperX + Platinum
      • Storage:
      • 3 x 320gb HD322HJ single platter in Raid 0
      • Graphics card(s):
      • PNY GTX285
      • PSU:
      • Corsair TX650W
      • Case:
      • Antec 1200
      • Monitor(s):
      • 2407-HC

    Re: Executing a batch file with the MCE remote in Window XP

    anyone know?

  3. #3
    Does he need a reason? Funkstar's Avatar
    Join Date
    Aug 2005
    Location
    Aberdeen
    Posts
    19,874
    Thanks
    630
    Thanked
    965 times in 816 posts
    • Funkstar's system
      • Motherboard:
      • Gigabyte EG45M-DS2H
      • CPU:
      • Intel Core2Quad Q9550 (2.83GHz)
      • Memory:
      • 8GB OCZ PC2-6400C5 800MHz Quad Channel
      • Storage:
      • 650GB Western Digital Caviar Blue
      • Graphics card(s):
      • 512MB ATI Radeon HD4550
      • PSU:
      • Antec 350W 80+ Efficient PSU
      • Case:
      • Antec NSK1480 Slim Mini Desktop Case
      • Operating System:
      • Vista Ultimate 64bit
      • Monitor(s):
      • Dell 2407 + 2408 monitors
      • Internet:
      • Zen 8mb

    Re: Executing a batch file with the MCE remote in Window XP


  4. Received thanks from:

    SiM (10-10-2008)

  5. #4
    SiM
    SiM is offline
    Senior Member
    Join Date
    Apr 2006
    Location
    London
    Posts
    7,787
    Thanks
    300
    Thanked
    633 times in 422 posts
    • SiM's system
      • Motherboard:
      • P5K Premium
      • CPU:
      • Q6600
      • Memory:
      • 8GB PC2-6400 OCZ ReaperX + Platinum
      • Storage:
      • 3 x 320gb HD322HJ single platter in Raid 0
      • Graphics card(s):
      • PNY GTX285
      • PSU:
      • Corsair TX650W
      • Case:
      • Antec 1200
      • Monitor(s):
      • 2407-HC

    Re: Executing a batch file with the MCE remote in Window XP

    Thanks, will give it a go

  6. #5
    SiM
    SiM is offline
    Senior Member
    Join Date
    Apr 2006
    Location
    London
    Posts
    7,787
    Thanks
    300
    Thanked
    633 times in 422 posts
    • SiM's system
      • Motherboard:
      • P5K Premium
      • CPU:
      • Q6600
      • Memory:
      • 8GB PC2-6400 OCZ ReaperX + Platinum
      • Storage:
      • 3 x 320gb HD322HJ single platter in Raid 0
      • Graphics card(s):
      • PNY GTX285
      • PSU:
      • Corsair TX650W
      • Case:
      • Antec 1200
      • Monitor(s):
      • 2407-HC

    Re: Executing a batch file with the MCE remote in Window XP

    You bar steward.

    It makes powerdvd and mediaportal and everything else stop working with the remote. You have to manually map remote keys to keyboard keys to get them working again. It would take hours to set up. I gave up after an hour or so.

    Then when I removed and reinstalled old remote driver it still didn't work. I had to do a system restore.

    However, this does the job. I think I will purchase it

    Thanks for the suggestion anyway. It does actually work, but is more pain than it is worth. I only need to map one or two buttons to batch files...

  7. #6
    Does he need a reason? Funkstar's Avatar
    Join Date
    Aug 2005
    Location
    Aberdeen
    Posts
    19,874
    Thanks
    630
    Thanked
    965 times in 816 posts
    • Funkstar's system
      • Motherboard:
      • Gigabyte EG45M-DS2H
      • CPU:
      • Intel Core2Quad Q9550 (2.83GHz)
      • Memory:
      • 8GB OCZ PC2-6400C5 800MHz Quad Channel
      • Storage:
      • 650GB Western Digital Caviar Blue
      • Graphics card(s):
      • 512MB ATI Radeon HD4550
      • PSU:
      • Antec 350W 80+ Efficient PSU
      • Case:
      • Antec NSK1480 Slim Mini Desktop Case
      • Operating System:
      • Vista Ultimate 64bit
      • Monitor(s):
      • Dell 2407 + 2408 monitors
      • Internet:
      • Zen 8mb

    Re: Executing a batch file with the MCE remote in Window XP

    Sorry mate, never used it, just had a look through a list on the MediaPortal site

    Glad you got something though.

    Oh, have you looked on here: http://www.thegreenbutton.com/ ?

  8. #7
    SiM
    SiM is offline
    Senior Member
    Join Date
    Apr 2006
    Location
    London
    Posts
    7,787
    Thanks
    300
    Thanked
    633 times in 422 posts
    • SiM's system
      • Motherboard:
      • P5K Premium
      • CPU:
      • Q6600
      • Memory:
      • 8GB PC2-6400 OCZ ReaperX + Platinum
      • Storage:
      • 3 x 320gb HD322HJ single platter in Raid 0
      • Graphics card(s):
      • PNY GTX285
      • PSU:
      • Corsair TX650W
      • Case:
      • Antec 1200
      • Monitor(s):
      • 2407-HC

    Re: Executing a batch file with the MCE remote in Window XP

    Its OK Funkstar, it was worth a try. It does do the job that I needed, its just that the hacked drivers mean you have to manually configure each button for each app.

    Now my HTPC/NAS setup is finally complete

    Turn on HTPC. Push remote button to WOL NAS box. Watch away in mediaportal/powerdvd. Push remote button to turn off NAS (plink ftw). Then remote button to turn off HTPC. Awesome - now I am keyboard free

  9. #8
    Seething Cauldron of Hatred TheAnimus's Avatar
    Join Date
    Aug 2005
    Posts
    17,164
    Thanks
    803
    Thanked
    2,152 times in 1,408 posts

    Re: Executing a batch file with the MCE remote in Window XP

    SiM this is kinda easy, i could teach you to write a tool to do this quite easily.

    I did something similar a while back that performed macros depending on the application it was in. I'll have a looksee for it.
    throw new ArgumentException (String, String, Exception)

  10. #9
    SiM
    SiM is offline
    Senior Member
    Join Date
    Apr 2006
    Location
    London
    Posts
    7,787
    Thanks
    300
    Thanked
    633 times in 422 posts
    • SiM's system
      • Motherboard:
      • P5K Premium
      • CPU:
      • Q6600
      • Memory:
      • 8GB PC2-6400 OCZ ReaperX + Platinum
      • Storage:
      • 3 x 320gb HD322HJ single platter in Raid 0
      • Graphics card(s):
      • PNY GTX285
      • PSU:
      • Corsair TX650W
      • Case:
      • Antec 1200
      • Monitor(s):
      • 2407-HC

    Re: Executing a batch file with the MCE remote in Window XP

    Quote Originally Posted by TheAnimus View Post
    SiM this is kinda easy, i could teach you to write a tool to do this quite easily.

    I did something similar a while back that performed macros depending on the application it was in. I'll have a looksee for it.
    Is it easy? I am not a programmer, remember...

    Great! Well since you have made one, lets give it a go first then

  11. #10
    Seething Cauldron of Hatred TheAnimus's Avatar
    Join Date
    Aug 2005
    Posts
    17,164
    Thanks
    803
    Thanked
    2,152 times in 1,408 posts

    Re: Executing a batch file with the MCE remote in Window XP

    can't find it....

    its really easy to do, do you need the ability to disable/enable the remote key for certain apps?

    Ie if you use the 0 key, you might want that to work as a 0 in MCE but in Explorer have it open up winamp or something?
    throw new ArgumentException (String, String, Exception)

  12. #11
    SiM
    SiM is offline
    Senior Member
    Join Date
    Apr 2006
    Location
    London
    Posts
    7,787
    Thanks
    300
    Thanked
    633 times in 422 posts
    • SiM's system
      • Motherboard:
      • P5K Premium
      • CPU:
      • Q6600
      • Memory:
      • 8GB PC2-6400 OCZ ReaperX + Platinum
      • Storage:
      • 3 x 320gb HD322HJ single platter in Raid 0
      • Graphics card(s):
      • PNY GTX285
      • PSU:
      • Corsair TX650W
      • Case:
      • Antec 1200
      • Monitor(s):
      • 2407-HC

    Re: Executing a batch file with the MCE remote in Window XP

    Quote Originally Posted by TheAnimus View Post
    can't find it....

    its really easy to do, do you need the ability to disable/enable the remote key for certain apps?

    Ie if you use the 0 key, you might want that to work as a 0 in MCE but in Explorer have it open up winamp or something?
    Well the PC loads straight into mediaportal. From there I want to be able to run a batch file using the remote. I need to assign one remote button to WOL the server, and another to shutdown it.

    That is the problem.

    I have set up the batch file with a variable saying "Are you sure you want to shutdown Ubuntu?" to avoid shutting down if accidentally sitting on the remote lol

    With intelliremote it does work. I load the batch file with the * or # button then I press 1, then select to run the command or 2, then select to cancel. But if it is simple enough to do this without buying the software then great

    When in PowerDVD or in mediaportal I need the remote to function completely as normal (except the two custom buttons).

    Other customised buttons for activating AnyDVD would be helpful too, but I guess if I can run a batch file I will be able to open or close AnyDVD too...

  13. #12
    Does he need a reason? Funkstar's Avatar
    Join Date
    Aug 2005
    Location
    Aberdeen
    Posts
    19,874
    Thanks
    630
    Thanked
    965 times in 816 posts
    • Funkstar's system
      • Motherboard:
      • Gigabyte EG45M-DS2H
      • CPU:
      • Intel Core2Quad Q9550 (2.83GHz)
      • Memory:
      • 8GB OCZ PC2-6400C5 800MHz Quad Channel
      • Storage:
      • 650GB Western Digital Caviar Blue
      • Graphics card(s):
      • 512MB ATI Radeon HD4550
      • PSU:
      • Antec 350W 80+ Efficient PSU
      • Case:
      • Antec NSK1480 Slim Mini Desktop Case
      • Operating System:
      • Vista Ultimate 64bit
      • Monitor(s):
      • Dell 2407 + 2408 monitors
      • Internet:
      • Zen 8mb

    Re: Executing a batch file with the MCE remote in Window XP

    Isn't there an "execute script" plugin for media portal?

    I'll look in a while when i catch up on their forums.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 63
    Last Post: 14-11-2011, 09:17 AM
  2. Dodgy DVD-r's ?
    By starside in forum Help! Quick Relief From Tech Headaches
    Replies: 12
    Last Post: 27-03-2005, 06:11 PM
  3. How do you backup?
    By Howard in forum PC Hardware and Components
    Replies: 48
    Last Post: 05-01-2005, 09:05 AM
  4. Batch file help
    By wol in forum Software
    Replies: 11
    Last Post: 21-10-2004, 10:09 AM
  5. Batch File
    By mrdata2003 in forum Software
    Replies: 4
    Last Post: 26-01-2004, 06:25 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
  •