On Feb 17, 2010, at 16:09, Duke Normandin wrote: > On Wed, 17 Feb 2010, Christiaan Hofman wrote: > >> The Skim development teams is pleased to announce that Skim 1.3.4 is >> available for download at <http://skim-app.sourceforge.net/> or >> using the built-in updater. > > [snip] > >> * New hidden preference for page background color. > > Thank you so much! There's _a lot_ of folks who will want to kiss your > feet for that act of kindness. > > And so I tried: > > defaults write -app Skim -SKPageBackgroundColor -data ababab > > My system didn't puke an error message, but the color didn't change, > so I'm sending the wrong arguments. Would you give an example of the > proper syntax and allowed values for "color"? TIA... > -- > duke
The data is an archived NSColor object, so it's not something you can ever guess, the only way I can ever think of setting it is copying the data from some other preference containing a color. But you can also set it as an array of 1-4 floats (as it says on the WIki), for instance defaults write -app Skim -SKPageBackgroundColor -array -float 1.0 -float 1.0 -float 1.0 -float 1.0 And moreover you can set it using AppleScript. Christiaan ------------------------------------------------------------------------------ SOLARIS 10 is the OS for Data Centers - provides features such as DTrace, Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW http://p.sf.net/sfu/solaris-dev2dev _______________________________________________ Skim-app-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/skim-app-users
