Naming Picture

Discussions about CSEntry
Post Reply
RERII
Posts: 56
Joined: March 4th, 2015, 11:34 am

Naming Picture

Post by RERII »

Is there a way to give the picture a name you want? Like if I had household 23 structure 1 is there a way to name the picture 23-1.jpg, please let me know. I'm trying to win a project using CSPro. Thanks in advance to whoever assists with this.
Gregory Martin
Posts: 1796
Joined: December 5th, 2011, 11:27 pm
Location: Washington, DC

Re: Naming Picture

Post by Gregory Martin »

You pass the filename you want to the execsystem call, so you can write something like this:
execsystem(maketext("camera:%spicture %02d-%d.jpg",pathname(application),HOUSEHOLD,STRUCTURE));
RERII
Posts: 56
Joined: March 4th, 2015, 11:34 am

Re: Naming Picture

Post by RERII »

Thanks so much bro I really appreciate the help I'll try it later. could I do the same for the .dat files? my .pnc file is not working so I'm trying to see if i can just have the enumerators email the files but, so can I just rename the .dat files from the device names or phone id that way I can have the enumerators all put the files in the same folder. I thinkI can do this using the PFF file but I wouldn't know how to begin.
Post Reply