Jump to content

Lots of limitations in Macros -- can't automate Copy for example


Recommended Posts

I am trying to get my old Photoshop efficiency in Affinity Photo, and things are going well. But since there's no functionality for Applescript or Javascript automation, the Macro feature becomes super important. Sadly, it just doesn't record what I need to record. I need to set a selection, copy it, paste that copied bitmap, move it over and then crop...but "copy" is not something the Macro can do. Is there any help for me?

For Mac users, you can get around a lot of these limitations with Keyboard Maestro. For example I can get around the limitation of not being able to record Export by setting the filename I need in the clipboard via an Applescript then using UI scripting to export, then paste the filename then hit return.

But I don't think I can get around not being able to copy parts of an image. ^_^;;

Does anyone have any advice for me? 

Screen Shot 2020-12-24 at 16.11.02.jpg

Link to post
Share on other sites

I can create a macro that copies and pastes, the oddity is the copy is not added to the macro steps but paste is making it look like copy hasn't recorded, probably an oversight in the macro script, but even though it looks like it hasn't recorded copy it's still there and the macro runs as it should. (see carl123 response to the strike out text)

 

iMac 27" Late 2015 Fully Loaded, iMac 27" Mid 2011 both running High Sierra 10.13.6 - Affinity Designer/Photo & Publisher - Illustrator CC, Inkscape, Blender, Sketchup, Pepakura Designer, MTC, Pixelmator & Pixelmator Pro + more... XP-Pen Artist-22E, - iPad Pro 12.9 B|  

Affinity Help - Affinity Desktop Tutorials - Feedback - FAQ - most asked questions

Link to post
Share on other sites
46 minutes ago, firstdefence said:

and the macro runs as it should.

Not really, the copy part copy's whatever you copied from the original image when you recorded the macro and stores that in the macro

So, if you replay it on another image it pastes the data copied from the 1st image which is not usually/always what you want it to do

Due to the fact that Boris Johnson is now our Prime Minister, punctuation, spelling and grammar will never be worried about ever again.  We now have far bigger problems to be worried about.

Link to post
Share on other sites
6 minutes ago, carl123 said:

Not really, the copy part copy's whatever you copied from the original image when you recorded the macro and stores that in the macro

So, if you replay it on another image it pastes the data copied from the 1st image which is not usually/always what you want it to do

Thanks for the heads up on that Carl and duly noted.

iMac 27" Late 2015 Fully Loaded, iMac 27" Mid 2011 both running High Sierra 10.13.6 - Affinity Designer/Photo & Publisher - Illustrator CC, Inkscape, Blender, Sketchup, Pepakura Designer, MTC, Pixelmator & Pixelmator Pro + more... XP-Pen Artist-22E, - iPad Pro 12.9 B|  

Affinity Help - Affinity Desktop Tutorials - Feedback - FAQ - most asked questions

Link to post
Share on other sites
  • 4 weeks later...

 

On 12/24/2020 at 7:12 AM, PeterinJapan said:

I need to set a selection, copy it, paste that copied bitmap, move it over and then crop.

Duplicate (Ctrl+J) may do what you want...

Make your selection
Duplicate it (Ctrl+J)
Move it where you want it

Due to the fact that Boris Johnson is now our Prime Minister, punctuation, spelling and grammar will never be worried about ever again.  We now have far bigger problems to be worried about.

Link to post
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

Please note there is currently a delay in replying to some post. See pinned thread in the Questions forum. 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.