NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Add-ons (3rd party plugins, utilities and skins) Old Stuff (Legacy) GB-PVR Support (legacy) v
« Previous 1 … 276 277 278 279 280 … 1231 Next »
Keyboard shortcut for standby

 
  • 0 Vote(s) - 0 Average
Keyboard shortcut for standby
frankmcg
Offline

Senior Member

Posts: 312
Threads: 23
Joined: Sep 2006
#1
2008-08-10, 03:16 PM
Can anyone think of a way to have one key press which puts the computer into standby (or hibernate for that matter)? Within windows its ctrl+esc+u+enter but I'm thinking that would cause GB-PVR to lose focus.

Going up or down several menu items to "system" then down to "standby" is far too much like hard work!

What I want to do is get the keyboard shortcut, then map this to my hauppauge remote in case that made any difference to the answer. Don't MS remotes have a one-button solution for this within MCE?
fuzzweed
Offline

Posting Freak

Posts: 1,210
Threads: 200
Joined: May 2006
#2
2008-08-10, 04:16 PM (This post was last modified: 2008-08-10, 04:24 PM by fuzzweed.)
MS remotes effectively duplicate the sleep button on a keyboard (I'm assuming yours doesn't have one!). I think this button is handled as a special case by windows as it shows up in power management options if you have the required hardware attached.
You could map the hauppauge green button via irremote.ini to the keyboard shortcut you mentioned though. You can't bring itout of standby with the HP remote, but you could map green to run PVRX2 under the default settings, and map it to standby under the GBPVR section.
Alternatively I think you ought to be able to google for some sort of hotkey application to reassign ctrl+esc+u+enter to a 'spare'key on your keyboard `~ for example.
[SIZE="1"]Server: Win7 N | AMD Phenom II X4 3.2GHz | 4Gig RAM | Gigabyte GA-MA770-DS3 Mobo | 5TB+ HDDs | 2x BlackGold Twin HD DVB-T| ATI HD 5450 | Cambridge Audio DAC Magic
Client 1: OpenElec / XBMC | Dell GX280 P4 3.4GHz |2Gig RAM | ATI HD 5450 | SPDIF pass through
Client 2: OpenElec / XBMC | Dell GX280 P4 3.4GHz |2Gig RAM | ATI HD 5450 | C-MEDIA USB DAC
Android: Samsung Galaxy S2 GT-I9100 4.4.2 Cyanogenmod 11[/SIZE]
frankmcg
Offline

Senior Member

Posts: 312
Threads: 23
Joined: Sep 2006
#3
2008-08-11, 10:26 AM
Thanks for the suggestions. I'll try it tonight but I'm just wondering whether doing a ctrl+esc+u+enter is going to try and minimise GB-PVR interupting the "seemlessness" of it all? Another idea I had was a custom task or desktop shortcut calling psshutdown (http://www.ss64.com/nt/psshutdown.html) and mapping a keyboard shortcut to that desktop shortcut. Custom task would be simpler I'm thinking as if I recall correctly they can be assigned to the Function keys?

Would be interested in hearing what others are doing too.
Fyvve
Offline

Junior Member

Posts: 20
Threads: 3
Joined: Jun 2008
#4
2008-08-11, 05:00 PM
Maybe won't work for you but this is what i do:

I put
Quote:rundll32 powrprof.dll,SetSuspendState
in a .bat file and then tell HIP to run that .bat when i press the power button.
K.S.
Offline

Senior Member

Posts: 526
Threads: 12
Joined: Oct 2006
#5
2008-08-12, 06:56 AM
@frankmcg: i also use psshutdown. it's not seamless, but has one nice "feature" in combination with customizable remotes (like the hauppauge remotes). setup psshutdown with timer (i.e. 110 sec) & allow users to cancel the request: voila, you have your custom button for direct standby. ups, you've somehow hit the wrong button, your machine is going to standby? no prolem, just press ok (enter) & the standby countdown is cancel ;-)

Fyvve Wrote:Maybe won't work for you but this is what i do:

I put in a .bat file and then tell HIP to run that .bat when i press the power button.

@Fyvve: does your machine ever wake up automaticaly for recordings/epg updates? mine never did with that rundll32 call (seams like it disables the wake up timers), details here: http://forums.gbpvr.com/showpost.php?p=2...ostcount=7
sub Wrote:Yep, what he said.

curiosity killed the cat Big Grin
frankmcg
Offline

Senior Member

Posts: 312
Threads: 23
Joined: Sep 2006
#6
2008-08-12, 08:30 AM
Makes sense. Are you using a batch file with a keyboard shortcut (called by the hauppauge remote) to do that? Does the countdown prompt appear on top of GB-PVR (even in FSE mode)? Or are you using a custom task?

Fyvve - I had the problem K.S. mentioned using powrprof.dll - machine doesn't resume properly, so think that rules out that option
K.S.
Offline

Senior Member

Posts: 526
Threads: 12
Joined: Oct 2006
#7
2008-08-12, 02:00 PM
frankmcg Wrote:Does the countdown prompt appear on top of GB-PVR (even in FSE mode)? Or are you using a custom task?

custom task, point to batch or exe of your choice (in my case it's a batch to check for pending recordings before accidentaly suspending the machine), call that custom task Shutdown, change the setting in config.xml to say <DefaultPluginPower>Shutdown</DefaultPluginPower>
or whatever you choose as a custom task name et voila, your hauppauge power button calls it, for those who still want to navigate around: it's an menu entry called Shutdown, put it in your menu where ever you want. if you don't want to see it you have to map it directly in irremote.ini
sorry, can't tell you about FSE, i don't use it.
sub Wrote:Yep, what he said.

curiosity killed the cat Big Grin
Fyvve
Offline

Junior Member

Posts: 20
Threads: 3
Joined: Jun 2008
#8
2008-08-12, 02:20 PM
You know i think it does not wake up properly. Huh, i have been wondering for a while why i sometimes have failed recordings. Thanks guys!
frankmcg
Offline

Senior Member

Posts: 312
Threads: 23
Joined: Sep 2006
#9
2008-08-13, 12:10 PM
K.S. Wrote:custom task, point to batch or exe of your choice (in my case it's a batch to check for pending recordings before accidentaly suspending the machine), call that custom task Shutdown, change the setting in config.xml to say <DefaultPluginPower>Shutdown</DefaultPluginPower>
or whatever you choose as a custom task name et voila, your hauppauge power button calls it, for those who still want to navigate around: it's an menu entry called Shutdown, put it in your menu where ever you want. if you don't want to see it you have to map it directly in irremote.ini
sorry, can't tell you about FSE, i don't use it.

Thanks for your help. Set this up last night and it's done the trick. Bit of an incompatibility with FSE mode as I suspected though which hides the countdown prompt but it'll do for now! Wonder whether something like this could be built into the shutdown plugin? Will post a question on that sub-forum now.
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  Set Top Box Standby "press OK" to return to TV mrayle 8 6,926 2011-10-04, 05:17 PM
Last Post: zanders
  Standby pvrx2 issue Squid 0 1,289 2010-06-02, 05:08 PM
Last Post: Squid
  Problem scrolling with keyboard in TV Guide - exits back to Main Menu jokerwithin 8 2,808 2010-04-19, 01:30 AM
Last Post: sub
  Black screen when resuming from standby... bobsmith 5 3,217 2010-04-03, 12:43 PM
Last Post: keith_leitch
  Remote buttons and Keyboard keys jw100 1 1,310 2010-03-30, 12:59 PM
Last Post: jw100
  Waking up no longer working after standby? DrDDT 5 2,423 2010-02-02, 05:53 AM
Last Post: pBS
  gb-pvr renderer stop&go when using mouse or keyboard feniks 0 1,147 2010-01-22, 10:15 PM
Last Post: feniks
  Play Program → Standby → Resume → Crash Rene_1 9 3,070 2010-01-03, 09:58 AM
Last Post: Rene_1
  Video sputters after standby wesmapes 0 1,080 2009-10-11, 04:02 PM
Last Post: wesmapes
  MCE Remote & Keyboard Issues jburbaum 2 1,663 2009-09-11, 03:40 AM
Last Post: jburbaum

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode