I'm modifying a document and saving those changes to one drive folder. now i want to create a copy of that document into local folder. I want to get it done using AppleScript. I use finder app for creating copy from one folder to another folder if document exists in local folder.
Here is the sample code which creates copy in local folder:
tell application "Finder" to duplicate sourcefile to destinationfolder with replacing
Here the document exists in one-drive folder and i want to create a temporary copy into local folder. Is there anyway to do it via finder app or shell scripts?
Please ignore this question. I found the solution. We can use Save as and create a copy of the document into local folder