I am trying to make a button that duplicates my template .docx file and names it to the text in my clipboard. That way I can copy a part number from the BOM and generate the files.
I played with the Copy as and duplicate commands, but can't figure out how to do this.
For now I created a button that just pops up the duplicate window and I can enter paste in the name. This is already significantly easier, but I was also trying to have it open the file after it is created, but because the file is duplicated and the date created and modified was the same I couldn't get that to work. I am now using copy AS, and pasting in the name, this way I could figure out how to select the file afterwards. But I am still not sure how to open it.
I realize this is a pretty trivial button, but I am having more difficulty than I thought figuring it out. I have read parts of the manual, but am still stuck.
What I have:
Copy "Template.docx" AS HERE
Select DATE=created,newest DESELECTNOMATCH
{clip} works great! Thank you! Not sure I didn't find that in the manual. Didn't see it under the clipboard stuff.
{$newfile} seems to ask work to open a new file. I think I need to pass it the name of the file I just created. I tried this but it didn't seem to do anything.