Besides certain events/missions, why would you ever want to ranged attack as a ranger? I was under the assumption that melee dps is like 70% more DPS then ranged dps. And those events/missions are really situational, where you could just play the ranger manually or create a seperate custom INI file for KA to run you ranger in ranged mode.
Create 2 hotkeys
/mac kissassist ini rangedmode_ranger.ini
/mac kissassist ini meleemode_ranger.ini
Fix your settings for each mode, there you go.. but I would strongly advise against playing a ranger in ranged mode, their supposed to be some pretty sick dps class in melee mode.