Commits on Oct 25, 2011
Commits on Oct 24, 2011
… on the frontmost tab/windowcblage committed
Oct 24, 2011
Commits on Oct 4, 2011
Commits on Sep 21, 2011
AppleScript uses Mac-Roman or UTF-16 (with a BOM); at least, that's what AppleScript Editor saves in .applescript files. (For what it's worth, .scpt files have text objects in both Mac-Roman and UTF-16, with the Mac-Roman version using ? for unencodable characers.) Since git doesn't have a mechanism to specify a file's encoding (it sees file contents as binary blobs, except that it'll sometimes edit the line endings), it needs to be saved in one of those formats if we want a checkout from git to work as a .applescript file. But, github will display it as ISO-8859-1. (The raw view sets the Content-Type, and the web view will translate it from to UTF-8 and send it to the browser that way.) If a user does a copy/paste from the browser into AppleScript Editor (like my blog says to do), then they'll get a different character. To allow either a git clone or a copy/paste from github to work, we have to use ASCII.
Remove history comments, since we're now moving this to Git (autoAccept, buddy authorization requested, received text invitation, received audio invitation, received video invitation, received local screen sharing invitation received remote screen sharing invitation (currently commented out), received file transfer invitation): New property autoAccept. Handlers changed to add autoAccept capability. (growl): Added "given status" flag, which shows the buddy's status as the text and the message as the title (useful for when a buddy's status changes). All handlers changed to specify with/without status. (growl): Cleanups: move some foo...end foo blocks to one-liners. Tell application "iChat" as a literal app name, to help AppleScript Editor recognize the dictionary in use. (growl, buddy authorization requested): Add some missing local declarations, and combine a few from multi-line to one line.
This is the version that was originally posted on http://stopwords.piquan.org/2011/09/ichat-growl-and-lion.html
This is the version from http://amccloud.com/lion-ichat-growl-notifications-50108