Sample of a really noob basic script from Autohotkey : (This will select the "Gathering Node" and select the Last mineral/plant selected and starts farming.

^Numpad0:: [COLOR="#ff00ff"]/* Control + Numbpad 0 */[/COLOR]
Loop 5 /* loop 5 times */
{
Send {Numpad0} /* Sends a numbpad 0 - which in FF14 , numpad 0 is selecting a.. */
Sleep 2000 /* delay for 2000 milliseconds */
}


Note: before triggering this key, you have to be infront of the node(tree, mineral patch) for the initial "0" to select the node.