Re: how to create scriptable preference panes with anchors?
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