Saving Settings

I want to set up a window where the user can pick the color background he or she wants for the entire program, so all windows will have this color background. I am guessing you would use buttons to choose the colors. But what I also want is when the user exits the program, the color picked will save, and the next time the app launches, that color will be the background of all windows. I would greatly appreciate if someone could help me do this, I am not very good in Objective C. Thanks!

First of all, you won't need a button, you need a NSColorWell, which will allow you to set the color. Then, as mentioned earlier, you can use NSUserDefaults to set the values. I highly reccommend buying Cocoa Programming in Mac OS X by Aaron Hillegass. Then, study the RaiseMan sample program he gives you. This shows you about NSColorWells and NSUserDefaults. By copying pieces of the code from there, you'll be able to do the same with what you want to do.

Similar Messages

  • Can Lightroom import/use Camera Raw saved settings from Photoshop CS2?

    Before getting LR, I used CS2. I would load my CR2 files from my cam into CS2 and Camera Raw would pop up for raw editing. I would edit the photos, but sometimes save the settings to a XMP file. Those files would then be available for any raw photo, i just had to select that setting.
    Is there any way to import those saved settings files into LR? There's just text in them, what about importing the text somewhere? I dunno... I really want to use these settings files in LR!!
    Also, If I change things to a photo in LR, does it have a similar save-the-edit feature like camera raw?
    Thanks!!
    -Ziv

    If you import images with those side car files, you'll get those settings automatically. If you've already imported the images without the side cars somehow, you can put the side cars back and do read metadata from files.

  • DVD Studio Pro overriding Energy Saving Settings - Screen always on

    Hello
    I am a bit upset about DVD Studio Pro overriding the energy saving settings. It means if you do a serious render you will find yourself with the monitor on for hours and days. On the Imacs you can't even fully dim down the screen to switch it of manually.
    I know about the possibility to do a background render. But it doesn't make sense to me that DVD Studio keeps the screen on. I don't see why I have to go crooked ways to have something very normal.
    There is no need for DVD studio behaving like this, it only raises energy consumption unnecessarily.
    I hope Apple will fix this or explain in reasonable ways why it does like this.
    And is there maybe a way to hack DVD Studio in a way it doesn't behave like this, apart from doing the background render?
    Thanks
    Message was edited by: padre999

    A common way to solve it is to download and install the proapplications support file:
    http://www.apple.com/support/downloads/proapplicationsupport31macosx104.html
    It's not a guaranteed winner, but it has worked for countless folks.

  • MSI GT70 not saving settings

    Hello, I have a new GT70 2oc-008us and when I purchased the laptop I also bought a Samsung 840 120gb ssd and I installed and migrated the OS myself. Everything else works fine like games but I have this weird issue with non of the MSI installed programs saving their setting after a shutdown. For example, the killer network manager is not saving the setting in which it shows the dialog on close or auto updating which is kinda annoying and the sound blaster cinema is not saving settings like when I plug in my headphones it goes to 5.1 surround instead of headphones or when I play around with the equalizer or the surround sound option to optimize movie or gaming experience. This is quite annoying because I play a lot of games and watch a lot of movies and I do not like constantly changing my settings. So if you know of a solution to my problem could you please help me out?
    Thank you

    For the toolbar problem delete the com.apple.Safari plist from Home/Library/preferences. To have a link open in a new tab you must command-click on the link and have the appropriate box checked in Safari>Preferences>Tabs.

  • Battery not saving settings in Logic

    Anyone else having trouble saving settings in Battery?
    Here's an example of the problem:
    1. Open Session1 in Logic (X or 9), open an instance of Battery, open a kit (e.g. 909 Detailed Kit), save, close.
    2. Open Session2 in Logic (X or 9), open an instance of Battery, open a kit (e.g. Reggaetoni Kit), save, close.
    3. Open Session1 again, Battery reverts to Reggaetoni kit (from the last open session, instead of the current session).
    Am I missing something obvious? Could this be a Battery bug? I have searched the interwebs for some info on this, and I seem to be the only one with this issue. 
    Thoughts?
    Thanks!
    js

    Maybe you missed previous posts.
    Omnisphere is not compatible with Logic's Preset Settings feature. (Both in L8 and L9). The last Omnisohere update fixed a few bugs but not all. For one thing, when you save a patch, Omnisphere will automatically turn on Stack mode, which could completely change the sound if it had Live mode on.
    There was a response from some Spectrasonics guy here on the forum who promised a fix, but given the track record of Spectrasonics lately, I wouldn't get my hopes up to high:
    * Atmosphere/Trilogy Wrapper disaster (aka unusable)
    * Omnisphere compatibility issues with Logic
    * Strange Delay of Trillion (death of the shipping person two weeks before the release date causes a 4 month delay???)
    Too bad that they still produce the best sounding plugins on the market so it is hard to avoid them.

  • CRSS : Camera Raw Saved Settings - documentation ??

    Hello,
    I generated a DNG from Lightroom, and I get a XML tree using a crss (Camera Raw Saved Settings) schema.
    Where could I get about this ?? I didn't find aything with Google.
    Thanks.

    Panoholic wrote:
    I guess the meaning of "open standard" is, that it is open to anyone to write the documentation.
    Well, considering that "Camera Raw Saved Settings" are not specifically a function of DNG I think that comment is inaccurate and unfair. XMP allows new and custom name spaces and fields as part of the XMP specification (which is not directly tied to the DNG spec). The fact that Adobe has chosen to extend (XMP = EXtensible Metadata Platform) the XMP fields to include CRSS (Camera Raw/Lightroom "Snapshots") is more a proof oc concept of the usefulness of XMP metadata and less am indictment of DNG's "openess".
    Snapshots in ACR/LR are proprietary and thus are prolly intentionally "undocumented", don't ya think?
    If you want to see what _IS_ stored in DNG/XMP, the "crs schema" should be able to enlighten you...

  • Saving settings within a document

    Please forgive my relative inexperience, but I'm trying to find a way to do this.
    So I've got an .swf file embedded in a document (SMART board in this case, but a simple Word doc would probably serve in the same fashion).
    I'm trying to replicate the same functionality I see in another .swf.  Basically its got a configuration menu where you can open and configure the .swf to behave differently, then save off and have it keep that.  More importantly, if I close the document and re-open, it keeps the configuration.  Harder yet, if I mail the document to someone else, it will keep the configuration.
    Oops, its that last step that kills me.  I understand how to use shared objects to save settings locally.  I don't believe they're using server based shared objects in this case (no maintained server for it).  So how can they be saving settings that travel with the document?
    Any ideas?

    In this case it is a 6-side die that can be rolled.
    The user can hit a configure button within the die and put words on each face.  Then the die can be rolled to display one of the six selected words.
    Now this would be easy to do with a shared object approach, where the information is saved locally (or even on a server), but its done differently than that as evidenced by the fact that the file can be mailed to someone else and retain its saved words.  There's no special hooks to the file or attached xml/text that I'm seeing, since in my example we simply copy/pasted the object itself into a new file and mailed that.  All settings went with it.

  • What are best energy saving settings to use for the macbook?

    I just replaced the batttery in my 13 inch macbook.  I want  it to last as long as possible.  What are the best energy saving settings for the the 13 inch macbook? How long should I leave the display on, or the allow system to run before I put it to sleep. I search the web, no heavy gaming,  prepare documents and the such.    

    I suggest you try to run your MB from the power adapter as much as possible.
    Bob

  • IBook Energy Saving settings not Saved.

    I have repeatedly tried to set my iBook Dispay to not go to Sleep when watching streaming video while plugged in to the mains supply but the screen goes dark every so often. It is maddening when watching programmes.
    I have strict Energy Saving settings for Battery, but don't watch long videos when away form home.
    Any tips about this?

    I usually have the screen dimmed when using the battery as I am just doing text-based tasks like reading email so I don't mind, and expect energy saving behaviour. It is when using iPlayer at home when plugged in to the mains electricity supply; it is maddening at the crux of a drama, or the punchline of a joke.
    I have saved two sets of settings, one for each situation, but the setting for the power adaptor should not allow the screen dimming.

  • Lion not saving settings, iTunes not working, iPhoto not repairing

    having a ton of issues and not sure if it's upgrading to Lion, updating iTunes or something else causing the problem.
    When I'm logged in as the main user getting a ton of problems including;
    1)  no matter which box I check or uncheck or which windows I close before shutting down, every time I log in as my usual user it opens about 20 windows including about 6 files in Excel which I've already closed, said I wanted to delete (they were recovered), etc.  Other windows that open are firefox, settings, a video I started watching about a month ago, etc
    2)  applications are frequently crashing
    3)  nothing will synch with itunes.  I plug in the iphone, ipad or touch and it recognizes that it's there and then proceeds to do the rotating rainbow thing for ever (I've tried leaving something plugged in overnight) or until I force quite
    4)  iphoto indicates that the library needs repairing - repairing does nothing, rebuilding does nothing, repairing permissions does nothing, removing and reinstalling does nothing.
    5)  most settings are not saved.  things like changing the Login Items, 'Restore Windows when quitting...' option do not save but things like file sharing options does save.
    what I've tried that didn't work;
    1) reinstalling Lion
    2) reinstalling itunes
    3) reinstalling iphoto
    4) reinstalling itunes with iphoto removed
    5) tried quitting applications with option-command-Q (they still reopened when I re logged in)
    5) also tried to manually delete the 'saved application states' but can't get to the folder (can find the library folder but it says the saved application states folder does not exist)
    the only thing that works is setting up a new user and logging in there.  Most of the problems seem to go away but all my files, itunes library, etc are under my other user.
    so, anyone have any ideas?  if not, is there an easy way to transfer all my files, itunes library (hopefully including playlists!), etc? 
    Thanks for any help!

    lhaw wrote:
    the only thing that works is setting up a new user and logging in there.  Most of the problems seem to go away but all my files, itunes library, etc are under my other user.
    so, anyone have any ideas?  if not, is there an easy way to transfer all my files, itunes library (hopefully including playlists!), etc? 
    Sounds like something malicious or malfunctioning in your user.
    What you can do is use the Grouping or other tag feature to tag all your songs in certain playlists, this will apply to the song file itself.
    For instance I have music grouped like this:
    Popular 00's Medium Hits
    Popular 90's Hard Hits
    Classic Rock 80's Very Hard Hits
    Blues 70's Medium Hits
    So I can create Smart Playlists containing the keywords in the Grouping.
    No you don't have to go through all that. Something to think about in the future when you switch machines or need to transfer to another user.
    You can simply transfer your entire iTunes folder into the Music folder of the new user via the Users/Shared folder, open a copy of the
    iTunes Music Library.xml
    In TextEdit or another text program with "find and replace" ability.
    Change all instances of your old user name with the new one, save and relaunch iTunes, it will load this file and have the correct pathname/user to locate your files so the playlists remain intact.
    Once your up on the new user, delete the infected or corrupted one, as that what it seems to be occuring.

  • Bridge not saving settings.

    I am using Bridge with CS4 and have the following minor but irritating problem.
    Bridge does not save the current settings such as last folder used or screen view settings when the computer system is shut down.
    These setting are saved during periods of opening and closing bridge while the computer remains powered up but are not saved (presumably to the registry) when the computer is powered down.
    I am using Windows XP / service pack 3
    I presume that there is an entry in the system registry that needs editing. I would appreciate if anyone with knowledge of a solution for this problem would assist me.
    TIA
    Roy Berger

    Thank you for the information, it is most helpful.
    Of course you are correct about me having bridge set to "autoload on
    startup". It will look into closing Bridge before shutting down.
    Appreciate the prompt reply,
    Regards, Roy Berger
    http://www.pbase.com/parrothouse

  • ITunes not saving settings

    Every time I start iTunes after a reboot, the "first-time" wizard pops up, and my settings are not saved. I have tried to unset the Application Data folder from Read-Only, and I have tried deleting both of the .prefs files. This seems to happen every time I install a new program or modify the registry in any way. How can I fix this problem?

    Any help?

  • Saving settings on itunes

    I am trying to sync multiple ipod touch devices that are housed in a Bretford cart.  Each time I go to sync I notice that the settings I previously set are not saving.  For example, I have certain playlists that I always want to sync.  Once I set them to sync the next time I go into settings the checks are no longer there and those playlists are not syncing.  Any suggestions?

    I was able to fix a problem where iTunes 12.01 would not recognize my iPhone or iPad but the device WAS recognized in iPhoto.
    Another website gave me the hint to download and re-install iTunes.  I did this and it worked.  (I also restarted both the Mac and iPhone and iPad afterward for good measure). 
    Here is the URL for download:
    http://www.apple.com/in/itunes/download/

  • File saving settings. I want to save as ACM Waveform as a default

    I want my default save settings to be ACM Waveform, not Windows PCM. I have to load everything I create into a program called NexGen. It's a radio automation system. For some reason it's not taking the Windows PCM from Adobe 3. It was accepting the PCM from version 1.5, very confusing to me. Does anyone know why that is? And more importantly, does anyone know how to change the setting so I don't have to scroll through all of the save options every time I try to save a file. I save about 20 files per day, and sometimes I'm saving multiple things over and over again, so sometimes I'm saving closer to 100 files per day. It would shave a lot of time if I can be able to save the way I used to. I wish new versions would tell you everything that's going to be different to make your life suck more before telling you all the awesome things a new version can do. Cos right now, this is about issue #10 that is really slowing me down. I will have to say, I'm digging A3 for the most part, though. Thanks for any help you can give.

    >For some reason it's not taking the Windows PCM from Adobe 3. It was accepting the PCM from version 1.5
    Just a thought but are you sure that your not saving these wav files as 32bit and not 16bit - that's probably why your other app won't accept them.

  • Fios Optimizer not saving settings

    I noticed my internet speeds slowed down a bit last few days so I decided to run the optimizer and see if it said my settings were already optimized. I ran it as it said my pc was not optimzed, was successful, shut down the pc, booted it back up and ran it again to see if it said my setttings were already optimzed. It said my settings were not. I again ran it a 2nd time and its still saying my pc is not optimzed. What could the issue be?
    I did a speed test and saw no difference. When I was fully succesful awhile back with it things were better. For some reason its no longer saving the settings.
    Solved!
    Go to Solution.

    If it works properly for you the fios optimizer works great imo.
    http://my.verizon.com/micro/speedoptimizer/fios/de​fault.aspx
    Open IE as an administrator and go to the above url. Run it, shut down the pc, and boot it back up. Then go check your speeds at somewhere like speedtest.net and see if its faster. When it works for me I do get higher speeds and to what I am paying for.
    There are other optimizers out there such as TCP Optimizer, but I honestly have no idea how to use it since you have to do things manually. 

  • Windows 8 not saving settings

    I have a problem with Windows 8 Pro.
    Basically, it doesn't save profile settings, for example, created docs, desktop personalisation, log on window personalisation, etc.
    So every time I log off or shut down the computer, all settings are reverted to default, like a fresh install.
    Even the setting of Other Software's are also not saving, for example, when i change settings of media player's and restart my pc its reverted to default. Even the download history of Internet Download Manager is also reverted back when i shutdown.
    Thanks for your help in advance!

    I suspect you installed any third party software which restores the previous state. Please check that.
    If the computer is in domain environment, please contact IT stuff if there is any group policy to perform the restore.
    Niki Han
    TechNet Community Support

Maybe you are looking for

  • I am missing header and footer in numbers

    after I updated to Numbers 3.01 I miss the footer and header in my docs and can't find any posiibility how to do that. In the older versions there were always header and footer. Can anyone please help? Thanks p

  • I want to make three HDD partitions on Satellite A200-1GB

    Hi all, Yesterday night I noticed that there is a small sound comes out when Hard disk is being read. The sound same as the Desktop Hard disk sound. In desktop HDD's that's normal. I thought that Notebook's HDD doesn't sound like that even it has the

  • Getting message while opening PDF file exported from InDesign

    Hi, We have created an interactive PDF in InDesign. In this PDF we have created 15-20 pages which are link together and next previous button is provided. We are using InDesign CS3 and PDF reader 9. PDF is exported for version 8 onwards. Exported PDF

  • Hiding the Comments in SE38 Display Mode

    Hi Folks, Is it possible to Hide the comments when a program is seen in uneditable mode either in SE38 or SE80.I am using 4.7. If not in 4.7 kindly let me know if any of the upcoming versions have this facility. Thanks, K.Kiran.

  • List of Deleted Payment proposal

    Hi Is it possible to get information for the Deleted Payment Proposal (F110) in the system Someone had deleted a proposal after the approval had happened & we want to trace back who had deleted the proposal run in the system..... Is it possible to do