Search found 17 matches

by mogodan2008
07 Jul 2017 01:05
Forum: DOS Batch Forum
Topic: Jrepl
Replies: 29
Views: 18819

Re: Jrepl

Hi Steffen,

The code is working great! I do apreciate your work. Thank you!

Best regards,
Dan
by mogodan2008
06 Jul 2017 15:58
Forum: DOS Batch Forum
Topic: Jrepl
Replies: 29
Views: 18819

Re: Jrepl

Hi Steffen,

I run the code, but the windows cmd show: "else was unexpected at this time."

Best regards,
Dan
by mogodan2008
06 Jul 2017 15:06
Forum: DOS Batch Forum
Topic: Jrepl
Replies: 29
Views: 18819

Re: Jrepl

Hi Steffen, I have corrected the code above, and the result is: @if (@a)==(@b) @end /* :: Batch @echo off &setlocal set /a "start=21656152, stop=21656156" for /l %%i in (%start% 1 %stop%) do ( if exist "%%i.xml" ( cscript //nologo //e:jscript "%~fs0" "%%i.xml&q...
by mogodan2008
06 Jul 2017 03:11
Forum: DOS Batch Forum
Topic: JREPL.BAT v8.6 - regex text processor with support for text highlighting and alternate character sets
Replies: 550
Views: 2168591

Re: JREPL.BAT - regex text processor - successor to REPL.BAT

Hi, I have a text file like: <eye> <eye-bounds> <attribute name="3d-position-z">852.11</attribute> <attribute name="3d-position-y">-92.95</attribute> <attribute name="3d-position-x">-162.88</attribute> <attribute name="occlusion">none</attribute> <attribute na...
by mogodan2008
05 Jul 2017 02:53
Forum: DOS Batch Forum
Topic: Jrepl
Replies: 29
Views: 18819

Re: Jrepl

Hi Steffen, I wonder if you can help me. Based on xml files involved, and your code, I tried to write a code, to copy xml files from a location to another location: " @if (@a)==(@b) @end /* :: Batch @echo off &setlocal set /a "start=21653196, stop=21653200" for /l %%i in (%start% ...
by mogodan2008
02 Jul 2017 06:04
Forum: DOS Batch Forum
Topic: Jrepl
Replies: 29
Views: 18819

Re: Jrepl

Hi Steffen,

You are great! The code is working very well.
I appreciate your help, thank you!

Best regards,
Dan
by mogodan2008
02 Jul 2017 00:19
Forum: DOS Batch Forum
Topic: Jrepl
Replies: 29
Views: 18819

Re: Jrepl

I know Steffen...
The code is working, except the last " if ".

Dan
by mogodan2008
01 Jul 2017 10:39
Forum: DOS Batch Forum
Topic: Jrepl
Replies: 29
Views: 18819

Re: Jrepl

Not realy, could be a xml file with the second eye node with lower-eyelid and upper-eyelied. It doesn't matter what eye-bound it reffer, because lower-eyelid and upper-eyelid will be allways in the correct eye-bound. So, I need just replace the x, y values. Thank you!

Dan
by mogodan2008
01 Jul 2017 09:11
Forum: DOS Batch Forum
Topic: Jrepl
Replies: 29
Views: 18819

Re: Jrepl

Hi, I have the another xml files like this: <?xml version='1.0' encoding='UTF-8'?> <image id="21653333" version="1.0" image-url="J:\23.06.2017 855 1-5\TagImage-DMS_NIR-Cam-Gen1_Phase2_John_Optitrack-Blink_20160218-150629_30.bw_640x48030fps\21653200.png" width="640&...
by mogodan2008
01 Jul 2017 07:19
Forum: DOS Batch Forum
Topic: Jrepl
Replies: 29
Views: 18819

Re: Jrepl

Hi,

Just from "Person1" and "Person2" tags. "Person3" and "Person4" does not exist.
I need a separate batch code. Thank you!

Kind regards,
Dan
by mogodan2008
01 Jul 2017 03:06
Forum: DOS Batch Forum
Topic: Jrepl
Replies: 29
Views: 18819

Re: Jrepl

Hi Steffen, it's working! Thanks a lot! I have just a question: How to modify your code if I have just a pair of lower-eyelied, upper-eyelied and Person1 and Person2? In the same way, I want to replace x, y points from Person1 and Person2 to lower-eyelied and upper-eyelied, without comparition of ey...
by mogodan2008
30 Jun 2017 21:42
Forum: DOS Batch Forum
Topic: Jrepl
Replies: 29
Views: 18819

Re: Jrepl

Hi Steffen,

I tried the code, but is not working. After run the code, the cmd window is open and close very quickly.

Thank you,
Dan
by mogodan2008
29 Jun 2017 23:47
Forum: DOS Batch Forum
Topic: Jrepl
Replies: 29
Views: 18819

Re: Jrepl

Hi Steffen, Your code is working super! Thank you a lot! I need to apply the code to several xml files. So, I added some batch lines to your code, like: " @if (@a)==(@b) @end /* :: Batch @echo off &setlocal set myimage=21653 set x=196 :loop set "xmlName=%myimage%%x%.xml" cscript /...
by mogodan2008
29 Jun 2017 03:34
Forum: DOS Batch Forum
Topic: Jrepl
Replies: 29
Views: 18819

Re: Jrepl

Hi Steffen, I had tried with the xml, but it seems that the first condition is not applied. In fact, the first lower- lied x, y points whil get the x,y points of Person3 instead of Person1 points, and the first upper-lied x,y points the points of Person4 instead of Person2; I change the conditional ...
by mogodan2008
26 Jun 2017 14:44
Forum: DOS Batch Forum
Topic: Jrepl
Replies: 29
Views: 18819

Re: Jrepl

Hi Steffen, The content of xml file is: <?xml version='1.0' encoding='UTF-8'?> <image id="21653200" version="1.0" image-url="J:\23.06.2017 855 1-5\TagImage-DMS_NIR-Cam-Gen1_Phase2_John_Optitrack-Blink_20160218-150629_30.bw_640x48030fps\21653200.png" width="640"...