Hello to all hope the year is going good.
I am at a standstill. I want to take a picture during the interview, then have the picture go to a specific folder
"execsystem(maketext("camera:%s%s",pathname(application), y));"
Can you please help me revise the code so I can send the picture to a specific folder and also name the picture after a variable?
Picture path
Forum rules
New release: CSPro 8.0
New release: CSPro 8.0
Re: Picture path
Make sure the directory your saving the photo to exists.
string relativePath = "../my-folder/";
string photoName = "photo-name.jpg";
// Directory must exist
dircreate(pathname(Application) + relativePath);
execsystem("camera:" + pathname(Application) + relativePath + photoName);
string photoName = "photo-name.jpg";
// Directory must exist
dircreate(pathname(Application) + relativePath);
execsystem("camera:" + pathname(Application) + relativePath + photoName);