How to assign a macro to a wireless keyboard?

Lenovo Silk Keyboard wireless, Windows 10, Lenovo B50-30

Open the Keyboard item in Control Panel.
In Windows 7 or in Windows Vista, click Start, type keyboard in the Start Search box, and then click Keyboard (or Microsoft Keyboard) in the Programs list.
In Windows XP and earlier versions of Windows, click Start, click Run, type Control keyboard, and then click OK.
On the Key Settings tab, select the key that you want to change.
To change the command or the program assignment, click Configure. To change or to assign a macro to the key, click Assign/Manage Macro.
Select the appropriate options, and then follow the instructions.