Questions tagged [system-preferences]

59 questions
20
votes
3 answers

Change network proxy settings in via commandline in Mac OS X Lion

I'm looking for the configuration file that keeps track of the Network Proxy settings in OS X. Is it stored in a .plist file? Specifically I'd like to programmatically modify the "Bypass proxy settings for these Hosts & Domains" field.
matpie
  • 17,033
  • 9
  • 61
  • 82
15
votes
1 answer

OS X System Preferences URL Scheme

I’m trying to open the Notifications preference pane (in OS X SystemPreferences.app) via a link. The prefix x-apple.systempreferences:// works so far for opening the system preferences app, but I’d like to open the notifications pane directly and…
max
  • 1,509
  • 1
  • 19
  • 24
14
votes
2 answers

When is a secondary DNS server used?

On our router we have the primary DNS set to a local IP, which is running Windows Server 2008 and the built in DNS server. We use this to resolve domains to local servers, if the domain is not founds locally we have forwarders set up to query…
Darthtong
  • 1,017
  • 4
  • 18
  • 30
12
votes
2 answers

Using Swift with an OS X Preference Pane plugin

I'd like to use Swift to build an OS X Preference Pane plugin for the System Preferences app, but I can't get it to work. After clicking "Next" the Xcode template doesn't offer an option to choose Swift as a language, but automatically creates the…
ElmerCat
  • 3,126
  • 1
  • 26
  • 34
10
votes
4 answers

How to set up a keyboard shortcut on my Mac to change scroll direction?

I am wondering if there is a way to switch the scroll direction on a mac/osx (yosemite) programatically. If so, I want to assign some sort of script or command to a key combination to switch it quickly. I work on a mac but consistently log into…
wondergoat77
  • 1,765
  • 9
  • 32
  • 60
9
votes
0 answers

Mac OS X Hot Corners: run a custom AppleScript?

Is there a way to run a custom AppleScript or any other custom application using the "Hot Corners" of Mac OS X? The default system settings list a number of actions (e.g. Launchpad, Mission Control, Desktop, etc.), but nothing that would allow me to…
Mark
  • 6,647
  • 1
  • 45
  • 88
7
votes
2 answers

Why does my Preference Pane seem to think it's always the wrong architecture?

This has worked just fine for a long time. As far as I can tell from the diffs I haven't changed anything... but I'm not 100% sure. All I know is that now my preference pane shows this error when I try to open it: When I press OK, it restarts and…
Ky -
  • 30,724
  • 51
  • 192
  • 308
6
votes
3 answers

FinderSync check if extension is selected

I am developing a FinderSync extension and I have some issues in checking if the selection is selecting, or selecting/deselecting the extension. Is there a way to programmatically check if a FinderSync extension is selected in System…
ciprian
  • 175
  • 7
6
votes
1 answer

Creating L2TP VPN on Mac OS X Programatically

I am trying to make application which can be use to connect to VPN using L2TP Protocol for Mac OSX Application using Objective C. I search a lot regarding this but couldn't find any proper example or tutorial. I Found halo/macosvpn for mac os vpn…
Malav Soni
  • 2,739
  • 1
  • 23
  • 52
5
votes
3 answers

Does anyone know where OSX stores the settings in System Preferences > Keyboard > Modifier Keys?

I'm apparently not the only one who wants to know (How can I change modifier keys in "System Preferences > Keyboard > Modifier Keys..."). I've tried watching the System Preferences app with dtruss, but that doesn't seem to be possible on 10.10.3…
Ted Middleton
  • 6,859
  • 10
  • 51
  • 71
4
votes
1 answer

How to make a script that doesn't ask permission every time it's opened

I have made an apple script that takes pictures of people using PhotoBooth. However, every time I open it, it asks for permission to use PhotoBooth instead of instantly taking a photo. I have already set the [Security & Privacy > Privacy >…
yuwe
  • 167
  • 1
  • 13
4
votes
0 answers

How to build a backward-compatible System Preferences pane?

Apple documentation says that System Preferences panes should be 64-bit programs, and that in OS 10.6 and 10.7, a 64-bit preference pane is expected to use garbage collection. But for 10.8, they say to use ARC, and recent versions of Xcode don't…
JWWalker
  • 22,385
  • 6
  • 55
  • 76
3
votes
1 answer

How to reset the Push Notifications permissions alert on MacOS

I want to reset the permission showed on the system preferences -> notifications page. So I can popup grant permission alert again after reset it. I google how to reset it and found a way to reset permission on iOS, but not for MacOS. (How to get…
3
votes
1 answer

Can we launch our app settings page from our ios app?

I have an iOS app, in which the user can enable/disable location tracking permission, so, on clicking a button in my app, I have to navigate the user to the location access page in system preference app, I went through lots of answers, which…
chandru
  • 407
  • 1
  • 5
  • 26
3
votes
1 answer

Opening certain OS X preference panes programmatically in El Capitan

In Yosemite it is possible to open System Preferences on a specific pane and tab by opening a URL like x-apple.systempreferences:com.apple.preferences.internetaccounts or x-apple.systempreferences:com.apple.preferences.extensions?Share_Menu. However…
DanielGibbs
  • 9,910
  • 11
  • 76
  • 121
1
2 3 4