[JW Lua] Clicking OK in a Finale dialog window ?

Jan Angermüller jan at angermueller.com
Sun Nov 13 22:20:57 CET 2016


Jari et al,

when I open a Finale dialog with FCUI:MenuPositionCommand, is it 
technically possible to close the same dialog by faking an "OK" click 
through a JW Lua command ?
I could handle it with AutoHotKey externally, but a simple OK click 
through JW Lua on the top Finale dialog would be a great feature.

Something like:
...
finenv.UI():MenuPositionCommand(8,1,-1)
finenv.UI():ForceOKClick()  --performs the action from the opened dialog 
to the current document
...

Best,
Jan

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://jwmusic.nu/pipermail/jwlua_jwmusic.nu/attachments/20161113/5a478cd3/attachment.html>


More information about the JWLua mailing list