which version of macOS?

the code is not allowed in Terminal on Mojave;

osascript is not allowed to send keystrokes (1002)

https://www.reddit.com/r/MacOS/comments/9lwlsv/script_editor_not_allowed_to_send_keystrokes/

on top of that, to grant automation to 4D, you must have a specific key 
info.plist and --deep --sign the app again.

c.f. https://github.com/miyako/4d-utility-build-application

also, you need to be in application mode, because the edit menu in design mode 
does not have that menu item.

finally, the keyboard shortcut does not seem to work, even manually (I had to 
click the menu item)

I am not sure it is possible to invoke the palette this way.


**********************************************************************
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**********************************************************************

Reply via email to