-
Use the lazy plugin, or the GI plugin.
-
Modify the txt file in the destination folder in batches to convert the doc file path ="d:\tddownload"
Return value = libFile. Traverse through all file names (paths) in the specified directory for i = 0 to ubound(return value) -1if instr(return value (i),"txt") >0 thendoc_name = replace(return value(i),"txt","doc") call path &"\"& Return value (i), path &"\"& Document Name).
end if
next. Just copy ** directly to the script for debugging.
-
Since you are converting a txt file to a doc file, you can change the file suffix in batches to achieve file conversion.
In the first part, create a file to store the file name in a directory of your choice.
dirpath=
uservar filepath="c:\" "The address of the txt file directory"
set f = createobject("")
set ff =
set sf =
i = 0for each a in sf
call ,next
The second part is to read the name of the stored file to create the address after the name change (there will be some small bugs in this, but it should not affect your use).
text =
dim myarray1,myarray2
myarray1 = split(text, "|")
myarray2 = split(text, "|")
i=0for ubound(myarray1)
myarray2(i)=replace(myarray1(i), "txt", "doc")
if myarray2(i)<>myarray1(i)
call &"\"& myarray1(i), dirpath &"\"& myarray2(i))
end if
i=i+1next
-
lib.File. Find a command library with the Key Wizard.
And it comes with it. If you don't have a problem with your key wizard, just copy it and you're ready to go.
DIM path, i, a
Path = C: Users Administrator Desktop New folder"You change it to the path you want to use.
Array = libFile. Traverse through all file names (paths) in the specified directory for i = 0 to ubound(array) -1a = i + 1
call path & array(i), path & a & txt"Traceprint path & A & txt"
traceprint path & array(i)next
-
Iterate through all the files in the directory.
Array = libFile. Iterate through all folder names ("c:\"
for i=0 to ubound (array) -1traceprint array (i).
next Changed its name.
Parameter 1, parameter 2
-
It's easy to make mistakes like you, I wonder if you've tried? For example, if the mobile phone is stuck, the network card will be wrong for about 2 seconds.
-
I guess you're definitely doing something bad.,It's not difficult to detect the USB flash drive.,I can write it.,But what you said to copy the file.,I'm afraid it's a little difficult.,Because you have to go through all the folders.,Or in the case of not knowing what folders are.,So,Difficult.,Unless you specify a directory.,,So that you can copy.,It can only be a certain folder.,Can't all and don't include subfolders.。
The key wizard comes with a key code query,In"Key commands"Below, there is"Query the keycode"Press any key on the keyboard at the key, and the keycode of the corresponding key will be displayed in the keycode. Vice versa. >>>More
How to use the key wizard to complete automation scripts, with projects.
It's useless to just record.
To **. Need me to write a script. >>>More
Color-finding plugin Parameter 1, Parameter 2, Parameter 3, Parameter 4, Parameter 5, Parameter 6, Parameter 7) vbscall findcolor(0,0,1024,768,"0000ff",intx,inty) >>>More
You're going to set it up.