You can cook food far away from ranges using Use-Item-On in Script Factory
For example:
At Camelot bank, run this in script factory with a inventory full of raw lobsters: Use-item-on(378,2728,62) Sleep(500) Click-xy(253,425,1) Click-xy(253,425,0) Sleep(15000)