Set the fill of a note to an external image

even less code will do - the problem with the update of $Fill I had when using the agents is gone - so this does the job:

if($File=="" & $FileIsModified==false) {
  $FileIsModified=true;
  $Fill="";
} else {
  if($File!="" & $FileIsModified==true) {
    $ImageFileName=$File.replace(".*\/(.+)","$1");
    $ImageName=$ImageFileName.replace("\.\w+$","");
    $Fill(original)=$PathFillImages("/pPreferences")+$ImageName;
    $FileIsModified=false;
  }
}

PersonsExternalImages2.tbx (1.1 MB)