On Jan 4, 2011, at 3:20 PM, eveningnick eveningnick wrote: > Hi Nick > Thank you > I've an unusual application that is mainly located in System > Preferences (its gui part), and which can be uninstalled by clicking a > button "Uninstall" in that prefpane > > better solution would be to programmatically press "Show All" button > ("back" in System Preferences), but that seems impossible because > PrefPane reference doesnt mention have to do that. > > if someone knows there is a way to click "Show All" from a preference > pane programmatically, i'd be thankful > _______________________________________________ >
Definitely just ask the user to Quit System Preferences if it is running. With all that you seem to be doing there, it may be better to just have a stand alone uninstaller. If an app *really* requires an installer/uninstaller, then it it is not so trivial to install/uninstall. An app that does the status-menu-item, managed-by-system-preferences-pane thing, that should have a separate uninstaller. The only way it's going to be easier is to have an app that is drag and drop install/uninstall. _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com