I’ve been working on a new procedure to move a file to a new location. The location of the source file path is extracted from a field. Using choosefiledialog to get the destination folder and filerename to get it there.
It works as far as putting a copy of the file in the chosen file, but a copy of the original file remains in the original folder.
lvFileName=«CLIPPATH» //file to be moved with full path
choosefiledialog lvFolderName,“Folders”,true() //choose where you want the file moved to.
//parse out new file name// lvNewName=lvFolderName+"/"+array(lvFileName,-1,"/")
filerename lvFileName,lvNewName