Jump to content
You must now use your email address to sign in [click for more info] ×

Double-clicking a Publisher template file opens Photo instead


Recommended Posts

I understand that each Affinity app can save a template file with a .aftemplate extension, and that the templates can be opened in any of the suite applications. But to avoid confusion, why not give each app a unique template extension so it'll open in the correct application? Then if you want to open a Publisher template in Designer, you can simply open it from inside Designer.

Link to comment
Share on other sites

15 hours ago, Chris Christner said:

But to avoid confusion, why not give each app a unique template extension so it'll open in the correct application?

You can make this resolution of the templates yourself. Rename the *.aftemplate files to *.pubtemplate, *.phototemplate, *.designtemplate, and set the OS association of extensions to individual APu/ APh/ ADe applications. When saving a template from Afinity, you only need to enter a name including the correct extension.

Affinity Store (MSI/EXE): Affinity Suite (ADe, APh, APu) 2.4.0.2301
Dell OptiPlex 7060, i5-8500 3.00 GHz, 16 GB, Intel UHD Graphics 630, Dell P2417H 1920 x 1080, Windows 11 Pro, Version 23H2, Build 22631.3155.
Dell Latitude E5570, i5-6440HQ 2.60 GHz, 8 GB, Intel HD Graphics 530, 1920 x 1080, Windows 11 Pro, Version 23H2, Build 22631.3155.
Intel NUC5PGYH, Pentium N3700 2.40 GHz, 8 GB, Intel HD Graphics, EIZO EV2456 1920 x 1200, Windows 10 Pro, Version 21H1, Build 19043.2130.

Link to comment
Share on other sites

8 hours ago, Pšenda said:

You can make this resolution of the templates yourself. Rename the *.aftemplate files to *.pubtemplate, *.phototemplate, *.designtemplate, and set the OS association of extensions to individual APu/ APh/ ADe applications. When saving a template from Afinity, you only need to enter a name including the correct extension.

That will allow you to distinguish them, and will allow double-clicking on them in File Explorer or Finder to open the right application.

However:

  1. If you use File > New, and then click on Templates, the files will not appear in the dialog as a usable template.
  2. If you Open one from File Explorer or Finder, you lose the protection you have with a proper .aftemplate file of it showing up as unnamed. What that means is that if you forget to "enter a name including the correct extension" but instead just use File > Save, or respond Yes to the "do you want to save" dialog when closing the application, you will overwrite your template.

In my opinion it is better to set up separate folders for Photo, Designer, and Publisher templates. Or distinguish them via the file name. Then configure the template folders appropriately for each application, such that when you click on Template in File > New for Photo you get the Photo templates, And in Designer you get the Designer templates, and in Publisher you get the Publisher templates.

That way you take full advantage of the template capabilities provided by the applications, including the protection aspects of templates.

-- Walt
Designer, Photo, and Publisher V1 and V2 at latest retail and beta releases
PC:
    Desktop:  Windows 11 Pro, version 23H2, 64GB memory, AMD Ryzen 9 5900 12-Core @ 3.00 GHz, NVIDIA GeForce RTX 3090 

    Laptop:  Windows 11 Pro, version 23H2, 32GB memory, Intel Core i7-10750H @ 2.60GHz, Intel UHD Graphics Comet Lake GT2 and NVIDIA GeForce RTX 3070 Laptop GPU.
iPad:  iPad Pro M1, 12.9": iPadOS 17.4.1, Apple Pencil 2, Magic Keyboard 
Mac:  2023 M2 MacBook Air 15", 16GB memory, macOS Sonoma 14.4.1

Link to comment
Share on other sites

3 hours ago, walt.farrell said:

That will allow you to distinguish them, and will allow double-clicking on them in File Explorer or Finder to open the right application.

Yes, it does exactly "what" the OP requires. If you don't understand, read the topic title "Double-clicking a Publisher template file opens Photo instead".

Affinity Store (MSI/EXE): Affinity Suite (ADe, APh, APu) 2.4.0.2301
Dell OptiPlex 7060, i5-8500 3.00 GHz, 16 GB, Intel UHD Graphics 630, Dell P2417H 1920 x 1080, Windows 11 Pro, Version 23H2, Build 22631.3155.
Dell Latitude E5570, i5-6440HQ 2.60 GHz, 8 GB, Intel HD Graphics 530, 1920 x 1080, Windows 11 Pro, Version 23H2, Build 22631.3155.
Intel NUC5PGYH, Pentium N3700 2.40 GHz, 8 GB, Intel HD Graphics, EIZO EV2456 1920 x 1200, Windows 10 Pro, Version 21H1, Build 19043.2130.

Link to comment
Share on other sites

17 minutes ago, Pšenda said:

Yes, it does exactly "what" the OP requires. If you don't understand, read the topic title "Double-clicking a Publisher template file opens Photo instead".

Yes, but it does not open it as a template file. It opens it as a regular document.

If you're going to open as a regular document, there's no reason to use a template file at all. Just use a .afdesign, .afphoto, or .afpub file. One uses templates to gain the advantages that a template file has:

  1. It shows up in the Template listing in the File > New dialog; and
  2. It opens up protected, so that if you happen to Save you don't destroy it.

-- Walt
Designer, Photo, and Publisher V1 and V2 at latest retail and beta releases
PC:
    Desktop:  Windows 11 Pro, version 23H2, 64GB memory, AMD Ryzen 9 5900 12-Core @ 3.00 GHz, NVIDIA GeForce RTX 3090 

    Laptop:  Windows 11 Pro, version 23H2, 32GB memory, Intel Core i7-10750H @ 2.60GHz, Intel UHD Graphics Comet Lake GT2 and NVIDIA GeForce RTX 3070 Laptop GPU.
iPad:  iPad Pro M1, 12.9": iPadOS 17.4.1, Apple Pencil 2, Magic Keyboard 
Mac:  2023 M2 MacBook Air 15", 16GB memory, macOS Sonoma 14.4.1

Link to comment
Share on other sites

On 4/28/2021 at 6:19 PM, walt.farrell said:

Yes, but it does not open it as a template file. It opens it as a regular document.

If you're going to open as a regular document, there's no reason to use a template file at all. Just use a .afdesign, .afphoto, or .afpub file. One uses templates to gain the advantages that a template file has:

  1. It shows up in the Template listing in the File > New dialog; and
  2. It opens up protected, so that if you happen to Save you don't destroy it.

The workaround on a Mac is to select the template files that have custom extensions and do a get info, then click the "Stationary Pad" button. Opening the docs will create a new file with all the content of the template but the template can't be overwritten. Don't know if Windows has a similar setting.

Link to comment
Share on other sites

1 hour ago, Chris Christner said:

Don't know if Windows has a similar setting.

It does not.

Closest thing is setting the file's properties to Read-Only.

-- Walt
Designer, Photo, and Publisher V1 and V2 at latest retail and beta releases
PC:
    Desktop:  Windows 11 Pro, version 23H2, 64GB memory, AMD Ryzen 9 5900 12-Core @ 3.00 GHz, NVIDIA GeForce RTX 3090 

    Laptop:  Windows 11 Pro, version 23H2, 32GB memory, Intel Core i7-10750H @ 2.60GHz, Intel UHD Graphics Comet Lake GT2 and NVIDIA GeForce RTX 3070 Laptop GPU.
iPad:  iPad Pro M1, 12.9": iPadOS 17.4.1, Apple Pencil 2, Magic Keyboard 
Mac:  2023 M2 MacBook Air 15", 16GB memory, macOS Sonoma 14.4.1

Link to comment
Share on other sites

On 4/28/2021 at 8:09 PM, walt.farrell said:

In my opinion it is better to set up separate folders for Photo, Designer, and Publisher templates. Or distinguish them via the file name. Then configure the template folders appropriately for each application, such that when you click on Template in File > New for Photo you get the Photo templates, And in Designer you get the Designer templates, and in Publisher you get the Publisher templates.

Sorry to find this laughable, but we talked about those problems when the template files were added. There are really interesting discussions in this forum, but they barely reach the apps unless it's about annoying bug… Ha hem, perhaps not even those, sometimes.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.