okay, now I'm up to speed. CS1 apparently allowed me to "make section" over the top of an existing section. CS3 is not so soft. that very helpful "can't make class selection" error message was trying to tell me that there was already a section start in place and if I wanted to make changes I needed to access the "applied section properties".
I don't need to change existing sections, I'm just making the spreads movable without losing page numbers (don't ask). my solution was to run through and compare the section start to the page itself. if they matched, the script just moves on and doesn't worry about creating a start. here's the code, if anyone's interested. feel free to critique my methods.
(* begin script *)
set thisSpread to object reference of spread i of myDoc
set thePages to object reference of every page of thisSpread
set thisPage to object reference of page 1 of thisSpread
set thisSect to applied section of thisPage
set sectStart to page start of thisSect
-- if there's already a section start, then don't worry about it
if sectStart is not thisPage then
-- gather the necessary info
end if
-- does the second page of a spread need/have a start
if number of items in thePages is not 1 then
set nextPage to object reference of page 2 of thisSpread
set nextSect to applied section of nextPage
set nextStart to page start of nextSect
if nextSect is not equal to thisSect then
if nextStart is not nextPage then
-- gather info
end if
end if
end if
-- check the findings above and apply sections if needed
if sectStart is not thisPage then
set thisSection to make section with properties {page start:thisPage, page number start:pgNumber, name:sectName, page number style:numStyle, continue numbering:false, marker:sectMarker, include section prefix:showPrefix}
end if
if (count of pages) is greater than 2 then
if nextSect is not equal to thisSect then
if nextStart is not nextPage then
set nextSection to make section with properties {page start:nextPage, page number start:nxtPgNumber, name:nxtSectName, page number style:nxtNumStyle, continue numbering:false, marker:nxtSectMarker, include section prefix:nxtShowPrefix}
end if
end if
end if
(* end script *)
ps: why can't we use the 'code' tag to make this stuff look right? am I missing something.