[Adium-devl] AppleScript fix may break some scripts... What to do?

Matt Handley applmak at gmail.com
Tue Mar 18 23:53:04 UTC 2008


Ticket #8972 (http://trac.adiumx.com/ticket/8972) describes a  
situation where AS is getting confused in Tiger due to there being  
two different "account" terms with two different four-letter codes  
("Cact" the class, and "Pacc", the property), as described in this  
technote (http://developer.apple.com/technotes/tn2002/ 
tn2106.html#general-tips).

The reason that this was set up this way for SoC 2007, if I recall  
correctly, was because using the same four-letter code led to  
confusion. Upon coming across this technote, I followed it, but found  
it outdated and remember it giving me bad advice in this case.

However, the ticket remains. When I change the four-letter code to  
'Pacc', everything works fine, as far as I can tell.

So, the problem becomes: Should I change the four-letter code? It  
will require existing compiled scripts (.scpt files) to be recompiled  
(resaved in Script Editor), but will fix this bug.

I could wait until 1.3. If that's the case, I can investigate  
reassigning a number of these four-letter codes to be more in-line  
with the technote (potentially fixing some future bugs, and  
explaining myself to future developers), which would still require a  
recompile, but would only need to be done once. But will that be too  
long to wait?

Matt




More information about the devel mailing list