Search the Community
Showing results for tags 'file name'.
Found 1 result
I'm attempting to have micro express rename a JPEG file. Current file name test.jpg, I want to add CR to the end of the name of file name test. testCR.jpg <WINDOW ACTIVATE Title="*.jpg" Exact_Match="FALSE" Wildcards="TRUE" _IGNORE="0x0006"/> <TEXT TYPE Action="0" Text="<CTRLD><SHIFTD>"/> <TEXT TYPE Action="0" Text="S"/> <DELAY Flags="\x02" Time="1000"/> what I am trying to do is insert the 2 letters CR at the end of the file name before the .jpg this works fine but when I get to the point where I need to move to the end of the file extension, and then arrow left for spaces then I want to enter the 2 letters CR. What's happening as soon as the command text equals S executes the JPEG file is in the file save as mode. With the file name highlighted. The problem I am encountering as soon as I do the next line that says arrow right that would take me to the outside of the file extension JPG, the text in the JPEG file becomes on highlighted and micro-express seems to go into never never land. The way I can get it back is to do a Ctrl-Alt-Del and then cancel and then I can get control again and cancel the step-by-step test run that I am doing. When I try to move to the end of the highlighted filename so I can arrow back for spaces and add CR. All I'm trying to do is add the CRat the end of the file name before the .jpg. <TEXT TYPE Action="0" Text="<ARROW RIGHT>"/> <DELAY Flags="\x02" Time="1000"/>