Help - Search - Members - Calendar
Full Version: Preventing Skype window popup when making outgoing calls
Skype Community > English > Development, Betas and Skype Garage > Skype Public API
nielm_
This is more of a general Skype question, but how do you stop Skype from popping up it's window and taking focus when you make an outgoing call through the API?

Eg, using skypetracer:
call echo123
(skype window pops up)

I can minimize the window with the minimize command, but in my application (an skype UI for a PVR HTPC app), that is already too late, as for a variety of reasons (VMR9 Exclusive Mode) the HTPC app minimises when the focus is switched..

(I have seen the forum posts about preventing popups for incoming calls and chats, and I have already made the changes to the config.xml file to prevent these)
spud5
[quote=nielm]This is more of a general Skype question, but how do you stop Skype from popping up it's window and taking focus when you make an outgoing call through the API?[/quote]

I don't think this will be possible until Skype add something like
<OffHookPopup>0</OffHookPopup> to the application configuration.

If you do find a solution, please post the details. Many people have asked for this functionality.
nielm_
JIRA'd smile.png
bertouta
Hi your request has been picked up in Jira :

https://developer.skype.com/jira/browse/SPA-13

Please feel free to visit and collaborate about it.

Results and solutions will be posted and commented there.

Regards,

Antoine
cauriera_
I'am not sure, but I think that, as it is said in the Skype API licence agreement:

"You will not remove, overtake , HIDE or otherwise make the UI inaccessible for Users of your application...."

So I don't think there is a way of doing what you want.

Antoine
bertouta
Hi there, hi Antoine,

(Antoine's ref to http://forum.skype.com/viewtopic.php?t=488...8801&highlight= )

As it was said, this issue will be tracked in Jira.

https://developer.skype.com/jira/browse/SPA-13

Please free to vote because we believe that we could change this in future.

Regards,

Antoine
spud5
[quote=cauriera]I'am not sure, but I think that, as it is said in the Skype API licence agreement:

"You will not remove, overtake , HIDE or otherwise make the UI inaccessible for Users of your application...."

So I don't think there is a way of doing what you want.

Antoine[/quote]

This is (politically) correct.

So Skype should include a "stay in the tray" option, but API calls should not be allowed access to this option. Only the user, not software, should be able to "hide" the GUI.
jasonbsteele_
I can't see why Skype has to pop-up when an outgoing call is made. Why can't it stay in the tray until the user clicks it?

I'm calling Skype.Cliemnt.Minimize to put it back in the tray immediately - but unfortunately Skype still flashes up. This is a real pain if the user is in a game which is in "full screen" mode as it causes the game to come out of full screen.

So can we all vote on asking for this behaviour to be changed at
https://developer.skype.com/jira/browse/SPA-13
Martyn50_
This may be a late reply but you could hide the window by making it appear off the screen.

I achieved this by changing the config.xml in the section MainWindow. I've changed the X setting here to be negative the WIDTH setting. This obviously means it is always hidden but I don't see why you couldn't use the API for whatever OS/GUI you are using to move it around. I've not tried it but I imagine say in Windows you could use the MoveWindow function.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.