Re: open proxy setting
Re: open proxy setting
- Subject: Re: open proxy setting
- From: "Koshiro MITSUYA" <email@hidden>
- Date: Fri, 22 Jun 2007 18:38:35 +0900
Hi Nick,
Thank you for your advice. But the information you pointed is not
what I am looking for. So, let me explain the situation more.
I know we can open "System Preferences >> Network setting" from my
application by doing as follow, however I don't know how to open the
Proxy setting tab on the Network.prefPane.
[[NSWorkspace
sharedWorkspace]openFile:@"/System/Library/PreferencePanes/Network.prefPane"
];
Safari do exactly same as what I want to code. When I clicked the
"change proxy setting" button on the Safari preference window, the
Proxy setting tab in the Network.prefPane is openned.
Do you have any idea?
thanks in advance,
Koshiro
2007/6/2, Nick Zitzmann <email@hidden>:
On Jun 1, 2007, at 12:26 AM, Koshiro MITSUYA wrote:
> Is there any way to open a proxy setting about a cretin port (likely
> the port currently using) on the Network.prefPane?
> I would like to put a button on my preference window in order to let
> users check their proxy settings.
You can use the SystemConfiguration framework to get the user's proxy
settings. Check out the CURLHandle source code for an example of how
to do this: <http://curlhandle.sourceforge.net/>
Nick Zitzmann
<http://www.chronosnet.com/>
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden