Forum Replies Created
- AuthorPosts
- prashob12Member
Thanks a lot for replying
I tried what u told, but the number of Empty elements present in the is many, so if i use the replacment option it deletes one instance at a time, and the number of files with such instances are also many, so it will be time consuming.
I created a macro to replace all empty elements in at one go:
document.selection.Find(“”,eeFindNext | eeFindReplaceRegExp);
document.selection.CharLeft(false,1);
editor.ExecuteCommandByID(4153);
document.selection.Find(“”,eeFindNext | eeFindReplaceRegExp);
document.selection.Replace(“(]+>){1,20}”,””,eeFindNext | eeReplaceSelOnly | eeReplaceAll | eeFindReplaceRegExp);
document.selection.Replace(“”,””,eeFindNext | eeReplaceSelOnly | eeReplaceAll | eeFindReplaceRegExp);
document.selection.CharRight(false,1);But i dont know how to make it run on all the files.
There are 1000’s of such files.Thanks in Advance!!
prashob12MemberPlease Reply someone can solve this problem & help me out
prashob12Membercan you make this macro run on all the files in certain path where those files are present. please!!!!
prashob12MemberI tried to use the macro script for replacement in all the files.
below is the sample, here i am getting some error report for closing of “)” at sandeep, “D:PRASHOB, can you please tell me exactly where i am making the mistake.
editor.ReplaceInFiles( “prashob”, “sandeep, “D:PRASHOBLY-01juriontesttest2*.xml”, eeReplaceBackup, eeEncodingSystemDefault, “”, “D:PRASHOBLY-01juriontesttest2backup” );
prashob12MemberIS ANY ONE THERE TO SOLVE MY QUERY.
I NEED TO KNOW WHETHER MULTIPLE REPLACMENT IS POSSIBLE OR NOT
SOLVE MY QUERY PLEASE.
prashob12MemberThanks a lot it works
But,
It would be great if there is new option in the find and GO to line window.
we should be able to select and unselect the option as we need.prashob12MemberThanks a Lot
Its just two days i started using it.
anyways thanks a lot for the quick reply.
- AuthorPosts