Illustrator CC text font of insertion point

This code works fine to change the font of selected text. But let’s assume there is nothing on the document except a single text insertion point. Is there a way to set that insertion point text font?

Thanks in advance,
-Jeff

tell application "Adobe Illustrator"
set sel to selection
set myFont to text font "MyriadPro-Semibold"
set text font of sel to myFont
end tell

Hi,

this works:

Kind regards,

Eric