How to change login/password for proxy in System Preferences?

2010-07-17 Thread Tomas Kolar - Audiffex
Hi all, I'd like to change proxy settings in System Preferences (Network/ Advanced.../Proxies) programatically. I do not have problem to change server and port, and also to disable/enable usage of proxy server for required protocols – all these settings can be easilly done with SystemConfi

Small app does not get keyboard events for alert sheet

2009-03-23 Thread Tomas Kolar
Hello all, we have problem with a minimalistic application that opens standard alert sheet. The code looks like this: int main(int ac, char *av[]) { NSApplication *app=[NSApplication sharedApplication]; // tried to send activateIgnoringOtherApps:YES, in vain NSRect frame=NSMakeRect