If I get you right, maybe:
You can StringReplace $somefolder with output folder for $file
https://www.autoitscript.com/autoit3/docs/functions/StringReplace.htm
From StringSplit documentation:
If you use an empty string "" for the delimiters, each character will be returned as an element.
You possibly forgot to add "," as delimiter
Yes.. I answered that, maybe it was not obvious.
FileCopy(@ScriptDir & "\file.*", @MyDocumentsDir & "\folder\",8)
According to JockoDundee you don't need "\", so:
FileCopy(@ScriptDir & "\file.*", @MyDocumentsDir & "\folder",8)
It is Source, Dest so this should be enough, no need for filename in Dest. (Removed inaccurate info)
FileCopy(@MyDocumentsDir & "\file.*", @MyDocumentsDir & "\folder\",8)
Edit: Also you say you want to move the file, so FileMove would be better (which can also rename)
https://www.autoitscript.com/autoit3/docs/functions/FileMove.htm
I can't be of much help with this, not without wasting few hours. First you need the window handle of the first script. Then use the AutoIt Window Info tool to get the window handle of the richedit. I would guess there is a more direct approach possible with AutoIT though.
For flashing, and how a timer can be used check the first script here:
https://www.autoitscript.com/forum/topic/204707-counter-skipping-0/?tab=comments#comment-1471344
Edit: Sorry pressed to post by mistake.
Edit2: You can also add a little sleep.
Edit3: To get window handle
https://www.autoitscript.com/autoit3/docs/functions/WinGetHandle.htm
I have only used FindWindow (window handle, should be as above?) and FindWindowEx (ctrl handle) win32 api functions in VBA so quiet nooby here. Someone will fill you in if you can't locate the equivalents.
Hey,
I usually use a timer for stuff I don't want to trigger as often as they would do. Do whatever to collect the data and only present it after a certain amount has passed.
Another thing that comes to my mind is instead of multithreading, you could have another script that would check the contents of the richedit of the first script. And change first script to auto-start it perhaps.
This one seems alright, it will contain 3 exe's and some documentation files. ffmpeg.exe alone was enough for my case). The official ffmpeg site links to this one and one other btw:
https://github.com/BtbN/FFmpeg-Builds/releases/download/autobuild-2020-12-30-12-37/ffmpeg-n4.3.1-26-gca55240b8c-win64-gpl-4.3.zip
How to install (I did not install, just copy pasted to a known location within my project folder):
https://www.youtube.com/watch?v=qjtmgCb8NcE&feature=emb_logo
Maybe you can use ffmpeg for this?
https://www.google.com/search?q=ffmpeg+extract+thumbnail+from+mp4&oq=ffmpeg+extract+thumbnail+from+mp4&aqs=chrome..69i57.12959j1j7&sourceid=chrome&ie=UTF-8