Placing and removing Groups with 3.0

Joe Lewis Wilkins pepetoo at cox.net
Mon Sep 22 18:42:11 EDT 2008


Hi Gang,

I'm having no success placing a group or removing a group using the  
place and remove commands from the msg box. Going to each blankety- 
blank card and choosing the menu items does work, however, but no  
command key equivalents and a card at a time. Tedious. Would have been  
better had I created the btn group for the Windows Menu, as Dan Shafer  
suggests in his book, at the start, but I just wasn't ready at that  
time. Shucks! But I should be able to write a multi-line msg that  
automates the process. But this is what I get:

from:

repeat with tCd = 2 to 57  -- I created the group on care 1
   go cd tCd -- I know I shouldn't have to go to each cd, but I wanted  
to see the action
   remove group "CBMenuBar"
end repeat

and this is the response I got:

Script compile error:
Error description: Chunk: missing chunk

Similar with the place group command.

The menu items do work; just slow and no command keys to speed things  
up.

TIA,

Joe Wilkins






More information about the use-livecode mailing list