home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Invenzioni E Inventori 1: Lavoro E Vita Quotidiana
/
invenzioni-inventori-1.iso
/
mac
/
Invenzio
/
Indart.cst
/
00018_Script_18
< prev
next >
Wrap
Text File
|
1997-10-14
|
2KB
|
56 lines
ON MOSTRAT STILE,FRASE
global caricato,coddef
if stile="bold,italic" or (stile="italic,bold") then
set stile to "bold"
end if
if stile="underline,italic" or (stile="italic,underline") then
set stile to "underline"
end if
put "frase pulita ",frase
put "stile", stile
if stile = "underline" then
if not caricato then
iniziafin
set caricato to true
end if
set cod to line cerca ("sottolineati",frase) of field "sottolineati.idx"
if char 1 of cod = "#" then
delete char 1 of cod
set coddef to cod
put "codice = ",cod
open window "def"
movetofront window "def"
end if
else
set cod to line cerca ("grassetti",frase) of field "grassetti.idx"
put cod
if char 1 of cod = "m" then
if char 2 of cod = "i" then
set dest to item 2 of cod
set cod to item 1 of cod
if the machinetype = 256 then
go to movie char 1 of the moviepath&":\invenzio\"&dest&"\"&cod&".dir"
else
go to movie "INVENZIONI:INVENZIO:"&dest&":"&cod&".DIR"
end if
end if
if char 2 of cod = "s" then
global correlati
set correlati to cod
cps
end if
if char 2 of cod = "p" then
if the machinetype = 256 then
go to movie char 1 of the moviepath&":\invenzio\tori\"&cod&".dir"
else
go to movie "INVENZIONI:INVENZIO:TORI:"&cod&".DIR"
end if
end if
end if
end if
CURSOR -1
END