[comp.sys.mac.hypercard] Utility script

ftdkl@acad3.fai.alaska.edu (LaSota Daniel K) (10/23/90)

Once long ago I got real sick of having to toggle the locktext of fields
by changing from browse to field and back just so I could type in
a locked field. So I made this:

on MouseEnter
  if the OptionKey is down then
    if the target contains "field" then
      set the locktext of the target to not the locktext of the target
    end if
  end if
end mouseEnter

A good place is in the home stack.
holding the option key down while pushing the cursor into fields is not a 
natural act so the locktext only changes when I want it too. 

Dan LaSota
ftdkl@acad3.fai.alaska.edu