1. Welcome to the new MacRumors forums. See our announcement and read our FAQ

changing background color of a window in finder

Discussion in 'Mac Programming' started by vnraju, Aug 20, 2007.

  1. macrumors newbie


    how to change the background color of a window in finder?
  2. macrumors 68040


    Click on the window. Under the view menu select show view options. There is a radio button at the bottom. Only Available in Icon View.

    in applescript

    tell application "Finder"
    set background color of icon view options of window 1 to {0, 65534, 65534}
    end tell
  3. macrumors newbie


    thanks for reply ....but i want to change it (back ground color change) in Cocoa using obj-C
    any suggestions will be appreciated..
  4. Moderator emeritus


  5. macrumors newbie


    but my plan is coding in obj-C in Cocoa
  6. macrumors 603


    But you can still run AppleScripts from your Objective-C code; using the tips above.

    (This flexibility is a good thing, you can use Cocoa, Carbon, AppleScript & Unix shell scripts all in one application).
  7. macrumors 68040


    Coming is leopard is Script Bridge which has got to be one of the most kick ass things to happen to AppleScript since... hmm... its creation

    /wrote code to build and send applescript commands
    //Page and a half tell the scriptable text editor to turn a few words red.
    ///In MacApp 2.0 --Object Pascal FTW
    ////Its no easier in Carbon

Share This Page