Jump to content

Erreichbar ./. nicht erreichbar SetRichPresenceStatus VB-Script


Chris72
 Share


Recommended Posts

  •  
  • Members
  • 0
  • 1 post

Hallo Forum,

 

ich hätte gern die Möglichkeit, mittels zweier VB-Scripte den Status

'Away', bzw. 'Available' pro User (die eigene Anmeldung) zu setzen;

 

Kann mir dabei jemand behilflich sein, und ein funktionierendes Code-Snippet zugänglich machen?

(Unter Benutzung der Methode SetRichpresentStatus)

Option Explicit
    Dim LineCfg : Set LineCfg = Nothing
    Dim d : Date : d=now
    Set LineCfg= Wscript.CreateObject("CLMgr.ClientConfig")

'Away true, Da false

        LineCfg.SetRichPresenceStatus true, false, d

    Set LineCfg = Nothing

        Wscript.Quit

 

Funktioniert so irgendwie leider nicht; sollte aber so simpel gefaßt sein...

 

Kann mir da jemand sagen, wie es richtig lauten muß?

 

Vielen Dank!

Grüße Chris.

Link to comment
Share on other sites


Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share


×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and have taken note of our Privacy Policy.
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.