Page 1 of 1

Scripting Bridge Question

Posted: Mon Jan 14, 2008 7:41 am
by jmorrin
Okay I have my application updating my adium status message using scripting brige. Everything is working great but I am getting a warning. It will compile and run without any issues that I can see but still I hate warnings!

I am setting my account status message with the contents of a NSString:

Code: Select all

xAccounts.statusMessage = currentInfo;
and I am getting the warning: passing argument 1 of setStatusMessage from distinct Objective-C type.

I should be sending it a AdiumRichText object instead of a NSString correct? And if so how could I take the contents of the NSString and create a AdiumRichText?

also when I generated the header file for the scripting bridge for adium I found an error.

There were two instances of:

Code: Select all

@property (readonly) NSInteger idleTime;  // The time this contact has been idle.
I commented one out and it worked without any issue. The only difference was the comment.. This is the one I didn't comment out notice the comments:

Code: Select all

@property (readonly) NSInteger idleTime;  // The duration this contact has been idle.

Posted: Mon Jan 14, 2008 4:10 pm
by mtimmsj
I can't really help with the first issue, but I have reported the issue regarding the idle time for you as #8925