I will have some header information, and then fill rows until a page runs out, and then go onto continuation pages.
It seems to make sense to combine each row into a (non-background) group to do this. Call them blocks, A, B, and C, to sit side by side, and perhaps I'll be able to put five rows of blocks on the first page an ten on each additional page.
I'm looking for non-ugly ways to copy them, move them into my output substack, and address them so that I can put output into them.
The only ways I'm seeing to get them onto the card is a repeated sequence of
Code: Select all
select myOutputGroup from card rawStuff of stack printPieces
copy
show stack theOutputStack
paste
set the location of it to nextloc
or to have fixed output pages, the first and followon, where I cut & paste the entire followon page and clear it when I need another.
What I would *like* to do is create a new substack for output, create pages in it, and then have those pages copy the header, and then the ABC block, fill the ABC block, grab the next, etc', until complete (or perhaps I should have an output stack to start with, so that that stack can hold scripts, then let *it* pull the pieces from other substacks? [but I haven't found a way to create a substack rather than a mainstack by code instead of menu operations]). Then the fields of the firstrow would get named A_1, B_1, and C_1, the next A_2, B_2, and C_2, and so forth.
I've googled incessantly and searched forums & lessons, but everything I keep finding is about the location of text in fields, rather than fields, stacks, and the like. I know I knew a lot of this 20 years ago using HyperCard and SuperCard 1.5, but . . .
I'm rambling. Short version: How do I make a new substack myOutput, create and name newcard myOutP1, and copy the fields A, B, and C of card spareParts of stack rawStuff, aligning their upper left at nextX,nextY, and setting their names to A_1, B_1, and C_1? If I can answer that, I think the rest are corollaries.
thanks
hawk
I also can't find a way to change the "current" stack by scripting (or, for that matter,by anything short of running a script inside of it).