changing background color of a window in finder

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

  1. macrumors newbie

    vnraju

    Joined:
    Jun 27, 2007
    #1
    how to change the background color of a window in finder?
     
  2. macrumors 68040

    MongoTheGeek

    Joined:
    Sep 13, 2003
    Location:
    Its not so much where you are as when you are.
    #2
    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. thread starter macrumors newbie

    vnraju

    Joined:
    Jun 27, 2007
    #3
    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

    kainjow

    Joined:
    Jun 15, 2000
    #4
  5. thread starter macrumors newbie

    vnraju

    Joined:
    Jun 27, 2007
    #5
    but my plan is coding in obj-C in Cocoa
     
  6. macrumors 603

    whooleytoo

    Joined:
    Aug 2, 2002
    Location:
    Cork, Ireland.
    #6
    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

    MongoTheGeek

    Joined:
    Sep 13, 2003
    Location:
    Its not so much where you are as when you are.
    #7
    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