How to leave layout mode by button
I've created a print layout where I want to offer the user the possibility to change the letter's content.
To make it a little consistent with other buttons, I've created a button that enters into layout mode.
Using following script the command works:
tell application "Filemaker Pro Advanced" to activate
tell application "System Events" to tell process "Filemaker Pro Advanced"
keystroke "l" using command down
Now I would like to have a similar button to go back to browse mode. But that doesn't seem to work in Layout Mode.... Any suggestions please? Or is my approach wrong and is it possible to make only the text editable for the user?