When at events like ESUG, I often append a trailer to all my Tweets - something like "[Speaker], [Talk], [ConferenceName | Hashtag]". It can be tedious to copy/paste it in each time, and especially when it must be shortened for a longish Tweet. So I wrote a tiny app that lets you specify your trailer in various degraded (shorter) versions, and as you type, it shows you which are over/under and by how many characters.
The code below will get you started and here is a screencast: https://vimeo.com/113763005 Gofer it smalltalkhubUser: 'SeanDeNigris' project: 'SeansPlayground'; package: 'EventTweet'; load. ui := EtUI new. "Set up the different versions of the trailer. Order does not matter" ui event trailers: { ' - Gary Zimmer, "Establishing Best Practices” for #Farming - Ecological & Otherwise", @AcresUSA 2014'. ' - Gary Zimmer, "Establishing Best Practices” for #Farming...", @AcresUSA 2014'. ' - Gary Zimmer, "Establishing Best Practices” for #Farming...", @AcresUSA'. ' - Gary Zimmer, @AcresUSA 2014' }. ui openWithSpec. "Now as you type in the editor, the preview will show tweets with each version and how under/over the limit they are. Copy the longest valid tweet to the clipboard - cmd-t" ----- Cheers, Sean -- View this message in context: http://forum.world.st/ANN-Toy-EventTweet-tp4794621.html Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.