For this particular case, that is an alright alternative - however, it is not as good as goto: because it will not work as well for files as goto. However, I have asked myself this question with many FAR shell commands that I like to execute programmatically, a generic solution would be best.
Have you seen other "Panel functions" in supplied standard manual, it has "getItem", "selectItem"?
In general, i think, FAR gives you visual representation. with abstractions of all kinds of "panel/panleItem", representing all possible objects
If you want to work with that obkjects directly - no problem,you have all API to do that, and you have ability to extend that as well
Probably i misunderstood you however, becaucse i am not totally clear about what you mean
Again, if you need visual representation - you may work with it, if you need real underlying objects - you handle it as well.
Покайтесь, ибо приблизилось Царство Небесное.
Приготовьте путь Господу, прямыми сделайте стези Ему.