AnsweredAssumed Answered

How to leave layout mode by button

Question asked by StefanSaeys on Dec 31, 2014
Latest reply on Dec 31, 2014 by Mark_M


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
delay 0.1
tell application "System Events" to tell process "Filemaker Pro Advanced"
    keystroke "l" using command down
end tell

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?