<html><head></head><body><div style="font-family:verdana, helvetica, sans-serif;font-size:13px;"><div><div>Great</div><div><br></div><div>Thanks Mike. I installed both plugins.<br></div><div><br></div><div>Here is my experience with the installation. To add the Scripting button on the Main Menu, I went to the Plugins section and installed the Scripting plugin. I was then able to follow your instructions to install and run 
            
          
          
            <span class="ydp839588dccss-truncate ydp839588dccss-truncate-target"><a href="https://github.com/MikeTho16/JOSM-Scripts/blob/master/SelectDuplicateBuilding.js" class="ydp839588dcjs-navigation-open" id="ydp839588dcece1b9973fb47fe2afce9f10f7f02620-fc3f34e86af14bea8755ca1ec4e224a9b65cfac6" title="SelectDuplicateBuilding.js" rel="nofollow" target="_blank">SelectDuplicateBuilding.js</a></span> and <span class="ydpb03ea67fcss-truncate ydpb03ea67fcss-truncate-target"><a href="https://github.com/MikeTho16/JOSM-Scripts/blob/master/SelectNonOrthogonalBuilding.js" class="ydpb03ea67fjs-navigation-open" id="ydpb03ea67f2b36b2a682059c5fd54a273f77b55e4c-87130f3d9f0e6440877af6440b9b95e02ac7a68d" title="SelectNonOrthogonalBuilding.js" rel="nofollow" target="_blank">SelectNonOrthogonalBuilding.js</a></span><br></div><div><br></div><div>Before we run the script, I suggest to load buildings for a small area. Up to 500 buildings, it is ok for me. Then delay increase rapidly if I move to 1,000 - 2,000 buildings and more. With Windows 8.1 task manager, I could see that Java was running. I just had to wait for completion of the task.</div><div><br></div><div>Running  <span class="ydpb03ea67fcss-truncate ydpb03ea67fcss-truncate-target"><a href="https://github.com/MikeTho16/JOSM-Scripts/blob/master/SelectNonOrthogonalBuilding.js" class="ydpb03ea67fjs-navigation-open" id="ydpb03ea67f2b36b2a682059c5fd54a273f77b55e4c-87130f3d9f0e6440877af6440b9b95e02ac7a68d" title="SelectNonOrthogonalBuilding.js" rel="nofollow" target="_blank">SelectNonOrthogonalBuilding.js</a></span> on Windows 8.1 with Java 8.0 1210.13<br></div><div>Error message is<br></div><div>Failed to execute the script file<br>Error message:ReferenceError: Console is not defined SelectNonOrthogonalBuilding.js#42<br>At:line 42<br><br>regard<br></div><span style="font-style:italic;color:rgb(0, 0, 191);font-weight:bold;"> </span><br><span style="font-style:italic;color:rgb(0, 0, 191);font-weight:bold;"></span><div class="ydpbb7d2416signature"><span style="font-style:italic;color:rgb(0, 0, 191);font-weight:bold;"><font face="garamond, new york, times, serif">Pierre </font><br></span></div></div>
            <div><br></div><div><br></div>
            
            <div id="ydp7ac7e5bfyahoo_quoted_2075740288" class="ydp7ac7e5bfyahoo_quoted">
                <div style="font-family:'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:13px;color:#26282a;">
                    
                    <div>
                        Le vendredi 24 novembre 2017 15:39:30 HNE, Mike Thompson <miketho16@gmail.com> a écrit :
                    </div>
                    <div><br></div>
                    <div><br></div>
                    <div><div id="ydp7ac7e5bfyiv2206251946"><div><div dir="ltr"><div>Pierre,</div><div><br clear="none"></div><div>Here is a script to select buildings that are not square (not orthogonal):</div><div><br clear="none"></div><a shape="rect" href="https://github.com/MikeTho16/JOSM-Scripts" style="font-size:12.8px;" rel="nofollow" target="_blank">https://github.com/MikeTho16/ JOSM-Scripts</a><br style="font-size:12.8px;" clear="none"><div style="font-size:12.8px;"><a shape="rect" class="ydp7ac7e5bfyiv2206251946gmail-js-navigation-open" id="ydp7ac7e5bfyiv2206251946gmail-2b36b2a682059c5fd54a273f77b55e4c-87130f3d9f0e6440877af6440b9b95e02ac7a68d" href="https://github.com/MikeTho16/JOSM-Scripts/blob/master/SelectNonOrthogonalBuilding.js" title="SelectNonOrthogonalBuilding.js" style="background-color:rgb(246,248,250);color:rgb(3,102,214);text-decoration-line:none;font-family:-apple-system, BlinkMacSystemFont,;" rel="nofollow" target="_blank">SelectNonOrthogonalBuilding.js</a>   <br clear="none"></div><div style="font-size:12.8px;"><br clear="none"></div><div style="font-size:12.8px;"><div>To Run:</div><div>* Install JOSM's Scripting Plugin</div><div>* Place above file in a convenient location on your system </div><div>* Click "Scripting" (on top menu bar)</div><div>* Click "Run"</div><div>* Click "..." button and select this file.</div><div>* Click "Run"</div></div><div style="font-size:12.8px;"><br clear="none"></div><div><div><span style="font-size:12.8px;">Selects building which are not orthogonal, that is buildings where all corners </span><span style="font-size:12.8px;">do no measure 90 degrees, with the following exceptions:   </span></div><div><span style="font-size:12.8px;">* Inline vertices (angles of 180 degrees) are ignored.   </span></div><div><span style="font-size:12.8px;">* Regular polygons are not selected as these are likely to be approximations of </span><span style="font-size:12.8px;">circles or otherwise valid.   </span></div><div><span style="font-size:12.8px;">* There is a tolerance of +/- 1 degree.   </span></div><div><span style="font-size:12.8px;"><br clear="none"></span></div><div><span style="font-size:12.8px;">The selected buildings are added to the current selection.</span></div></div><div><span style="font-size:12.8px;"><br clear="none"></span></div><div><span style="font-size:12.8px;">Mike</span></div></div></div></div></div>
                </div>
            </div></div></body></html>