Re: MetaCard Setup 1.0.3

2010-03-28 Thread Robert Brenstein

On 27.03.10 at 21:33 -0500 J. Landman Gay apparently wrote:

Robert Brenstein wrote:

I just created MetaCard 3.5. Everything seems to be working fine 
except that when it opens, the buttons of the home stack have no 
icons, just names. Clicking any button makes the icon show up. I 
wonder what gives.


That's a really old bug. I think the fix is this mod to the Home 
stack that specifically puts the tools stack in use:


on startup
  if the version =2.7 then
start using stack mctools.mc
if the platform  MacOS then
  open stack mctools.mc
end if
set the defaultStack to Home
reset cursors
  end if
  pass startup
end startup


I have added this not as startup handler but per Ken's instructions 
in the preopen handler of cd 1 script of the Home stack. Without this 
script inserted, the launch hangs up as I mentioned before. With the 
script, MetaCard launches and all works except that the home stack 
buttons have no icons until clicked.




BTW, the setup stack works nicely. It does not, however, check 
whether the script of the home stack's card is modified. Without 
the mod (as described in the instructions posted in yahoo group), 
MetaCard hangs when launching.


Right. It doesn't check for any scripts, it just moves the stacks 
from the download site. If you've made changes to your Home stack or 
other tools, use the option that adds the engine to an existing set 
of MC stacks (or move your Home stack into the new folder after 
setup finishes.)


It could be cool if the setup script checked whether the above script 
fragment is added and pop a warning if it is not. Nothing more.


Robert
___
metacard mailing list
metacard@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/metacard


Re: MetaCard Setup 1.0.3

2010-03-28 Thread J. Landman Gay

Robert Brenstein wrote:

On 27.03.10 at 21:33 -0500 J. Landman Gay apparently wrote:

on startup
  if the version =2.7 then
start using stack mctools.mc
if the platform  MacOS then
  open stack mctools.mc
end if
set the defaultStack to Home
reset cursors
  end if
  pass startup
end startup


I have added this not as startup handler but per Ken's instructions in 
the preopen handler of cd 1 script of the Home stack. Without this 
script inserted, the launch hangs up as I mentioned before. With the 
script, MetaCard launches and all works except that the home stack 
buttons have no icons until clicked.


I have the handler in the first card of the Home stack too, but it is a 
startup handler, not a preOpenCard handler. Try changing your handler to 
startup; that was Mark Waddingham's suggestion. I think the tools stack 
needs to load very early in the process.




It could be cool if the setup script checked whether the above script 
fragment is added and pop a warning if it is not. Nothing more.


I'll put it on my someday list, but probably won't get around to 
implementing it unless some other changes need to be made too.


--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software   | http://www.hyperactivesw.com
___
metacard mailing list
metacard@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/metacard


Re: MetaCard Setup 1.0.3

2010-03-28 Thread Robert Brenstein

On 28.03.2010 at 14:29 Uhr -0500 J. Landman Gay apparently wrote:
I have added this not as startup handler but per Ken's instructions 
in the preopen handler of cd 1 script of the Home stack. Without 
this script inserted, the launch hangs up as I mentioned before. 
With the script, MetaCard launches and all works except that the 
home stack buttons have no icons until clicked.


I have the handler in the first card of the Home stack too, but it 
is a startup handler, not a preOpenCard handler. Try changing your 
handler to startup; that was Mark Waddingham's suggestion. I think 
the tools stack needs to load very early in the process.




Yap, things are as expected with startup handler... I gather the 
verbose instructions should be updated...


Robert
___
metacard mailing list
metacard@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/metacard