Assign keyboard shortcut to non-standard highlight color?
Assign keyboard shortcut to non-standard highlight color?
Is there a way to assign a keyboard shortcut to the color "Tangerine"? I already have shortcuts assigned to the regularly listed colors:
Last edited by NisusUser on 2024-02-19 12:49:59, edited 1 time in total.
Re: Assign keyboard shortcut to non-standard highlight color?
G'day, Eric et al
Create a Macro with the following commands and assign it a Keyboard Shortcut:–
Cheers,
Adrian
Create a Macro with the following commands and assign it a Keyboard Shortcut:–
Code: Select all
$tangerine = Color.newWithHexTriplet 'FF9300'
Set Text Color $tangerine
Adrian
MacBook Pro (M1 Pro, 2021)
macOS Ventura
Nisus Writer user since 1996
macOS Ventura
Nisus Writer user since 1996
Re: Assign keyboard shortcut to non-standard highlight color?
Thank you, Adrian. I did that. And it works – in a way. It actually changed the text color to tangerine, though, not the highlight behind the text. How do I do that?adryan wrote: ↑2024-02-19 12:28:07Code: Select all
$tangerine = Color.newWithHexTriplet 'FF9300' Set Text Color $tangerine
Eric
EDIT: Oh, that was easy: All I had to do was change the word "Text" to "Highlight" in the macro (without the quotation marks, of course).
Re: Assign keyboard shortcut to non-standard highlight color?
G'day, Eric et al
Sorry, I missed that it was the highlight coloring you wanted.
For those interested, the options are:–
Set Text Color
Set Background Color
Set Highlight Color
Set Underline Color
Set Strikethrough Color
Cheers,
Adrian
Sorry, I missed that it was the highlight coloring you wanted.
For those interested, the options are:–
Set Text Color
Set Background Color
Set Highlight Color
Set Underline Color
Set Strikethrough Color
Cheers,
Adrian
MacBook Pro (M1 Pro, 2021)
macOS Ventura
Nisus Writer user since 1996
macOS Ventura
Nisus Writer user since 1996
Re: Assign keyboard shortcut to non-standard highlight color?
@Adryan (aka Adrian),
I started to ask you to share with me how you got the Hex code for the Tangerine color. I had been looking at the CMYK slider and did not see any Hex Color Number. But after I uploaded my screenshot, which I did of the RGB slider I saw that the "Hex Color #" is there.
So … I'm just posting this so I can remember how to do this. (I decided to add yet another highlighting color.)
No responses necessary… I'm merely using the Nisus forum as a knowledge repository.
I started to ask you to share with me how you got the Hex code for the Tangerine color. I had been looking at the CMYK slider and did not see any Hex Color Number. But after I uploaded my screenshot, which I did of the RGB slider I saw that the "Hex Color #" is there.
So … I'm just posting this so I can remember how to do this. (I decided to add yet another highlighting color.)
No responses necessary… I'm merely using the Nisus forum as a knowledge repository.
Re: Assign keyboard shortcut to non-standard highlight color?
G'day, Eric et al
FFD700 star, Eric!
It might be as well to remind/inform people also of the Digital Color Meter application in the Utilities folder. This allows you to get color code values for any color displayed on your screen, without having to extract the information from a screenshot.
Cheers,
Adrian
FFD700 star, Eric!
It might be as well to remind/inform people also of the Digital Color Meter application in the Utilities folder. This allows you to get color code values for any color displayed on your screen, without having to extract the information from a screenshot.
Cheers,
Adrian
MacBook Pro (M1 Pro, 2021)
macOS Ventura
Nisus Writer user since 1996
macOS Ventura
Nisus Writer user since 1996