ATTENTION: You are viewing a page formatted for mobile devices; to view the full web page, click HERE.

DonationCoder.com Software > Find And Run Robot

Opening Templates/Using Templates

(1/1)

pratty:
I use FARR all the time to open almost everything I open (because I find it brilliant), but am hitting problems with templates.  Is there a way to make templates create a new document when selected in FARR (i.e. the default action in windows explorer).  Currently FARR opens the template for editing (like the 'open' command on the shell context menu.  I am using libreoffice, but I don't think that is relevant.

Josh:
Are you talking about document templates in Libreoffice? If so, then the program name is completely relevant as you have to understand the switches for how the program opens files.

Josh:
https://help.libreoffice.org/Common/Starting_the_Software_With_Parameters

swriter -n TEMPLATE.FILEEXT (Opens a new file based off TEMPLATE.FILEEXT)
swriter -o TEMPLATE.FILEEXT (Opens the Template for editing)

So yes, this is completely relevant to how LibreOffice handles command line switches since most programs treat argv[1] as the file to open without any other switches specified.

mouser:
Interesting.. i think what pratty is saying is that when you click on a document, FARR always launches it with the "open" command.. but it seems that these "template" documents have been created with a different default shell action..  FARR should probably be made to respect that if it's not already..

Could you try something for me?

Go to the "Launching Files" tab of FARR options, and uncheck "Use file launch helper utility" and see if that helps -- if not leave it unchecked and try the different Launch Methods.. see if any help?

pratty:
Yes, the problem is that it is not respecting the default shell action.

I have now tried the four different combinations of launching methods and method 1 in combination with the file launch utility worked (new document opened).

Thank you.

I have been overwriting templates at a rate of knots!

Navigation

[0] Message Index

Go to full version