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

Macro playback gets ahead of itself


Recommended Posts

I have created a macro to wrap an image around a bottle. This works very well. One option is to alter the viewpoint above or below the horizontal. If you wish to use this option,  you need to expand the canvas above and below the image first to make room. Within the macro, you adjust the perspective by altering a slider in the b (or Perspective) parameter The wraparound action also shrinks the image horizontally, so that you end up with transparent areas at the sides. I thought that it would be an idea to clip these using Document > Clip Canvas, .so I added this step to the macro. Unfortunately, the macro applies the Clip Canvas before the user has a chance to alter the sliders, after which the sliders are unresponsive.

Note: I would have liked to incorporate the Document > Resize Canvas. command into the macro, but, as seems to be well-known,  the dimensions get baked into the macro, so I have not attempted this.

John

 

Windows 10, Affinity Photo 1.10.5 Designer 1.10.5 and Publisher 1.10.5 (mainly Photo), now ex-Adobe CC

CPU: AMD A6-3670. RAM: 16 GB DDR3 @ 666MHz, Graphics: 2047MB NVIDIA GeForce GT 630

Link to comment
Share on other sites

On 6/2/2020 at 10:11 AM, John Rostron said:

after which the sliders are unresponsive

It is my understanding that if you have any user variables in a macro (e.g. the slider) every time you alter the slider the steps in the macro after that are then recalculated (i.e. rerun) from where you changed the variable/slider.

If so, it would mean that every time you move the slider the clip canvas has effectively not been run at that point in time and will run after you release the slider

This appear to be the case when I run your macro (with clip canvas added) so I'm not quite sure why you say the "sliders are unresponsive" for you.

 

To save time I am currently using an automated AI to reply to some posts on this forum. If any of "my" posts are wrong or appear to be total b*ll*cks they are the ones generated by the AI. If correct they were probably mine. I apologise for any mistakes made by my AI - I'm sure it will improve with time.

Link to comment
Share on other sites

  • Staff
On 6/4/2020 at 5:54 AM, carl123 said:

If so, it would mean that every time you move the slider the clip canvas has effectively not been run at that point in time and will run after you release the slider

That's correct. And I see the same behaviour as you see @carl123. My sliders are still working as expected

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.