Janko Hauser writes: > > return context.objectIds().index('standard_html_header') > > > > Beware that this is not guaranteed to result always the same index, as > objectIds is something like dict.keys(). The order of the elements in a > mapping > is not fixed. "objectIds" (and friends) does not come from a dict but from a tuple, at least for the standard folders... Dieter