31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
if {[file exists $cand.exe]} {
set cand $cand.exe
set found 1
break
}
}
if {!$found} {
puts $cho "PDF plugin needs external tool 'pdftotext' to run"
return 1
}
if {[catch {llength $::Info}]} {
puts $cho "PDF plugin needs -plugininfo parameter to be a list"
return 1
}
|
|
|
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
if {[file exists $cand.exe]} {
set cand $cand.exe
set found 1
break
}
}
if { ! $found} {
puts $cho "PDF plugin needs external tool 'pdftotext' to run"
return 1
}
if {[catch {llength $::Info}]} {
puts $cho "PDF plugin needs -plugininfo parameter to be a list"
return 1
}
|