• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: open proxy setting
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Re: open proxy setting (From: Nick Zitzmann <email@hidden>)

  • Prev by Date: Re: Put the display to sleep...?
  • Next by Date: Re: “Cure for n00b-ness” or “Cocoa Tutorials for the Rank Beginner”
  • Previous by thread: Re: open proxy setting
  • Next by thread: About Technical Q&A QA1518 - Using UTIs to Identify Image Files - what about Video?
  • Index(es):
    • Date
    • Thread