Just select (So you control) a party member other than the main character (Or you'll affect yourself.) and it should increase affection to 100, the "1" can be set to anything and it'll still work it's just easy to type.

After being typed once (Resets when exiting the game.) the up and down arrow keys and then enter can be used to quickly assign other party members with more (Or less?) affection "points"