Hi -- I'd like to be able to insert graphics using the lyx server, but I'm not sure whether there are LFUN's that I need. I can do "inset-insert graphics" and dialog-show-new-inset graphics, but I don't know how to specify the name of the file I'd like to insert. e.g. I wish I could do inset-insert graphics file=/home/user/blah.png In general, it'd be great if it were possible to pop up a dialog via the server, with a bunch of options set via extra arguments. e.g: dialog-show-new-inset graphics file=/home/user/blah.png scale-graphics=true scale-graphics-value=80 The point of this is I want to write a shell script that let's me take a screen shot, save it to a file, and automatically insert this file as a graphic into the current lyx buffer.
Thanks, David