topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Thursday March 28, 2024, 7:55 pm
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Author Topic: Opening Templates/Using Templates  (Read 3935 times)

pratty

  • Participant
  • Joined in 2006
  • *
  • default avatar
  • Posts: 2
    • View Profile
    • Donate to Member
Opening Templates/Using Templates
« on: January 27, 2013, 10:48 AM »
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

  • Charter Honorary Member
  • Joined in 2005
  • ***
  • Points: 45
  • Posts: 3,411
    • View Profile
    • Donate to Member
Re: Opening Templates/Using Templates
« Reply #1 on: January 27, 2013, 12:00 PM »
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

  • Charter Honorary Member
  • Joined in 2005
  • ***
  • Points: 45
  • Posts: 3,411
    • View Profile
    • Donate to Member
Re: Opening Templates/Using Templates
« Reply #2 on: January 27, 2013, 06:45 PM »
https://help.libreof...ware_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

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,896
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: Opening Templates/Using Templates
« Reply #3 on: January 27, 2013, 09:55 PM »
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

  • Participant
  • Joined in 2006
  • *
  • default avatar
  • Posts: 2
    • View Profile
    • Donate to Member
Re: Opening Templates/Using Templates
« Reply #4 on: January 28, 2013, 02:27 AM »
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!