Private method and ASOC

Hello,

Before, in AppleScript Studio, I use the “_setTexturedBackground:” method, for example:

call method “_setTexturedBackground:” of window “mainWindow” with parameter 1

I don’t know how use it in ASOC?

Thanks!

=)

Hi Titanium,

Can you set the default background in Interface Builder?

kel

Hi kel,

I would like to choose the interface in the preferences of the application… :slight_smile:

Hi Titanium,

I’m quite sure I could set the background of default window in AppleScript Studio with IB, but I can’t find how to do it in Xcode. Sorry for interrupting your question, but it seems like it was an easy thing.

Later,
kel

In the .xib file, it’s similar with IB and Xcode (in the Attributes Inspector).

… but how use the method in the code ? I don’t know… :confused:

Hi Titanium,

I found the attributes and could change the background. They should make those icons bigger. Or maybe something like the Dock where it enlarges.

Anyway, thanks and hope you find your answer.
kel

Try:

theWindow's setStyleMask_(current application's NSTexturedBackgroundWindowMask)

Thanks Shane, I will try. :slight_smile: