1.00inputfilebypassfalsetspopenFiledocumentdocumenttsplistlinespvalueAutotspbooleanappendvaluefalseskipcommentsbypassfalsetsplongStringexclusionlistvalue/tspbooleanskipalsoemptylinesvaluefalsetspbooleanskipalsoinlinecommentsvaluefalsereplacebypassfalsetspstringfindvalue\n\ntspstringreplacevalue###tspbooleancasesensitivevaluefalsetspbooleanuseregexvaluefalsereplacebypassfalsetspstringfindvalue\ntspstringreplacevaluetspbooleancasesensitivevaluefalsetspbooleanuseregexvaluefalsereplacebypassfalsetspstringfindvalue###tspstringreplacevalue\n\ntspbooleancasesensitivevaluefalsetspbooleanuseregexvaluefalsereplacebypassfalsetspstringfindvaluetspstringreplacevaluetspbooleancasesensitivevaluefalsetspbooleanuseregexvaluefalsescriptbypassfalsetsplongStringscripttextvaluefunction wraptitle(title as string, width as integer) as string
dim w,i,cw as integer
dim first,second,word as string
w = len(title)
if w < width then
return title
end if
if w > 2*width then // too long
return title
end if
cw = countfields(title," ")
first = nthfield(title," ",1)
for i = 2 to cw
word = nthfield(title," ",i)
if len(first) + len(word) > w/2 then
second = mid(title,len(first) + len(word) + 3)
if len(first) > len(second) then
return first + chr(13) + word + " " + second
else
return first + " " + word + chr(13) + second
end if
end if
first = first + " " + word
next
return first
end function
dim text, title,result as string
dim i, cf as integer
text = gettext
cf = countfields(text,chr(13)+chr(13))
for i = 1 to cf
title = nthfield(text,chr(13)+chr(13),i)
title = wraptitle(title,38)
result = result + title + chr(13) + chr(13)
next
print resultinserttextbypassfalsetsplongStringtextvaluetspbooleanreplaceselectionvaluefalseoutputfolderbypassfalsetspfolderfolderfoldertsplistlinespvalueAutotsplongStringfilenamescriptvaluetspstringmaccreatorvaluetspstringmactypevaluetspbooleansaveonlychangesvaluefalsetspbooleanaskbeforeoverwritevaluetrueinputfilebypassfalsetspopenFiledocumentdocumenttsplistlinespvalueAutotspbooleanappendvaluefalseparsercmx3600bypassfalsetspstringtitlevaluetspbooleantranslatetracksvaluefalsescriptbypassfalsetsplongStringscripttextvaluedim text as string
text = gettext
select case getcolumnname
case "Event"
case "Record In"
text = format(tctoframes(text,25),"00000")
case "Record Out"
text = format(tctoframes(text,25),"00000")
else
text = ""
end select
print text
parserspacebypassfalsetspstringheadingsvalueparsertextbypassfalsetspbooleanaddheadingsvaluefalsereplacebypassfalsetspstringfindvaluetspstringreplacevaluetspbooleancasesensitivevaluefalsetspbooleanuseregexvaluefalsereplacebypassfalsetspstringfindvalue\ntspstringreplacevalue\n\ntspbooleancasesensitivevaluefalsetspbooleanuseregexvaluefalseinputfilebypassfalsetspopenFiledocumentdocumenttsplistlinespvalueAutotspbooleanappendvaluetruescriptbypassfalsetsplongStringscripttextvaluedim text, title, ev,result as string
dim i, cf as integer
text = gettext
cf = (countfields(text,getnewline+getnewline) -1)/ 2
for i = 1 to cf
ev = nthfield(text,getnewline+getnewline,i)
title = nthfield(text,getnewline+getnewline,i+cf)
result = result + ev + getnewline + title + getnewline + getnewline
next
print resultoutputfolderbypassfalsetspfolderfolderfoldertsplistlinespvalueAutotsplongStringfilenamescriptvaluetspstringmaccreatorvaluetspstringmactypevaluetspbooleansaveonlychangesvaluefalsetspbooleanaskbeforeoverwritevaluetruewindow.width660window.height520window.horizontalsplitter231window.verticalsplitter202window.pagesetupglobalwindow.top48globalwindow.left650globalwindow.width100globalwindow.height50