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 … 68 69 70 71 72 … 1231 Next »
Hiding the cmd window from wake.cmd

 
  • 0 Vote(s) - 0 Average
Hiding the cmd window from wake.cmd
Stargrove1
Offline

Member

Posts: 125
Threads: 29
Joined: Jul 2006
#1
2009-12-03, 11:07 AM
I am using gbpvrwake.exe to make sure that the screen wakes up during recording. But I found that when start the pc, the cmdbox comes in front of the pvrx exe, this does not look very nice. Is it possible to hide the window that pvrx stays in front?
Intel Core Duo E5300 2,7GHz
1TB Samsung Spin Point
TechniSat CableStar HD 2
Windows 7
NextPVR 2.4.3
chewy747
Offline

Member

Posts: 188
Threads: 36
Joined: Aug 2005
#2
2009-12-03, 11:57 AM
you could use the app called runhide.exe
hoborg
Offline

Posting Freak

Posts: 970
Threads: 46
Joined: Feb 2009
#3
2009-12-03, 12:58 PM
... or you can use *.vbs script instead:

Code:
set oShell = WScript.CreateObject ("WScript.shell")

oShell.run "fullresume.exe",0,True            'fullresume after wakeup
'oShell.run "devcon.exe enable PCI\VEN_14F1",0,True    'example to enable WinTV HVR-1300 after wakeup
'oShell.run "C:\restart.bat" ,0,True            'example to execute "*.bat" file

I wrote MCE Standby Tool addon to support it: http://www.degroeneknop.nl/forum/index.p...302.0.html
[SIZE="1"]My projects:
SAF6 (Standalone Filters)
HOBRing - My easy Amiga emulation
My HTPC[/SIZE]
gEd
Offline

Posting Freak

London
Posts: 3,514
Threads: 100
Joined: Jan 2005
#4
2009-12-03, 06:11 PM
or there is liteswaps' start_pvrx2 that includes this feature as well as ensuring that pvrx2 is running and in the foreground with focus.
“If this is the way Queen Victoria treats her prisoners, she doesn't deserve to have any.”
herrmannj
Offline

Member

Posts: 150
Threads: 22
Joined: May 2005
#5
2009-12-03, 08:18 PM
... or you can use that small tool

usage: tofront <Mainwindowtitle>

simple place "tofront PVRX2" at the end of your wake.cmd. I wrote it because I had similar issues with epgupdate.bat
Sykor
Offline

Member

Posts: 182
Threads: 3
Joined: Mar 2009
#6
2009-12-03, 09:00 PM
herrmannj Wrote:... or you can use that small tool

usage: tofront <Mainwindowtitle>

simple place "tofront PVRX2" at the end of your wake.cmd. I wrote it because I had similar issues with epgupdate.bat
AFAIK simply (re)launching prvx2.exe will cause it to get focus. So...
copy whatever apps/tasks you need to perform to a different batch file in gbpvr's dir.
and setup your wake.cmd to contain a single line/command:
Quote:start /m batch_you_just_created.bat (/m sets it to run minimized)

Your new_batch.bat will do/run whatever wake.cmd did, but you'll add this to the very first line:
Quote:start prvx2.exe
This ensures pvrx2 gets focus no matter what.

This will give you just a tiny sniff of DOS prompt window when resuming from standby/hibernation.
pBS
Offline

Posting Freak

Posts: 4,829
Threads: 182
Joined: Aug 2005
#7
2009-12-04, 02:27 AM (This post was last modified: 2009-12-04, 02:32 AM by pBS.)
just minimize it by making a shortcut for the batch file and set to startup minimized...
call the link in scripts by specifying entire name with .lnk extension..[like wake.lnk]
Hardware: HDHR Prime, HDPVR 1212, Raspberry pi2, VFD display w/LCDSmartie
Stargrove1
Offline

Member

Posts: 125
Threads: 29
Joined: Jul 2006
#8
2009-12-04, 06:00 AM
Wow, so many ways. Thank you all for your help, I will try which works best for me.
Intel Core Duo E5300 2,7GHz
1TB Samsung Spin Point
TechniSat CableStar HD 2
Windows 7
NextPVR 2.4.3
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  GBPVR will not wake up XP computer from sleep keith_leitch 8 4,789 2011-10-10, 08:26 PM
Last Post: keith_leitch
  RECORDING STATUS WINDOW shows incorect info zb1 5 2,396 2010-12-11, 09:52 AM
Last Post: martint123
  Zero byte recordings on wake up to record bcchgeneral 3 1,994 2010-07-16, 07:20 AM
Last Post: bcchgeneral
  Wake.cmd and fse with Win7 shrek 2 1,578 2010-05-24, 09:31 PM
Last Post: shrek
  PC doesn't wake up sometimes aesn5 15 4,295 2010-03-18, 09:52 PM
Last Post: aesn5
  Disabling player window? keith_leitch 0 1,008 2010-02-26, 10:22 PM
Last Post: keith_leitch
  No wake up after custom hibernation gkovacsp 13 9,250 2010-02-10, 03:31 PM
Last Post: guudj77
  GBPVR not scheduling PC to wake up from Sleep twinfrey 1 1,191 2009-11-29, 02:22 AM
Last Post: sub
  How to get EPG from DVB-S by automatic wake up houndini 4 1,821 2009-11-23, 10:31 PM
Last Post: houndini
  Wake-up events in 1.4.7 namko 2 1,462 2009-11-12, 10:03 AM
Last Post: namko

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

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

Linear Mode
Threaded Mode