Help - Search - Members - Calendar
Full Version: Strange behaviour Minimize function
Skype Community > English > Development, Betas and Skype Garage > Skype Public API
MPOW
Hi all,

I have this code for my page (under IE 6, ASP.NET 2.0):

<body onload="Skype.Client.Start(); Skype.Attach(); UpdateStatus(); Skype.Client.Minimize(); ">

but after page load event Skype is not nimialized to tray but is full shown on the screen. Who knows why?

MP
merton_a
I don't think I ever got this method to work - I wrote my own:

CODE
    public void MinimizeSkypeClient()
    {
        Command min = new Command();
        min.Blocking = true;
        min.Command = "MINIMIZE";
        min.Expected = "MINIMIZE";
        Skype.SendCommand(min);
    }


However, I just tried Client.Minimize() in Skype 3.1.0.144 (on Vista), and it seems to be working now. What Skype version are you using?
MPOW
QUOTE(merton_a @ Tue Apr 17 2007, 12:26) [snapback]384235[/snapback]

However, I just tried Client.Minimize() in Skype 3.1.0.144 (on Vista), and it seems to be working now. What Skype version are you using?


3.1.11.152.

MP
MPOW
CODE
    public void MinimizeSkypeClient()
    {
        Command min = new Command();
        min.Blocking = true;
        min.Command = "MINIMIZE";
        min.Expected = "MINIMIZE";
        Skype.SendCommand(min);
    }


How to write it in JavaScript?

MP
merton_a
QUOTE(MPOW @ Tue Apr 17 2007, 13:38) [snapback]384257[/snapback]

CODE
    public void MinimizeSkypeClient()
    {
        Command min = new Command();
        min.Blocking = true;
        min.Command = "MINIMIZE";
        min.Expected = "MINIMIZE";
        Skype.SendCommand(min);
    }


How to write it in JavaScript?

MP


Sorry - I haven't done any JavaScript, so I can't really help.

I guess I'd start by trying to make the Command() method work for something really simple (PING, for example - expected should be PONG)...


This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.