Your Universal Remote Control Center
RemoteCentral.com
Philips Pronto Professional Forum - View Post
Previous section Next section Up level
Up level
The following page was printed from RemoteCentral.com:

Login:
Pass:
 
 

Topic:
EditPad Lite and your "ConfigEdit.xml", a match made in heaven.
This thread has no replies.
Post 1 made on Monday August 30, 2010 at 13:08
Lowpro
Select Member
Joined:
Posts:
March 2004
2,081
I've been working on updating my configuration file this morning and thought I'd take a second here to endorse an awesome program I use when working directly with the "ConfigEdit.xml" file versus using the editor. Link action for said program shown below.

EditPad Lite:
http://www.editpadlite.com


EditPad Lite is a text editor for Windows which is free for personal use. It offers advanced "Search & Replace" capabilities, most notably for me, the ability to replace multiple lines of text where carriage returns are used which is not possible using Notepad or Wordpad. The benefits here in my case are invaluable.

Take this morning for example. My configuration file contains 819 pages of DVD cover image buttons, 8 cover image buttons per page. That's 6,552 buttons total. In an effort to optimize the size of my configuration file I decided to implement an update which required deleting certain elements from each of those pages in addition to adding ProntoScript to each of those 6,552 buttons. (Each of the buttons already had a ProntoScript name with the ProntoScript button selected, just no ProntoScript.) Using PEP to implement the needed update would have involved moving certain items to the back on each page first, then selecting each of the 6,552 buttons individually to add the needed ProntoScript, then moving items back to the front again on each page. This process would have taken a tremendous amount of time using PEP obviously. Thanks to EditPad Lite I was done in just a couple minutes! Simply performed a "Search & Replace" for each set of buttons occupying positions 1-8 on the 819 pages and moved on to the next task at hand. The below example is the "Search & Replace" performed for all of my DVD cover image buttons in position 1 on each page. Note that I'm using () versus <> due to HTML being enabled for forum posts.

SEARCH:
(ScriptName)1(/ScriptName)
(ActiveScript/)
(/BUTTON)


REPLACE:
(ScriptName)1(/ScriptName)
(ActiveScript/)
(Script)
(![CDATA[doOk1();]])
(/Script)
(/BUTTON)


Performed the "Search & Replace" for each set of buttons, EditPad Lite found 819 instances in each case as it should have, then performing the replace. Done deal! The amazing thing is that the "Search & Replace" for each set of buttons took less than a second to complete. The XML file itself also opens in a second or less and my XML file is over 25 megs. Can't complain about performance like that! EditPad Lite seriously has it going on. If you are looking for a good text editor you owe it to yourself to give EditPad Lite a try. Enjoy!
LP Related Links:
View my profile to access various
links to key posts and downloads.

Jump to


Protected Feature Before you can reply to a message...
You must first register for a Remote Central user account - it's fast and free! Or, if you already have an account, please login now.

Please read the following: Unsolicited commercial advertisements are absolutely not permitted on this forum. Other private buy & sell messages should be posted to our Marketplace. For information on how to advertise your service or product click here. Remote Central reserves the right to remove or modify any post that is deemed inappropriate.

Hosting Services by ipHouse