Duh! Silly question, long day, brain not working

OK, this is probably the most silly question I’ve asked. Sorry!

How do you open the selected document in script?

e.g. instead coz I couldnt remember, I created one action with @Command([OpenDocument];“1”) and then @Command([ToolsRunMacro];“SetField”)

The Setfield macro contains the LS…so what is it I am forgetting e.g. how to do OpenDocfument @Command in LS?

Sorry it’s been a long day, and I’m a little out of practice…

Subject: Duh! Silly question, long day, brain not working

Answer to my own question:Sub Click(Source As Button)

workspace As New NotesUIWorkspace

Call workspace.EditDocument( True )

End Sub