• 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: Setting Web Proxy programmatically
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Setting Web Proxy programmatically


  • Subject: Re: Setting Web Proxy programmatically
  • From: "parag vibhute" <email@hidden>
  • Date: Thu, 20 Mar 2008 19:45:52 +0530

Hi Jean

Yes my tool is running enough privileges. As I said, my tool is successfully
updating dynamic store which require root authentication. But I am not
successful in updating persistant store.

Thanks,
Palav


On Thu, Mar 20, 2008 at 6:31 PM, Jean-Daniel Dupas <email@hidden>
wrote:

>
> Le 20 mars 08 à 13:26, parag vibhute a écrit :
>
> > I am glad to say that I am able to write the code which can set all
> > four keys releated to PAC file URL. As suggested, I used System
> > Configuration framework. But I think System Configuartion framework
> > (& scutil command) only accesses the dynamic store. I went through
> > PDFs but not found useful info to change persistant store. System
> > preferences values are kept in persitant store by Preferences
> > monitor & on file-system, its location is "/Library/Preferences/
> > System Configuration/preferences.plist". But whatever I tried with
> > the APIs & with scutil command, those changes never get reflected in
> > preferences.plist & hence System Preferences also shows old entries.
> >
> > One more drawback is these APIs are used to change values in dynamic
> > store & on reboot, dynamic store always gets recreated which flush
> > my changes.
> >
> > Can anybody suggest how can I change persistant store & thereby
> > System Preferences programmatically.
> >
> > Thanks,
> > Palav
>
> I did a program long ago that did it, I don't think I had to do
> something special to change proxy settings.
> I have just used MoreSCF the way it's describe in the read me and it
> worked. (http://developer.apple.com/samplecode/MoreSCF/listing14.html)
>
> Is your tool running with enough privilege to commit changes ?
>
>


--

There are many things in your life that will catch your eye but only a few
will catch your heart....pursue those'.
_______________________________________________

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: 
 >Setting Web Proxy programmatically (From: "parag vibhute" <email@hidden>)
 >Re: Setting Web Proxy programmatically (From: "parag vibhute" <email@hidden>)
 >Re: Setting Web Proxy programmatically (From: Jean-Daniel Dupas <email@hidden>)
 >Re: Setting Web Proxy programmatically (From: "parag vibhute" <email@hidden>)
 >Re: Setting Web Proxy programmatically (From: Jean-Daniel Dupas <email@hidden>)
 >Re: Setting Web Proxy programmatically (From: "parag vibhute" <email@hidden>)
 >Re: Setting Web Proxy programmatically (From: Jean-Daniel Dupas <email@hidden>)
 >Re: Setting Web Proxy programmatically (From: "parag vibhute" <email@hidden>)
 >Re: Setting Web Proxy programmatically (From: "parag vibhute" <email@hidden>)
 >Re: Setting Web Proxy programmatically (From: Jean-Daniel Dupas <email@hidden>)

  • Prev by Date: Re: Custom Shaped Buttons
  • Next by Date: Re: memcpy strange behavior
  • Previous by thread: Shared itunes movies on cocoa app
  • Next by thread: NSAppleScript returning wrong error info
  • Index(es):
    • Date
    • Thread