MediaPortal SVN-Snapshot:-08-09-2008 09-21h - Revision:19876.rar | Page 8

Discussion in 'untested MediaPortal and TV-Server 1.0 RC2 svn-bui' started by MediaPortal-Bot, August 9, 2008.

  1. windsorguy13

    windsorguy13 Portal Member

    Joined:
    December 8, 2007
    Messages:
    13
    Likes Received:
    0
    Ratings:
    +0 / 0

    Hey Tourettes,

    This worked on my XP Pro machine:

    Code (Text):
    1.  
    2. Dim oSh, oEx, OS
    3. Set oSh=CreateObject("WScript.Shell")
    4. Set oEx=oSh.Exec("%COMSPEC% /C ver")
    5. Do While oEx.Status=0
    6.   WScript.Sleep 100
    7. Loop
    8. While Len(os)<1
    9.  os=Replace(oEx.StdOut.ReadLine,vbCrLf,"")
    10. Wend
    11. msgbox  ("OS=" & os)
    12.  
    Found that one here:
    VBScript - Determine OS

    Hope that helps!

     
  2. Google AdSense Guest Advertisement



    to hide all adverts.
  3. nachttier

    nachttier Portal Pro

    Joined:
    March 31, 2006
    Messages:
    86
    Likes Received:
    1
    Occupation:
    Computer Engineer
    Location:
    Viernheim
    Ratings:
    +1 / 0
    Home Country:
    Germany Germany
    Show System Specs
    Hi,

    does anybody else experience the problem of the not disappearing mouse pointer?
    I already installed the EVR.DLL mentioned here, but the pointer still stays after accessing the context menu.

    Regards,
    nachttier
     
  4. grubi

    grubi Portal Pro

    Joined:
    June 16, 2007
    Messages:
    1,216
    Likes Received:
    77
    Location:
    127.0.0.1
    Ratings:
    +86 / 0
    Home Country:
    Germany Germany
    Show System Specs
    Why no just wirte an own exec which does what tskill does.
    I found the following in the internet.
    Did not had time to test it myself.
    If it would be an option I can do this at the weekend.

    grubi.
     
  5. josch.hh
    • Premium Supporter

    josch.hh MP Donator

    Joined:
    March 29, 2008
    Messages:
    476
    Likes Received:
    71
    Occupation:
    Managing Engineer
    Location:
    Hamburg
    Ratings:
    +72 / 6
    Home Country:
    Germany Germany


    OK then here is an update.
    If you just uncheck the "Stop Mediaportal" checkbox and only check the "Restart Mediaportal" checkbox then MP will be stopped and restarted after standby. (- > same with tvservice
     
  6. josch.hh
    • Premium Supporter

    josch.hh MP Donator

    Joined:
    March 29, 2008
    Messages:
    476
    Likes Received:
    71
    Occupation:
    Managing Engineer
    Location:
    Hamburg
    Ratings:
    +72 / 6
    Home Country:
    Germany Germany
    Sorry, forgot the app.... here it is
     
  7. Hetfield

    Hetfield Portal Pro

    Joined:
    March 3, 2007
    Messages:
    69
    Likes Received:
    9
    Ratings:
    +9 / 0
    Home Country:
    Finland Finland
    script

    Would it be possible to check by the installer what services are available for killing tasks, and write different kind of script file depending about the tskill/taskkill and/or the operating system? Possibly also vb-script could check that the tskill/taskkill exists in the system folder?
     
  8. windsorguy13

    windsorguy13 Portal Member

    Joined:
    December 8, 2007
    Messages:
    13
    Likes Received:
    0
    Ratings:
    +0 / 0
    I posted this, but not sure where it went. This vb script will return the OS version without using WMI:

    Dim oSh, oEx, OS
    Set oSh=CreateObject("WScript.Shell")
    Set oEx=oSh.Run "%COMSPEC% /C ver", 0, True
    Do While oEx.Status=0
    WScript.Sleep 100
    Loop
    While Len(os)<1
    os=Replace(oEx.StdOut.ReadLine,vbCrLf,"")
    Wend
    msgbox ("OS=" & os)


    Hope that helps!
     
  9. josch.hh
    • Premium Supporter

    josch.hh MP Donator

    Joined:
    March 29, 2008
    Messages:
    476
    Likes Received:
    71
    Occupation:
    Managing Engineer
    Location:
    Hamburg
    Ratings:
    +72 / 6
    Home Country:
    Germany Germany
    Me again...
    From the guys how downloaded my little app "MP StandbyHandler"... i would like to have a reply, if it works for you...
    Plz gimme feedback
     
  10. lar282

    lar282 Portal Pro

    Joined:
    July 11, 2004
    Messages:
    414
    Likes Received:
    2
    Ratings:
    +2 / 0
    I record to a NAS and it works. BUT it does not work for me having the timeshift files on the nas.

    //Lasse
     
  11. debaser_uk

    debaser_uk Portal Pro

    Joined:
    June 15, 2006
    Messages:
    69
    Likes Received:
    0
    Occupation:
    Systems Analyst / Programmer
    Location:
    NE Lincs, UK
    Ratings:
    +0 / 0
    Home Country:
    United Kingdom United Kingdom
Loading...

Users Viewing Thread (Users: 0, Guests: 0)

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice
  • About The Project

    The vision of the MediaPortal project is to create a free open source media centre application, which supports all advanced media centre functions, and is accessible to all Windows users.

    In reaching this goal we are working every day to make sure our software is one of the best.

             

  • Support MediaPortal!

    The team works very hard to make sure the community is running the best HTPC-software. We give away MediaPortal for free but hosting and software is not for us.

    Care to support our work with a few bucks? We'd really appreciate it!