Adium

Ticket #11492 (new defect)

Opened 15 months ago

AppleScript-Accessible Status List Does Not Update Properly

Reported by: dmz Owned by: applmak
Milestone: Component: AppleScript
Version: 1.3.2 Severity: normal
Keywords: applescript status title Cc:
Patch Status:

Description

In messing around with my Adium/Salling Clicker script, I noticed the following.

If you take an existing status (with an existing title, "Status A"), and change the title of the status (to "Status B"), this change is not reflected in the "statuses" list in AppleScript until Adium is quit and restarted. So if you run an AppleScript like this (assuming Salling Clicker is installed; but using any other method of logging "the_message" somewhere works too):

tell application "Adium"
	set adium_statuses to statuses
	repeat with indx from 1 to length of adium_statuses
		set the_message to (title of item indx of adium_statuses)
		tell application "SEC Helper"
			log message the_message
		end tell
	end repeat
end tell

You will see that "Status A" appears in the list, even though the title was changed to "Status B".

Note: See TracTickets for help on using tickets.