• 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: how to create scriptable preference panes with anchors?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: how to create scriptable preference panes with anchors?


  • Subject: Re: how to create scriptable preference panes with anchors?
  • From: Philip Aker <email@hidden>
  • Date: Fri, 11 Jul 2008 11:12:40 -0700

On 08-07-11, at 09:20, George Shopov wrote:

I am trying to create a scriptable preference pane;

The pane should respond like the Desktop & Screen Saver showing a specific sheet:

tell application id "com.apple.systempreferences"
reveal anchor "ScreenSaverPref_HotCorners" of pane id "com.apple.preference.desktopscreeneffect"
end tell


I've tried to find documentation on how to implement this behavior in my Cocoa preference pane but with no luck;
Looking at the dump (class-dump) of the DesktopScreenEffectsPref it seems that it extends NSPreference which is internal to Apple;


So my question is: Is it documented how to implement scriptable preference pane that responds to the script above?
Any information is deeply appreciated!


Wild guess: What is the value of the CFBundleIdentifier in your Info.plist?

Philip Aker
echo email@hidden@nl | tr a-z@. p-za-o.@

Democracy: Two wolves and a sheep voting on lunch.

_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden
References: 
 >how to create scriptable preference panes with anchors? (From: "George Shopov" <email@hidden>)

  • Prev by Date: Re: will this code test if a user is in a group?
  • Next by Date: Invalid key form errors with Keynote slides
  • Previous by thread: how to create scriptable preference panes with anchors?
  • Next by thread: will this code test if a user is in a group?
  • Index(es):
    • Date
    • Thread