August 14, 2025 at 9:00 am #30391
Participant
That brings still the error on Line 2: “;” awaited
But adding an explicit >>#language =”VBScript”<< on the first line, let the script work.
#language ="VBScript"
document.selection.StartOfDocument
editor.ExecuteCommandByID 4472 ' no csv
editor.ExecuteCommandByID 3889 ' Vertical Selection
document.selection.Text = document.FullName + " "
document.selection.Collapse()
HTH?