home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Invenzioni E Inventori 1: Lavoro E Vita Quotidiana
/
invenzioni-inventori-1.iso
/
mac
/
Invenzio
/
Mare
/
SHAREDM.CST
/
03090_Script_3090
< prev
next >
Wrap
Text File
|
1997-09-15
|
1KB
|
40 lines
on cambia_hilite
set trovato = 0
put "***** INIZIO CAMBIA_HILITE *****"
repeat with x = 1 to 2800
set tipo to the castType of cast x
-- put tipo
if tipo=#script then
-- beep
set pgm to the scripttext of cast x
-- put pgm
if pgm contains "at_hil_sottoinv" then
set trovato = 1
put "ho trovato at_hil al cast "&x&RETURN
repeat with b = 1 to (the number of words in pgm)
if word b of pgm CONTAINS ( "at_hil_sottoinv" ) then
put "PAROLA: " & b&RETURN
put "PAROLA TROVATA: "& word b of pgm&RETURN
if word b of pgm = ( "at_hil_sottoinv" ) then
put ( "at_hil") into word b of pgm
set the scripttext of cast x to pgm
put "SOSTITUITA CON: " &word b of the scripttext of cast x&RETURN
ELSE
PUT "IMPOSSIBILE EFFETTUARE LA MODIFICA"&RETURN
END IF
else
end if
end repeat
end if
END IF
end repeat
if trovato = 0 then
put "AT_HIL_SOTTOINV non trovato. Non Φ stata apportata nessuna modifica."&RETURN
end if
put "***** FINE CAMBIA_HILITE *****"
end