Plugins, fonts

Tariel Gogoberidze tariel at mac.com
Wed May 12 22:29:33 EDT 2004


  Richard Gaskin wrote:

>>> I got through the last seven years by maintaining
>>> a script called "FixMC" which wormed through the IDE making minor
>>> behavioral and aesthetic tweaks.

>> Is it possible to make latest version available for download? will be very
>> much appreciated.
> 
> Ideally it should not be needed, as we can fix MC ourselves now. :)
> 
> What do you like about that script -- anything worth considering for the
> IDE itself?
> 

Just the sum of this tweaks, especially platform specific adjusting of the
fonts and button sizes in dialogs and positioning of windows.

While we are on this and fully realizing how controversial this issue is,
I'm always changing the MouseDown script of button "menuButton" of stack
"MetaCard Menu Bar" to

on mouseDown  which
  if MCcheckEdit() then
    put "edited" into stackstatus[MCtargetstack(the long id of the target)]
    if which is 3 then
      select the target
      popup "MC SelectedObject Menu"
    end if
  end if
  if the commandKey is down and the optionKey is down then
    edit script of the target
  else pass mouseDown
end mouseDown

and adding the following line after MouseUp of the same button

on mouseUp which
  if the commandKey is down and the optionKey is down then exit to MetaCard
....


This allows  "HyperCard like" behavior of editing the script when you option
+ command click on control in any mode. Additional benefit, at least for me,
is that in browse mode command + Option click edits the script of the
control inside the group and in Pointer mode edits the script of the group.

best regards
Tariel







More information about the metacard mailing list