Moving on from here I’m confused as to why Note and MessageOK give different results when they should be displaying the same string!
[IButton, “What document?”, “Extracts document name”,
[VarSet, currentZDoc, [FileNameExtract, [FileNameGetLastUsed], 2]]
[VarSet, currentZDocPath, [FileNameGetLastUsed]]
[Note, ,currentZDocPath, 2]
[MessageOK, currentZDocPath]
]// EoF
Cheers