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

Setting default colours with keyboard.


Recommended Posts

When AP opens a new document the colours always default to White Foreground & Black Background. In the keyboard shortcuts is the possibility to set Fill & Outline to black and white but this is not the same thing as Foreground or Background. When the keyboard shortcut is invoked the top circle in the colour selector is always set to white regardless of whether it is foreground or background. You will always get black and white foreground and background but which is which is a lottery dependent entirely upon the relative foreground background status of the colour circles in the colour selector at the time the shortcut is invoked.  So my question is can anybody think of a cunning wheeze or workaround to use the keyboard to set Foreground and Background to Black and White in a consistent manner such that one is always black and the other is always white?

It's got me stumped ......... :/
 

Link to comment
Share on other sites

Set

23 minutes ago, DavidMac said:

So my question is can anybody think of a cunning wheeze or workaround to use the keyboard to set Foreground and Background to Black and White in a consistent manner such that one is always black and the other is always white?


 

 

 Set it the way you want then go Edit > Defaults > Save.

 

Works for me :)

 

You can press X to swap them (foreground / background), if it doesn't work for you.

Windows PCs. Photo and Designer, latest non-beta versions.

Link to comment
Share on other sites

Thank you for your replies but I think either I haven't expressed my question clearly or I haven't understood your answers.

I am well aware of the method for setting shortcuts in Properties>Misc that HVDB has shown above. This was my starting point. My difficulty is that this sets Fill which is not the same thing as Foreground or Background

Let me try and explain more clearly.

 

The attached image shows two examples of a palette before and after invoking the keyboard shortcut to reset fill to White. The same shortcut you have shown above. This always sets the top circle to White.

If you look at the top two palettes you will see that before invoking the keyboard shortcut the top red circle is foreground. This does not change - so after invoking the shortcut the foreground colour is set to White.

If you look at the lower two palettes you will see that before invoking the shortcut the top red circle is now background. Once again this does does not change - so after invoking the same shortcut the foreground colour is now set to Black.

Setting fill White with the shortcut functions does not change or set foreground/background status - simply sets the top circle to white regardless of its foreground background status.

This is not what I want to do. I want a keyboard shortcut that will consistently set foreground to black (or white) in the same way every time. 

 

I have looked at Edit > Save Defaults but, unless I am mistaken, it saves Fill/Outline status not, as far as I can see, Foreground/Background status.

Which unless I am being very obtuse takes me back to my original question. Any suggestions to set Foreground with a shortcut as opposed to setting Fill colour?

 

Thanks for your input so far.

 

David Mac

 

Colours.jpg.68e91fb6065ece6d54cd548502e25d3a.jpg
 

Link to comment
Share on other sites

"Any suggestions to set Foreground with a shortcut as opposed to setting Fill colour?"

 

I seem to be missing something here. Defaults does not seem to remember foreground/background focus status, as you say (colors only) but X will set it, or swap it.

 

X swaps the focus from foreground to background, or vice versa,, is that not what you want ? i.e. if white is foreground but black (background) is in focus and painting, press x and white

(foreground) becomes in focus and painting.

 

blackfocus.jpg.04033ea4b71517c5960f9291db7ea69f.jpg

Black in focus (painting)

 

Press X and white is in focus (painting)

 

pressx.jpg.d000f8f4f4ab8d0bb3ff4805c22087ab.jpg

 

Shift X swaps the wells

 

shiftx.jpg.5f2afe9282f94dd09a75f781e4602d0a.jpg

 

Sorry if that is not what you mean.

Windows PCs. Photo and Designer, latest non-beta versions.

Link to comment
Share on other sites

Hi Toltec

 

I am well aware of the X key to swap colours. I know perfectly well how to set Black as a foreground colour. These are the starting points I have been trying to develop from. But these only get half way there.

 

At present the best I can do is invoke the set fill white shortcut (D on my AP) which will always set the top colour well to white.

 

I can then look at the wells. If the top is background then fine - my foreground colour will have been set black.

 

If the top is foreground then hit X and the secondary black will become the foreground colour.

 

That's fine ......... :)

 

.......... but not really what I was looking for ........ :(

 

............  what I am really looking for is a keyboard shortcut(s) that will set Foreground or Primary colour to Black consistently every time from any pre-existing colour or foreground/background state without having to inspect and decide whether to hit X. 

Sorry it's very difficult to explain ........ :/

Link to comment
Share on other sites

24 minutes ago, DavidMac said:

Sorry it's very difficult to explain ........ :/

 

Not at all, David. I think you've explained it perfectly well!

 

Sadly, I don't see any way to set up a single shortcut to achieve what you've described.

 

Alfred spacer.png
Affinity Designer/Photo/Publisher 2 for Windows • Windows 10 Home/Pro
Affinity Designer/Photo/Publisher 2 for iPad • iPadOS 17.4.1 (iPad 7th gen)

Link to comment
Share on other sites

 

4 minutes ago, Alfred said:

 

Not at all, David. I think you've explained it perfectly well!

 

Sadly, I don't see any way to set up a single shortcut to achieve what you've described.

 

 

I use an external I/O mapper which allows me to assign a short macro of several key presses to a single key. So I'd settle for a short string of multiple AP shortcuts if that would work ........ I had hoped to achieve this with a combination of the D, X and Shift X shortcuts ........ but I can't find one ......... :(

Link to comment
Share on other sites

You can possibly do what you want using AP macros

But you cant as yet assign a shortcut to a macro so not sure if that will be of any use to 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

 

1 hour ago, carl123 said:

You can possibly do what you want using AP macros

But you cant as yet assign a shortcut to a macro so not sure if that will be of any use to you

 

Yes I am sure a macro could be made to do this but as you so rightly point out they can't be assigned to shortcuts. Such a pity. Short cut assigned macros would be so marvellous for so many things. I asked for this when they were first introduced. Fingers crossed it will happen one day. 

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.