Page 1 of 1

Place a group on all cards

Posted: Fri Jun 05, 2015 4:15 am
by rumplestiltskin
I have a stack with 1000 cards. When I created the stack, I grouped a number of fields and labels, set the "Shared Group" and "Behave like a background" checkboxes to true and then replicated the cards. Those fields and labels appeared on all the new cards. So far, so good. However, I realized I needed a set of buttons on all the cards (same set of functionality). How do I do this? I can't seem to select the "Place" command (it's disabled). Am I just missing the command in a menu somewhere? Do I need to script this in some manner? (Place group "PrevNext" on every card of this stack, etc.?)

Thanks,
Barry

Re: Place a group on all cards

Posted: Fri Jun 05, 2015 5:02 am
by rumplestiltskin
Well, I fooled around a bit and came up with a button script that apparently did the job:

Code: Select all

on mouseUp
   repeat with i = 1 to the number of cards
      if there is a group "PrevNext" on card i then
         -- do nothing
      else
         place group "PrevNext" onto card i
      end if
      put "Card "& i -- Just so I see progress while it's working
   end repeat
end mouseUp
I guess I thought there'd be one menu item that would just accomplish this but I always am looking for the do what I mean button. :D

Barry

Re: Place a group on all cards

Posted: Fri Jun 05, 2015 11:54 am
by Klaus
Hi Barry,

no automatism or menu item in the IDE for this, your script is the way to go! :D


Best

Klaus