Jump to content

jzachariasen

Members
  • Posts

    9
  • Joined

  • Last visited

jzachariasen's Achievements

Seeker

Seeker (1/7)

0

Reputation

  1. PsaltyDS, thank you for the _FileWriteLog tips. It works very well!
  2. Thank you Mobius, that works great! I may have never figured that one out on my own.
  3. I have this script, and it works well... $search = FileFindFirstFile("D:\SWImport\*.*") If $search = -1 Then Exit EndIf While 1 $file = FileFindNextFile($search) If @error Then ExitLoop FileDelete("D:\SWImport\"&$file) WEnd FileClose($search) But right before FileDelete("D:\SWImport\"&$file) I need to spit the $search variable out to a txt file so I have a log of what was deleted.Does anybody have an idea about how to do this? In short, I need $search to append log.txt with its value. Log.txt will then have a list of the files that were deleted.
  4. Thank you! @WDAY appears to be what I was looking for.
  5. Is there a way to pull the current day from Windows into a variable? I would think so but cannot find this function in the help file. My intention is to have a logoff script that will only run on a certain day.
  6. Here is what my script ended up looking like. It works quite well. $moviename = InputBox ( "Creating MPG file", "What is the name of the directory that contains the .VOB's?") RunWait(@COMSPEC & " /c copy /D Z:\DVD's-2\temp\"&$moviename&"\VIDEO_TS Z:\DVD's\"&$moviename&".mpg") If anybody is wondering, I use it to take ripped DVD .VOB files (From DVD's that I own) and join them into one .mpg that I can upload and play on the TIVO. The $moviename variable is necessary because the .VOB files are in a unique directory created by the ripping software. Its usually something like "BATMAN_BEGINS". Before this script was created I had to type everything out in the command line every time. Thank you for your help!
  7. The FileRead, FileWrite, and File API functions seem like it would be a complicated way to complete a simple task. Would I be able to plug my variable from the input box into the command line from AutoIt? This sounds like the best method if possible.
  8. Something like this? $variable1 = InputBox ( "Input box title", "Input box question", 0) MsgBox( 0, "msgbox title", $variable1) In short, create a variable from the inputbox input and call it with the variable.
  9. I am very new to AutoIt. I have searched for the answer for my question and read the FAQ's but still need help... I run a command from the Windows command prompt to join multiple .vob files into a single .mpg file. The command looks something like this: copy /D Z:\moviedirectory\Video_ts\*.vob Z:\moviename.mpg This works for me, but I want to create an autoit script to make this process quicker. I cannot find an autoit command that properly joins the .vob files together. I have tried the filecopy and filemove commands, but they both only take the first .VOB file and rename it to moviename.mpg Is there an autoit command that will join files together like the copy command does? What is it? Here is my script so far... $moviename = InputBox ( "Creating MPG file", "What is the name of the directory containing the .VOB files?") FileCopy( "Z:\DVD's-2\temp\"&$moviename&"\VIDEO_TS\*.VOB", "Z:\DVD's\"&$moviename&".mpg", 0)
×
×
  • Create New...