• 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
Enable Personal File Sharing programatically?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Enable Personal File Sharing programatically?


  • Subject: Enable Personal File Sharing programatically?
  • From: Joshua Scott Emmons <email@hidden>
  • Date: Tue, 16 May 2006 10:23:15 -0500

I have an application that requires personal file sharing to be enabled for some of its features to work. If it is not enabled, and one of those features is selected, I display a dialog explaining how to turn personal file sharing on. For security reasons, I also suggest that the user turns file sharing back off when finished.

It's actually a really annoying process: Open the System Preferences app. Wait. Select "sharing". Wait. Click on "Personal File Sharing". Wait. Repeat to disable when done.

If it annoys me, it has to be annoying my users. Is there a way I can use Cocoa to enable file sharing programatically (maybe prompting the user for an admin password if needed in the process)? It would be way better for my usability if a user could, say, click a button on my warning sheet to enable file sharing instead of going through the whole System Preferences thing.

Any ideas?

Cheers,
-Joshua Emmons
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Enable Personal File Sharing programatically?
      • From: Andrei Tchijov <email@hidden>
  • Prev by Date: Re: More Mac like handling of OS raised exceptions
  • Next by Date: Re: More Mac like handling of OS raised exceptions
  • Previous by thread: Re: Issue with Scroller n Placard in Table view
  • Next by thread: Re: Enable Personal File Sharing programatically?
  • Index(es):
    • Date
    • Thread