/* Consequential changes to options */
if (o_mode & mf_analyse) {
- if (!o_outmode_kind)
- o_outmode_kind= (o_flags & ff_printisland) ? omk_none : omk_str;
+ if (!o_outmode_kind) {
+ if (o_flags & ff_printisland) {
+ o_outmode_kind= omk_none;
+ o_flags |= ff_singlepage;
+ } else {
+ o_outmode_kind= omk_str;
+ }
+ }
if (o_outmode_kind==omk_upload) {
o_flags |= ffs_upload;
if (!ocean) ocean= o_ocean;
if (!pirate) pirate= o_pirate;
- if (o_flags & ff_needisland) {
+ if (o_flags & ff_needisland)
if (!ocean)
badusage("need --ocean option when replaying images"
" (consider supplying --pirate too)");
+ if (ocean)
sysassert(! setenv("YPPSC_OCEAN",ocean,1) );
- }
if (pirate && (o_flags & ff_dict_pirate))
sysassert(! setenv("YPPSC_PIRATE",pirate,1) );
open_screenshot_file("w");
if (o_flags & ff_singlepage) take_one_screenshot();
else take_screenshots();
+ progress_log("OK for you to move the mouse now.");
}
if (o_mode & mf_readscreenshot) {
open_screenshot_file("r");