Encode-UTR22
view release on metacpan or search on metacpan
examples/Utr22c.clb view on Meta::CPAN
158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198H=
" "
H=
";Testing"
H=
"testutr22"
^!Clip InitDir
^!Set
%testseq
%=^?{Test Sequence=^
%testseq
%}
^!Menu File/Save
; ^!Prompt
"^%MyAppDir%testutr22.exe -o "
^
%MyAppDir
%testutr22
.lst
" -bu "
^
$GetDocName
$
" "
^
%testseq
%
""
^!Set
%testresult
%=^
$GetOutput
(
"^%MyAppDir%testutr22.exe -o "
^
%MyAppDir
%testutr22
.lst
" -bu "
^
$GetDocName
$
" "
^
%testseq
%
""
)$
^!IfFileExist
"^%MyAppDir%testutr22.lst"
NEXT ELSE failed
^!Open
"^%MyAppDir%testutr22.lst"
/R
^!Goto END
:failed
^!IfFileExist
"^$GetAppPath$StdError.txt"
NEXT ELSE END
^!Open
"^$GetAppPath$StdError.txt"
H=
"Web page"
^!Clip InitDir
^!Menu File/Save
^!Url ^
$FileToUrl
(^
$GetDocName
$)$
H=
"Compile TEC"
^!Clip InitDir
^!Set
%fname
%=^
$ChangeFileExt
(^
$GetDocName
$;
"tec"
)$
^!Set
%outfile
%=^?{(T=S;F=
"TEC Files(*.tec)|*.tec"
)Save As=^
%fname
%}
^!Menu File/Save
;^!Prompt ^
%MyAppDir
%utr22tec
.exe
"^$GetDocName$"
"^%outfile%"
^!Set
%output
%=^
$GetOutput
(^
%MyAppDir
%utr22tec
.exe
"^$GetDocName$"
"^%outfile%"
)$
^!If ^
%output
% =
""
quiet
^!Toolbar New Document
^
%output
%
:quiet
^!IfFileExist
"^$GetAppPath$StdError.txt"
NEXT ELSE END
^!Open
"^$GetAppPath$StdError.txt"
( run in 0.350 second using v1.01-cache-2.11-cpan-26ccb49234f )