Am 22.10.2009 16:40, schrieb Luiz Capitulino: > On Wed, 21 Oct 2009 19:35:03 +0100 > Jamie Lokier <ja...@shareable.org> wrote: >> If the monitor accepted ";" as a command separator, to put multiple >> commands on a single line, <command_list> could just be a quoted >> string which is processed as a line. > > Why is ";" needed?
How else would you specify multiple commands for one macro? >> >> - add_key key <key> <command-string> >> - remove_key <key> <command-string> >> - list_keys > > What's key? Some kind of key binding. If we allowed all keys, it would probably make sense to use the sendkeys style format, but I assume we'll only support ctrl-alt-<letter> which already has a special meaning. > Ah, it doesn't have macro_del and if we use QObjects we can > consider saving its json representation in file so that we can > have macro_load. You are thinking about having this to avoid typing in the macro each time you start a VM? For something the user might want to touch I'd prefer a simple solution like reading ~/.qemurc or something like that and executing it as a "monitor script". Kevin