Enable Personal File Sharing programatically?
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