Setting window color


(Andreas Kiel) #1

In ASS I used:

	tell mainWindow
		set background color to windowColor
	end

How to transfer to ASobjC?


(Shane Stanley) #2

If you look up NSWindow you will see a backgroundColor property. So:

        mainWindow's setBackgroundColor:(current application's NSColor's windowBackgroundColor())

(Andreas Kiel) #3

Shame on me.
Thanks.