Jump to content

Recommended Posts

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


Website

iMac Retina 5K 27 inch Late 2105, 3.2-i5, 32 GB Memory, AMD Radeon M380 2048 MB

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.6.1 ◆ Affinity Photo 1.6.7 ◆ 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 1809, 16GB memory, Intel Core i7-6700K @ 4.00Gz, GeForce GTX 970
Affinity Photo 1.6.5.123 and 1.7.0.293 Beta       / Affinity Designer 1.6..5.123 and 1.7.0.293 Beta    / Affinity Publisher 1.7.0.293 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

iMac Retina 5K 27 inch Late 2105, 3.2-i5, 32 GB Memory, AMD Radeon M380 2048 MB

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 1809, 16GB memory, Intel Core i7-6700K @ 4.00Gz, GeForce GTX 970
Affinity Photo 1.6.5.123 and 1.7.0.293 Beta       / Affinity Designer 1.6..5.123 and 1.7.0.293 Beta    / Affinity Publisher 1.7.0.293 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

iMac Retina 5K 27 inch Late 2105, 3.2-i5, 32 GB Memory, AMD Radeon M380 2048 MB

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 1809, 16GB memory, Intel Core i7-6700K @ 4.00Gz, GeForce GTX 970
Affinity Photo 1.6.5.123 and 1.7.0.293 Beta       / Affinity Designer 1.6..5.123 and 1.7.0.293 Beta    / Affinity Publisher 1.7.0.293 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

iMac Retina 5K 27 inch Late 2105, 3.2-i5, 32 GB Memory, AMD Radeon M380 2048 MB

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.6.7 & Affinity Designer 1.6.1; macOS High Sierra 10.13.6 iMac (27-inch, Late 2012); 2.9GHz i5 CPU; NVIDIA GeForce GTX 660M; 8GB RAM
Affinity Photo 1.6.11.85 & Affinity Designer 1.6..4.45 for iPad; 6th Generation iPad 32 GB; Apple Pencil; iOS 12.1.1

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

iMac Retina 5K 27 inch Late 2105, 3.2-i5, 32 GB Memory, AMD Radeon M380 2048 MB

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.6.1 ◆ Affinity Photo 1.6.7 ◆ 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.6.7 & Affinity Designer 1.6.1; macOS High Sierra 10.13.6 iMac (27-inch, Late 2012); 2.9GHz i5 CPU; NVIDIA GeForce GTX 660M; 8GB RAM
Affinity Photo 1.6.11.85 & Affinity Designer 1.6..4.45 for iPad; 6th Generation iPad 32 GB; Apple Pencil; iOS 12.1.1

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

×