To whom this may concern,

I am running LyX 2.2.0 on Windows 10.

I want to create a shortcut in LyX that pastes, saves, and formats an image
in LyX. I have a created a command-sequence that can do the "formatting"
part, but I can't figure out how to paste *and* save the image. If I use
the "paste" command, it asks me to save the image (choose a name). I want
to use the default name, that is, "paste%the number of images in the save
directory with the name paste%".

Here is the command sequence that does the formatting I want:

command-sequence float-insert figure; char-backward; char-backward;
char-backward; inset-modify figure placement H wide false sideways false;
char-forward; down; paragraph-params-apply \noindent \align center;
inset-apply graphics scale 50 lyxscale 50; char-backward;char-backward;
char-backward

Cheers,
-- 
-* Jonathan Horton*

Reply via email to