{"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":"CREATE"},{"name":"READ"},{"name":"READ_DATA"}]},{"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":"CREATE"},{"name":"READ"},{"name":"DELETE"},{"name":"UPDATE"}]},{"resourceType":"PIN","capabilities":[{"name":"CREATE"},{"name":"READ"},{"name":"DELETE"},{"name":"UPDATE"}]}],"modStatus":"MODERATOR","subStatus":"NORMAL","groupUrl":"groups.yahoo.com","intlCode":"us"},"comscore":"pageview_candidate","ygData":{"userId":40439957,"authorName":"Didier Briel","from":"&quot;Didier Briel&quot; &lt;d.briel@free.fr&gt;","profile":"didier_briel","replyTo":"LIST","senderId":"vWnevAOuifgdsrvxuKFQ8-s0ZpjVgFvx03v40nO8nkmx88q-5TLl05LPh0vXqXmLfZphw0BTE-aAfhphCkKhTjz5ltkhsmM","spamInfo":{"isSpam":false,"reason":"3"},"subject":"RE: [OmT] But what will happen if the segment doesn&#39;t exist after a reload (was: a little Autohotkey script to add glossary entries)","postDate":"1222245745","msgId":11698,"canDelete":true,"contentTrasformed":false,"systemMessage":false,"headers":{"messageIdInHeader":"PEFPRUhLQ0tPSU9HUEdDTkxERUtCTUVOSkVNQUEuZC5icmllbEBmcmVlLmZyPg==","inReplyToHeader":"PDNkM2ZiMGYyMDgwOTI0MDA1OHYxYTI0NzNiMmtjNmZjZTcyOTZlZTFlMmIyQG1haWwuZ21haWwuY29tPg=="},"prevInTopic":11697,"nextInTopic":0,"prevInTime":11697,"nextInTime":11699,"topicId":11639,"numMessagesInTopic":21,"msgSnippet":"... kristian kankainen ... Or you just deleted nearly all the documents in /source :) ... This is isn t necessary. All that is already taken into account by","rawEmail":"Return-Path: &lt;d.briel@free.fr&gt;\r\nX-Sender: d.briel@free.fr\r\nX-Apparently-To: OmegaT@yahoogroups.com\r\nX-Received: (qmail 75856 invoked from network); 24 Sep 2008 08:43:05 -0000\r\nX-Received: from unknown (66.218.67.97)\n  by m53.grp.scd.yahoo.com with QMQP; 24 Sep 2008 08:43:05 -0000\r\nX-Received: from unknown (HELO smtp7-g19.free.fr) (212.27.42.64)\n  by mta18.grp.scd.yahoo.com with SMTP; 24 Sep 2008 08:43:04 -0000\r\nX-Received: from smtp7-g19.free.fr (localhost [127.0.0.1])\n\tby smtp7-g19.free.fr (Postfix) with ESMTP id 499A1B0157\n\tfor &lt;OmegaT@yahoogroups.com&gt;; Wed, 24 Sep 2008 10:43:01 +0200 (CEST)\r\nX-Received: from Acer (ril69-2-82-235-41-242.fbx.proxad.net [82.235.41.242])\n\tby smtp7-g19.free.fr (Postfix) with SMTP id 198D6B0153\n\tfor &lt;OmegaT@yahoogroups.com&gt;; Wed, 24 Sep 2008 10:43:01 +0200 (CEST)\r\nTo: &lt;OmegaT@yahoogroups.com&gt;\r\nDate: Wed, 24 Sep 2008 10:42:25 +0200\r\nMessage-ID: &lt;AOEHKCKOIOGPGCNLDEKBMENJEMAA.d.briel@free.fr&gt;\r\nMIME-Version: 1.0\r\nContent-Type: text/plain;\n\tcharset=&quot;iso-8859-1&quot;\r\nContent-Transfer-Encoding: 7bit\r\nX-Priority: 3 (Normal)\r\nX-MSMail-Priority: Normal\r\nX-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0)\r\nIn-Reply-To: &lt;3d3fb0f20809240058v1a2473b2kc6fce7296ee1e2b2@mail.gmail.com&gt;\r\nImportance: Normal\r\nX-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579\r\nX-Originating-IP: 212.27.42.64\r\nX-eGroups-Msg-Info: 2:3:4:0:0\r\nFrom: &quot;Didier Briel&quot; &lt;d.briel@free.fr&gt;\r\nSubject: RE: [OmT] But what will happen if the segment doesn&#39;t exist after a reload (was: a little Autohotkey script to add glossary entries)\r\nX-Yahoo-Group-Post: member; u=40439957; y=HgWS7lVCSUv9n84odGxcV_13s-PAjZx1y4lJxkp9binN_wNFOroW\r\nX-Yahoo-Profile: didier_briel\r\n\r\n-----Original Message-----\n&gt;From: OmegaT@yahoogroups.com [mailto:OmegaT@yahoogroups.com]On Behalf Of\nkristian kankainen\n&gt;Sent: Wednesday, September 24, 2008 9:58 AM\n&gt;To: OmegaT@yahoogroups.com\n&gt;Subject: Re: [OmT] a little Autohotkey script to add glossary entries\n&gt;\n&gt;Didier, a bug popped up on my table and before i buzzed it off it\n&gt;squeked something like:\n&gt;&quot;but what will happen if the segment doesn&#39;t exist after a reload? i.e\n&gt;the segment was the last segment in the file, and you just added a\n&gt;rule for merging some segments...&quot;\n\nOr you just deleted nearly all the documents in /source :)\n\n&gt;yet-another-pseudo-code\n&gt;if segmentNr &gt; amountOfSegments\n&gt;then segemtNr := amountOfSegments\n\nThis is isn&#39;t necessary. All that is already taken into account by the\nfunction we call to go to the segment.\n\nFor further programming discussions (even in pseudo-code), you could\nsubscribe to the Development mailing-list.\n\nDidier\n\n\n\n"}}