Home | Blog | Software | Reviews and Features | Forum | Help | Donate | About us
topbanner_forum
  *

avatar image

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

Login with username, password and session length
  • December 07, 2016, 12:13:16 PM
  • Proudly celebrating 10 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 1818 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:56 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: -5
  • Posts: 3,395
    • View Profile
    • Donate to Member
Re: Opening Templates/Using Templates
« Reply #1 on: January 27, 2013, 12:00:01 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: -5
  • Posts: 3,395
    • View Profile
    • Donate to Member
Re: Opening Templates/Using Templates
« Reply #2 on: January 27, 2013, 06:45:23 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: 36,408
    • 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:39 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:23 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!