Jump to content

GokAy

Active Members
  • Posts

    214
  • Joined

  • Last visited

  • Days Won

    3

GokAy last won the day on December 12 2020

GokAy had the most liked content!

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

GokAy's Achievements

Polymath

Polymath (5/7)

60

Reputation

  1. If I get you right, maybe: You can StringReplace $somefolder with output folder for $file https://www.autoitscript.com/autoit3/docs/functions/StringReplace.htm
  2. Perhaps double-quotes for $sffmpeg too, in case in the future you move it to a folder path with spaces in it.
  3. 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
  4. Thanks for the clarification.
  5. 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)
  6. You don't? The example in the document uses it..
  7. In that case use @ScriptDir Check out Macros page for a list of possible known locations: https://www.autoitscript.com/autoit3/docs/macros.htm
  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
  9. @MyDocumentsDir & "\OneMoreFolder" By the way, yellow can't be read on white background.
  10. Just wondering how do you check for misspelled words and the sort? Any mechanism to auto-correct or warn the user?
  11. 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.
  12. 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.
  13. You can't include a function in another. Make them seperate functions. Edit: Got beaten by the mod
  14. 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
  15. 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
×
×
  • Create New...