title: Open file with app as duplicate
body: <p>The idea is that I have a template of a file that needs to be opened but it should behave as if only the contents of the file were opened instead of the file itself.</p>
  
  <p>The difference for the user should be, that he needs to select a place to save the file to instead of just overwriting the file that was opened.</p>
  
  <p>Similar behaviour can be seen in the Preview app. When duplicating a function Preview will open the same file in a new window. Upon saving the file the user needs to specify where to save it to.</p>
  
  <p>As far as I can see <code>NSWorkspace</code> does not support such behaviour out of the box. Does anybody know a workaround for that? I'd appreciate it!</p>
  
  <h1>EDIT</h1>
  
  <p>In my case I don't know where the user wants to save the file to when he or she is done with it. Currently I am only copying the file to a hidden folder in the user's home directory and then I open the copy so that the original file can not be overwritten.</p>
  
  <p>The resulting behaviour is:
  - the user does not see where the file is located
  - upon saving and closing the application that the file was edited in the user will not find the file ever again.</p>
  
  <p><strong>Workaround</strong>: I guess for now I will ask the user where she wants to save it before opening it, which seems kind of redundant to me as it could very well be, that she will not want to save it. Hopefully I will find a better solution soon.</p>