Register FAQ / Rules Forum Spy Search Today's Posts Mark Forums Read
Go Back   MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Reply
 
Thread Tools Search this Thread Display Modes
Old Aug 20, 2007, 02:09 AM   #1
vnraju
macrumors newbie
 
Join Date: Jun 2007
changing background color of a window in finder

how to change the background color of a window in finder?
vnraju is offline   0 Reply With Quote
Old Aug 20, 2007, 09:07 AM   #2
MongoTheGeek
macrumors 68040
 
MongoTheGeek's Avatar
 
Join Date: Sep 2003
Location: Its not so much where you are as when you are.
Send a message via MSN to MongoTheGeek Send a message via Yahoo to MongoTheGeek
Quote:
Originally Posted by vnraju View Post
how to change the background color of a window in finder?
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
__________________
The future ain't what it used to be.
MongoTheGeek is offline   0 Reply With Quote
Old Aug 21, 2007, 12:00 AM   #3
vnraju
Thread Starter
macrumors newbie
 
Join Date: Jun 2007
thanks for reply ....but i want to change it (back ground color change) in Cocoa using obj-C
any suggestions will be appreciated..
vnraju is offline   0 Reply With Quote
Old Aug 21, 2007, 12:16 AM   #4
kainjow
Moderator emeritus
 
kainjow's Avatar
 
Join Date: Jun 2000
NSAppleScript is your friend.
kainjow is offline   0 Reply With Quote
Old Aug 21, 2007, 01:14 AM   #5
vnraju
Thread Starter
macrumors newbie
 
Join Date: Jun 2007
but my plan is coding in obj-C in Cocoa
vnraju is offline   0 Reply With Quote
Old Aug 21, 2007, 07:08 AM   #6
whooleytoo
macrumors 603
 
whooleytoo's Avatar
 
Join Date: Aug 2002
Location: Cork, Ireland.
Send a message via AIM to whooleytoo
Quote:
Originally Posted by vnraju View Post
but my plan is coding in obj-C in Cocoa
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).
__________________
Mac <- Macintosh <- McIntosh apples <- John McIntosh <- McIntosh surname <- "Mac an toshach" <- "Son of the Chief"
whooleytoo is offline   0 Reply With Quote
Old Aug 21, 2007, 07:53 AM   #7
MongoTheGeek
macrumors 68040
 
MongoTheGeek's Avatar
 
Join Date: Sep 2003
Location: Its not so much where you are as when you are.
Send a message via MSN to MongoTheGeek Send a message via Yahoo to MongoTheGeek
Quote:
Originally Posted by whooleytoo View Post
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).
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
__________________
The future ain't what it used to be.
MongoTheGeek is offline   0 Reply With Quote

Reply
MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
thread Thread Starter Forum Replies Last Post
changing background color of a textview using colorwel?l rethish Mac Programming 3 Jun 3, 2009 12:04 PM
Change background color of text Keynote 09 grimreaper1377 Mac Applications and Mac App Store 4 Jan 28, 2009 06:32 PM
Can I change the background color of an email in Mac Mail? brainwave89 Mac Applications and Mac App Store 0 Dec 18, 2008 11:06 AM
Change Background color of button rup28aug iPhone/iPad Programming 1 Dec 18, 2008 09:57 AM
changing the background color of a Window in an application vnraju Mac Programming 10 Aug 12, 2007 07:32 PM


All times are GMT -5. The time now is 10:34 AM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC