home *** CD-ROM | disk | FTP | other *** search
/ CD-ROM Magazin 1995 May / TYPEMANIA.ISO / systhema.dir / 00110_Script_110 < prev    next >
Text File  |  1995-02-27  |  1KB  |  35 lines

  1. on mouseDown
  2.   global seltext
  3.   --set seltext=""
  4.   set startH=the mouseH
  5.   set startV= the mouseV
  6.   hilite char 5000 of field 90
  7.   set the puppet of sprite 24 to true
  8.   if not the optionDown then 
  9.     hilite word the mouseword of field 90
  10.     set seltext=word the mouseword of field 90
  11.     put seltext
  12.     pause
  13.   else
  14.     open window "such.dir"
  15.     set the windowType of window "such.dir" to 49
  16.     --    if seltext<>"" then
  17.     --      beep
  18.     --      set the Text of field 109 to seltext&Return&the text of field 109
  19.     --    end if
  20.     
  21.     --    set the locH of Sprite 28 to the mouseH
  22.     --    set the locV of Sprite 28 to the mouseV
  23.     --    set myline=0
  24.     --    updatestage
  25.     --    repeat while the mousedown and rollover (28)
  26.     --      if myLine<>the mouseline and the mouseline>0 then
  27.     --        set myLine=the mouseline
  28.     --        hilite line the mouseLine of field 109
  29.     --      end if 
  30.     --    end repeat
  31.     --    if rollover(28) and myline>0 then
  32.     --      alert line myLine of field 109
  33.     --    end if
  34.   end if --option down
  35. end