Jump to content

Recommended Posts

Is it possible to export a single macro after it has been recorded and saved?


Website

Mac mini (2018)  3.2 GHz Intel Core i7  64 GB   Radeon Pro 580 8 GB

Share this post


Link to post
Share on other sites

May I ask what should be here the difference between saving and exporting in terms for later reusage?


☛ Affinity Designer 1.7.1 ◆ Affinity Photo 1.7.1 ◆ OSX El Capitan

Share this post


Link to post
Share on other sites
2 hours ago, TomM1 said:

Is it possible to export a single macro after it has been recorded and saved?

Right-click on the macro in the Library panel and choose Edit Macro. Then in the Macro panel, click the Export icon.


-- Walt

Windows 10 Home, version 1903 (18362.356), 16GB memory, Intel Core i7-6700K @ 4.00Gz, GeForce GTX 970
Affinity Photo 1.7.3.481 and 1.8.0.486 Beta   / Affinity Designer 1.7.3.481 and 1.8.0.486 Beta  / Affinity Publisher 1.7.3.481 and 1.7.3.475 Beta

Share this post


Link to post
Share on other sites
1 hour ago, v_kyr said:

May I ask what should be here the difference between saving and exporting in terms for later reusage?

What I mean by saved, is saved to the library.


Website

Mac mini (2018)  3.2 GHz Intel Core i7  64 GB   Radeon Pro 580 8 GB

Share this post


Link to post
Share on other sites
1 hour ago, v_kyr said:

May I ask what should be here the difference between saving and exporting in terms for later reusage?

My thought: "Saving" is what you do if you want to keep a macro after you've recorded it. You use the "Add to Library" icon in the Macro panel.

Exporting is what you do to transfer it someplace else, or make a backup copy for long-term storage. You could do that to an individual macro (see my response in the prior post) or you can export an entire category of macros via the Library panel.


-- Walt

Windows 10 Home, version 1903 (18362.356), 16GB memory, Intel Core i7-6700K @ 4.00Gz, GeForce GTX 970
Affinity Photo 1.7.3.481 and 1.8.0.486 Beta   / Affinity Designer 1.7.3.481 and 1.8.0.486 Beta  / Affinity Publisher 1.7.3.481 and 1.7.3.475 Beta

Share this post


Link to post
Share on other sites
15 minutes ago, walt.farrell said:

Right-click on the macro in the Library panel and choose Edit Macro. Then in the Macro panel, click the Export icon.

That gives me a .afmacro file. If I change it to .afmacros AF does not recognize it for import.


Website

Mac mini (2018)  3.2 GHz Intel Core i7  64 GB   Radeon Pro 580 8 GB

Share this post


Link to post
Share on other sites
2 minutes ago, TomM1 said:

That gives me a .afmacro file. If I change it to .afmacros AF does recognize it for import.

A single macro must be a .afmacro file. You would import it using the Macro panel.


-- Walt

Windows 10 Home, version 1903 (18362.356), 16GB memory, Intel Core i7-6700K @ 4.00Gz, GeForce GTX 970
Affinity Photo 1.7.3.481 and 1.8.0.486 Beta   / Affinity Designer 1.7.3.481 and 1.8.0.486 Beta  / Affinity Publisher 1.7.3.481 and 1.7.3.475 Beta

Share this post


Link to post
Share on other sites

I am able to export a category containing the macro I want to export.

Import the category, move the desired macro to an existing category .

Then delete the last imported category.


Website

Mac mini (2018)  3.2 GHz Intel Core i7  64 GB   Radeon Pro 580 8 GB

Share this post


Link to post
Share on other sites
11 hours ago, TomM1 said:

That gives me a .afmacro file. If I change it to .afmacros AF does not recognize it for import.

As you probably know by now, the .afmacro & .afmacros file formats are different, so just changing the file extension from one to the other won't work. An .afmacro file always includes only a single uncategorized macro, while an .afmacros file always includes zero* or more macros in a single category.

* If you were wondering, it is possible to create an .afmacros file with zero macros in it, but importing it into the Library does nothing -- no new category is created.


Affinity Photo 1.7.3, Affinity Designer 1.7.3, Affinity Publisher 1.7.3; macOS High Sierra 10.13.6 iMac (27-inch, Late 2012); 2.9GHz i5 CPU; NVIDIA GeForce GTX 660M; 8GB RAM
Affinity Photo 1.7.3.155 & Affinity Designer 1.7.3.1 for iPad; 6th Generation iPad 32 GB; Apple Pencil; iPadOS 13.1.2

Share this post


Link to post
Share on other sites
3 hours ago, R C-R said:

As you probably know by now, the .afmacro & .afmacros file formats are different, so just changing the file extension from one to the other won't work. An .afmacro file always includes only a single uncategorized macro, while an .afmacros file always includes zero* or more macros in a single category.

* If you were wondering, it is possible to create an .afmacros file with zero macros in it, but importing it into the Library does nothing -- no new category is created.

I also thought it was odd that the .afmacro file had no Affinity icon where as the .afmacros file does.


Website

Mac mini (2018)  3.2 GHz Intel Core i7  64 GB   Radeon Pro 580 8 GB

Share this post


Link to post
Share on other sites

afmacro files don't have an associated icon and if they had, it would probably be a good idea to distinguish those icons then visually from the other ones, in order to less irritate users between both of those macro file extensions and their overall usage handling.

macros.jpg.805124b5d9d3a6879ff49a569c1d3e02.jpg


☛ Affinity Designer 1.7.1 ◆ Affinity Photo 1.7.1 ◆ OSX El Capitan

Share this post


Link to post
Share on other sites
6 hours ago, TomM1 said:

I also thought it was odd that the .afmacro file had no Affinity icon where as the .afmacros file does.

I am not sure if something similar applies to Windows but for Macs .afmacros files are assigned an Affinity icon for a good reason: they can be imported into the Library Studio panel simply by double-clicking on them in Finder. This is not true for .afmacro files, which can only be imported into the Macro Studio panel when a document is open.

This also is true for the Affinity Photo customer beta if it is installed -- if it is, right-clicking on an .afmacros file displays both apps in the "Open With" submenu.

This 'binding' of the .afmacros file type to Affinity Photo is created by an entry in the app's info.plist file, which the Mac OS reads so it can assign the app's "PhotoAppIcon" icon & the Kind label of "Affinity Library" to Finder windows, display the appropriate "Open With" items, & so on. It is the same mechanism that allows Finder to associate (bind) various file types like jpg, svg, psd, pdf, & quite a few others to an Affinity app.


Affinity Photo 1.7.3, Affinity Designer 1.7.3, Affinity Publisher 1.7.3; macOS High Sierra 10.13.6 iMac (27-inch, Late 2012); 2.9GHz i5 CPU; NVIDIA GeForce GTX 660M; 8GB RAM
Affinity Photo 1.7.3.155 & Affinity Designer 1.7.3.1 for iPad; 6th Generation iPad 32 GB; Apple Pencil; iPadOS 13.1.2

Share this post


Link to post
Share on other sites

Ok, 

 

I am having an issue with this. I am trying to right click on the macro and it is very hit or miss if anything comes up. On the odd occasion I do get the right click options... such as edit macro etc. When I select Edit macro nothing happens! Is there any other way to export a Macro?

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×

Important Information

These are the Terms of Use you will be asked to agree to if you join the forum. | 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.