% % process the ven/sht directory for incoming png files % % find a png that is beyond the current mark % % stack: src-dir latest-png-file % 0 !counter { % % stack: [ . . . ] cam-dir seed % "*.png" !wilder nextfile ? "^%^%^%" log)( % % create the xact folder for the incoming image % *camrincm % % stack: image-incom-data % % add the venue/shooter info for shooter snaps % % also applies to incoming MMS, these values % are derived from incoming message text, % combined with the implied venue attribute of their Twilio number % this is why it was placed in the incoming ven/shoot folder originally % "Shooter.Venue" sval "Shooter.Number" sval dup _Xact text ofcur write % % full description of incoming file saved % "incoming" text!xact /* % % update the incoming marker, prevents % images from repeating through incoming % empty "Camera.Latest" sval "Xact.Last" sval "_camera_" chuuter & text!conn */ +counter 3 gt ? } loop