home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 1997 April
/
Chip_1997-04_cd.bin
/
tema
/
602propc
/
disk12
/
data.12
/
WINTEXT
/
MAKRA
/
SOURCES
/
AUTOEXEC.TXT
< prev
next >
Wrap
Text File
|
1995-08-22
|
852b
|
32 lines
program AutoExec;
var
S, S2 : string[90];
begin
if Strtrim(GetCommandLine) <> "" then
Halt;
{ neco je na prikazove radce -> nic neprovadet }
ErasethisMacro;
{ - to nejlepe co nejdrive, aby to pripadny break neovlivnil }
Wait_box_show("╚ekejte prosφm", "Otevφrßm dokument CTIMNE.WPD");
S:= DefaultDocDir;
S2:="CTIMNE.WPD";
if StrLength(S) > 0 then
if S[StrLength(S)] <> '\' then
S:=Strcat(S, "\");
S:=Strcat(S, S2);
if OpenFile(false, S, ftWT_30, ctWINEE) = IDOK
{ ·sp∞sn∞ otev°en -> neotvφrej implicitnφ prßzdny dok. }
then begin
Wait_box_hide;
SetInitialOpen(FALSE)
end
{ neotev°en -> informace o chyb∞ : }
else begin
Wait_box_hide;
S:= "Nelze otev°φt " + S;
Info_box("Chyba za b∞hu makra", S);
end;
end.