Excellent - thank you! Works like a charm.
On Mon, Jun 12, 2017 at 12:44 PM, Stephen J. Orth via 4D_Tech < [email protected]> wrote: > $path:=Get 4D folder+"4D Preferences v13.4DPreferences" > > If (Test path name($path)=Is a document) > > $dom:=DOM Parse XML source($path) > > ARRAY TEXT($windows;0) > > $window:=DOM Find XML element($dom;"preferences/internal_prefs_4d/windows/ > window";$windows) > > For ($i;1;Size of array($windows)) > > $name:="" > $window:=$windows{$i} > > DOM GET XML ATTRIBUTE BY NAME($window;"name";$name) > > If ($name="4ddebugger") > DOM REMOVE XML ELEMENT($window) > End if > > End for > > XML SET OPTIONS($dom;XML Indentation;XML No indentation) > > DOM EXPORT TO FILE($dom;$path) > > DOM CLOSE XML($dom) > > End if > -- Douglas von Roeder 949-336-2902 ********************************************************************** 4D Internet Users Group (4D iNUG) FAQ: http://lists.4d.com/faqnug.html Archive: http://lists.4d.com/archives.html Options: http://lists.4d.com/mailman/options/4d_tech Unsub: mailto:[email protected] **********************************************************************

