Nick F0x
By: a guest | Feb 4th, 2010 | Syntax:
AutoIt | Size: 2.36 KB | Hits: 364 | Expires: Never
$dir = IniRead("odt2any.ini", "Main", "OO", "OpenOffice.org 3")
$ext = IniRead("odt2any.ini", "Main", "ext", "doc")
$int = IniRead("odt2any.ini", "Main", "int", "odt")
$del = IniRead("odt2any.ini", "Main", "delete", "0")
$Dir2Convert = $CmdLine[1]
; MsgBox(4096, "Result", $dir & $ext)
$command = '"' & @ProgramFilesDir & '\' & $dir &'\program\soffice.exe" -accept="socket,port=8100;urp;"'
; Shows the filenames of all files in the current directory
; Check if the search was successful
MsgBox(0, "Error", "No files/directories matched the search pattern")
$count = 0
$count = $count + 1
TrayTip ("Обрабатывается:", $file, 5
, 1
)
$command = '"' & @ProgramFilesDir & '\' & $dir &'\program\python.exe" DocumentConverter.py "' & $Dir2Convert & '\' & $file & '" "' & $Dir2Convert & '\' & $newname & '"'
; TrayTip ("Удаляется:", $file, 5, 1)
; MsgBox(4096, "File:", $file)
; Close the search handle
TrayTip ("Завершено:", "Конвертировано: " & $count, 5, 1)
; MsgBox(4096, "Завершение", "Конвертировано: " & $count)