Using Items per Script call

Hi, i want to use a Item which is selected by the Select Item menu.
more specifically, I want to apply an item to an actor outside of my team, and for that I seem to need script calls. The problem is, I can't find the script calls needed for this. no matter what I do, the effect is not applied even if the item is consumed. currently my script looks like this:

$gameActors.actor(2).useItem($dataItems[$gameVariables.value(10)]);
var target = $gameActors.actor(2);
var action = new Game_Action($gameActors.actor(1));
action.setItemObject($dataItems[$gameVariables.value(10)]);
action.apply(target);
action.applyGlobal();

I experimented very much, but i just dont find anything useful. not even the RPG maker MV Script call list does provide the needed calls.

Original thread: https://forums.rpgmakerweb.com/threads/using-items-per-script-call.148905/