{"ygPerms":{"resourceCapabilityList":[{"resourceType":"GROUP","capabilities":[{"name":"UPDATE"},{"name":"READ"},{"name":"WELCOME_MSG"},{"name":"PENDING_COUNT"},{"name":"ACTIVITY_LOGS"}]},{"resourceType":"PHOTO","capabilities":[{"name":"READ"},{"name":"READ"},{"name":"UPLOAD"},{"name":"UPDATE"},{"name":"DELETE"},{"name":"COPY"},{"name":"MOVE"},{"name":"APPROVE"},{"name":"UPLOADTEMP"},{"name":"GROUPCOVER"}]},{"resourceType":"FILE","capabilities":[{"name":"READ"},{"name":"CREATE"},{"name":"UPDATE"},{"name":"DELETE"},{"name":"AUTO_SEND"}]},{"resourceType":"MEMBER","capabilities":[{"name":"READ"},{"name":"READ"},{"name":"EDIT_MODERATOR"},{"name":"DELETE"},{"name":"CREATE"},{"name":"UPDATE"},{"name":"BAN"}]},{"resourceType":"LINK","capabilities":[{"name":"READ"},{"name":"CREATE"},{"name":"UPDATE"},{"name":"DELETE"},{"name":"MOVE_LINK"}]},{"resourceType":"CALENDAR","capabilities":[{"name":"READ"}]},{"resourceType":"DATABASE","capabilities":[{"name":"READ"},{"name":"READ_DATA"},{"name":"CREATE"}]},{"resourceType":"POLL","capabilities":[{"name":"READ"},{"name":"VOTE"},{"name":"UPDATE"},{"name":"CREATE"},{"name":"DELETE"},{"name":"CLOSE"}]},{"resourceType":"MESSAGE","capabilities":[{"name":"CREATE"},{"name":"READ"},{"name":"DELETE"}]},{"resourceType":"PENDING_MESSAGE","capabilities":[{"name":"READ"},{"name":"UPDATE"},{"name":"DELETE"}]},{"resourceType":"ATTACHMENTS","capabilities":[{"name":"READ"},{"name":"DELETE"}]},{"resourceType":"PHOTOMATIC_ALBUMS","capabilities":[{"name":"READ"},{"name":"UPLOAD"}]},{"resourceType":"MEMBERSHIP_TYPE","capabilities":[{"name":"READ"},{"name":"CREATE"},{"name":"DELETE"},{"name":"UPDATE"}]},{"resourceType":"POST","capabilities":[{"name":"READ"},{"name":"UPDATE"},{"name":"CREATE"},{"name":"DELETE"}]},{"resourceType":"PIN","capabilities":[{"name":"READ"},{"name":"UPDATE"},{"name":"CREATE"},{"name":"DELETE"}]}],"modStatus":"MODERATOR","subStatus":"NORMAL","groupUrl":"groups.yahoo.com","intlCode":"us"},"comscore":"pageview_candidate","ygData":{"userId":12196177,"authorName":"Marc Prior","from":"Marc Prior &lt;mail@marcprior.de&gt;","profile":"lin4trans","replyTo":"LIST","senderId":"Tao37ErXWvc_TLdZPh-rw3jtPu1UbYy3dYtWTTURpohTUmx1KpGKmu0MsJgQQoQQD_Me4Rit6dF1ntkfbF2ukjYJgDg0","spamInfo":{"isSpam":false,"reason":"12"},"subject":"Re: [OmT] On-the-fly glossary entry CORRECTION","postDate":"1255112180","msgId":15606,"canDelete":true,"contentTrasformed":false,"systemMessage":false,"headers":{"messageIdInHeader":"PDRBQ0Y3REY0LjcwMjAxMDhAbWFyY3ByaW9yLmRlPg==","inReplyToHeader":"PDRBQ0Y2RjYyLjEwODA0QGFic2FtYWlsLmNvLnphPg==","referencesHeader":"PDRBQ0Y0NENGLjQwOTAyMDBAZ21haWwuY29tPiA8NEFDRjRCREUuMzA4MDQwMUBhYnNhbWFpbC5jby56YT4gPDRBQ0Y1MjNCLjgwMTAwMDRAZ21haWwuY29tPiA8NEFDRjU5MjAuNjAxMDMwNkBhYnNhbWFpbC5jby56YT4gPDRBQ0Y2QjI2LjcwNTA2MDdAbWFyY3ByaW9yLmRlPiA8NEFDRjZGNjIuMTA4MDRAYWJzYW1haWwuY28uemE+"},"prevInTopic":15605,"nextInTopic":15608,"prevInTime":15605,"nextInTime":15607,"topicId":15593,"numMessagesInTopic":29,"msgSnippet":"... The shortcut key launches a script (for the purpose of the example, in tcl/tk) which writes the content of the primary selection to a new line at the end","rawEmail":"Return-Path: &lt;mail@marcprior.de&gt;\r\nX-Sender: mail@marcprior.de\r\nX-Apparently-To: OmegaT@yahoogroups.com\r\nX-Received: (qmail 38140 invoked from network); 9 Oct 2009 18:07:18 -0000\r\nX-Received: from unknown (98.137.34.46)\n  by m2.grp.re1.yahoo.com with QMQP; 9 Oct 2009 18:07:18 -0000\r\nX-Received: from unknown (HELO mo-p00-ob.rzone.de) (81.169.146.162)\n  by mta3.grp.sp2.yahoo.com with SMTP; 9 Oct 2009 18:07:17 -0000\r\nX-RZG-AUTH: :IW0NeWCleu3NCLZrvwV6ORkX9kpsdepz7ym3QvLwqKG/CxzRIFM8i67MDgzj5g==\r\nX-RZG-CLASS-ID: mo00\r\nX-Received: from [80.244.109.97] (apn-80-244-109-97.vodafone.hu [80.244.109.97])\n\tby post.strato.de (fruni mo21) (RZmta 22.1)\n\twith ESMTP id 6046ecl99GJlpD for &lt;OmegaT@yahoogroups.com&gt;;\n\tFri, 9 Oct 2009 20:07:04 +0200 (MEST)\r\nMessage-ID: &lt;4ACF7DF4.7020108@marcprior.de&gt;\r\nDate: Fri, 09 Oct 2009 20:16:20 +0200\r\nUser-Agent: Thunderbird 2.0.0.14 (X11/20080421)\r\nMIME-Version: 1.0\r\nTo: OmegaT@yahoogroups.com\r\nReferences: &lt;4ACF44CF.4090200@gmail.com&gt; &lt;4ACF4BDE.3080401@absamail.co.za&gt; &lt;4ACF523B.8010004@gmail.com&gt; &lt;4ACF5920.6010306@absamail.co.za&gt; &lt;4ACF6B26.7050607@marcprior.de&gt; &lt;4ACF6F62.10804@absamail.co.za&gt;\r\nIn-Reply-To: &lt;4ACF6F62.10804@absamail.co.za&gt;\r\nContent-Type: text/plain; charset=ISO-8859-1; format=flowed\r\nContent-Transfer-Encoding: 7bit\r\nX-Originating-IP: 81.169.146.162\r\nX-eGroups-Msg-Info: 1:12:0:0:0\r\nFrom: Marc Prior &lt;mail@marcprior.de&gt;\r\nSubject: Re: [OmT] On-the-fly glossary entry CORRECTION\r\nX-Yahoo-Group-Post: member; u=12196177; y=hHmseBt13UgaHfvXdnACwyNJW3l_egnEyhnfhTj3OY13exgh\r\nX-Yahoo-Profile: lin4trans\r\n\r\nSamuel Murray (Krugersdorp) wrote:\n\n&gt; The user selects a word in any application\n\n... which on Linux automatically causes it to be written to the primary selection.\n\n&gt; and presses a shortcut key. \n\nThe shortcut key launches a script (for the purpose of the example, in tcl/tk) which writes the content of the primary selection to a new line at the end of a preselected OmegaT glossary file (after first checking the content of the last line of this file, see below).\n\n&gt;   Then he selects another word in any application, and presses another \n&gt; (or the same) shortcut key.\n\nAssuming the same shortcut key is used, the shortcut key launches the same script and, after detecting the presence of the first term, writes the second term to the glossary file, separated from the first by a tab...\n\n&gt; Then the user is presented with a dialog \n&gt; that contains the two words, so he can edit it.  \n\n... and launches a Tk dialog containing three text fields. The user can toggle between them with tab or any other suitable keystroke combination.\n\n&gt; When the user presses \n&gt; ENTER, the term pair (and optionally a comment) is added to a file\n&gt; in a format that OmegaT can understand.\n\nENTER saves the file if no changes are made to the three boxes; if changes are made, it first deletes the final line in the glossary file, then rewrites the three strings, separated by tabs, to it before saving it.\n\nI think if I were doing it, I would implement it slightly differently, but I don&#39;t see any reason why it couldn&#39;t be done - on Linux. On the other hand, I wouldn&#39;t know how to do it on Windows, since I would use the primary selection in order to implement it efficiently, and Windows has no primary selection.\n\nMarc\n\n\n&gt;&gt; Samuel Murray (Krugersdorp) wrote:\n&gt;\n&gt;&gt;&gt; It is impossible to write something remotely similar on Linux, so I \n&gt;&gt;&gt; chose Windows.\n&gt;\n&gt;&gt; What does it do that can&#39;t be done on Linux?\n&gt;\n&gt; The user selects a word in any application, and presses a shortcut key. \n&gt;   Then he selects another word in any application, and presses another \n&gt; (or the same) shortcut key.  Then the user is presented with a dialog \n&gt; that contains the two words, so he can edit it.  When the user presses \n&gt; ENTER, the term pair (and optionally a comment) is added to a glossary \n&gt; in a format that OmegaT can understand.\n&gt;\n&gt; I am confident that something that does this, can&#39;t be written in Linux, \n&gt; but I will admit that I was wrong when I&#39;m proved wrong.\n&gt;\n&gt; Say, what&#39;s the smiley code for &quot;I&#39;m not entirely serious but I \n&gt; challenge anyone to take the bait&quot;?\n&gt;\n&gt; Samuel\n&gt;\n&gt;\n\n\n"}}