[comp.sys.mac.hypercard] Do Menu sometimes not recognized

cosmo-rt@cosmo.UUCP (CosmoNet / Herr Tress) (12/06/88)

I am using a MAC II System 6.0 with HC 1.2.

Somtimes, i did not noticed when and why till now,I have two
problems with The Menubar.

1. Choosing Background "@B" results no reaction ?

2. In a script like this ..
   choose browse tool
   domenu "Copy Card"
   domenu "Paste Card"
   ....

the mesage :"unable to find menu item Paste Card " occurs.?

Notice : in both cases it won't work only somtimes !


Does everybody has an explanation ?? 

Please let me know.

Raymond Tress , Hannover West Germany
cosmo-rt@cosmo.UUCP

thomas@gmdzi.UUCP (Thomas Gordon) (12/07/88)

From article <2697@cosmo.UUCP>, by cosmo-rt@cosmo.UUCP (CosmoNet / Herr Tress):
> 
> 2. In a script like this ..
>    choose browse tool
>    domenu "Copy Card"
>    domenu "Paste Card"
>    ....
> 


I notice that you are posting from Germany.  Are you using the
German version of Hypercard?  If so, scripts must use the German
names of the menu items.  This is an interesting problem.  On
the one hand, it is nice that Hypercard is so international, that
there are versions of Hypercard in different languages.  On the
other hand, scripts written for the English version of Hypercard
are unlikely to work with a version of Hypercard for another 
language!  Any solutions?


-- 
Thomas F. Gordon		email: thomas@gmdxps.uucp
GMD / F3			phone: (+49 2241) 14-2665
Schloss Birlinghoven
D-5205 Sankt Augustin 1, FRG

mlloyd@maths.tcd.ie (Michael Lloyd) (12/12/88)

I recognize this problem (I`m sure I`m not the only one, either!)

This problem with DoMenu "Paste Card" has a simple explanantion.
Open any stack.
Select `Copy Card` from the Edit menu.
THEN - hold down shift and pull down that Edit menu again.
You see where it should say `Paste Card` - it doesn`t.
It says `Paste Picture` - hence the problem.

If you are holding the shift key down when a DoMenu "Paste Card" is
done, Hypercard reports the error `Can`t find menu item Paste Card`.

I may have discovered what causes this error, but getting around it
nicely I find rather more tricky.  The solution I use is:
   DoMenu "Copy Card"
   if the shiftkey is down then
      answer "Please do not hold the Shift Key down"
   else
      DoMenu "Paste Card"
      blah blah (on with the script)
   end if

It`s not very neat, and I don`t like it, but it works.

Any better ideas would be appreciated.

Mike Lloyd.