Page 1 of 1

"Repeat Last Command"

Posted: 17 Feb 2011 19:35
by aurumdigitus
Does there exist in the XY labyrinth a simple "Repeat Last Command"? Searching Help turned up a Repeat Last Search but that was it.

If not can it be achieved via a script?

Re: "Repeat Last Command"

Posted: 17 Feb 2011 19:46
by admin
2 x No I'm afraid.

Re: "Repeat Last Command"

Posted: 17 Feb 2011 19:57
by aurumdigitus
How about if the "Does there exist..." underwent a metamorphosis to "Could there exist..." :wink:

Re: "Repeat Last Command"

Posted: 17 Feb 2011 20:55
by admin
aurumdigitus wrote:How about if the "Does there exist..." underwent a metamorphosis to "Could there exist..." :wink:
3rd No. :|

Re: "Repeat Last Command"

Posted: 17 Feb 2011 21:31
by aurumdigitus
Am I alone in the wilderness in thinking this to be a useful adjunct to the functionality? :o

Re: "Repeat Last Command"

Posted: 17 Feb 2011 21:34
by admin
aurumdigitus wrote:Am I alone in the wilderness in thinking this to be a useful adjunct to the functionality? :o
No, I think so too. But it would be an incredible work. The current architecture does not like it.

Repeat Last Script -- that would be easy to do...

Re: "Repeat Last Command"

Posted: 18 Feb 2011 13:49
by aurumdigitus
admin wrote:Repeat Last Script -- that would be easy to do...
As Pres. Lyndon Johnson was fond of saying, "Come let us reason together". Given the great scheme of the universe Repeat Last Script would be an admirable compromise with one proviso that being it is triggered by a toolbar button.

Re: "Repeat Last Command"

Posted: 18 Feb 2011 14:08
by TheQwerty
Technically you could achieve this via a script for a large number of commands, but only if you execute those commands from the (or a similar) script in the first place.

So if you're talking about commands from the main menu you could essentially replace the main menu with a script that displays most of the same commands, and when you execute one, store its command ID/script name for later use.

You would however lose some of the logic of the main menu (grayed out/checked items), since you'd need to duplicate the menu (instead of calling XY's submenu ids) to track the individual item ids.

Not pretty or particularly easy, but possible. Of course if you only wanted the ability to repeat some commands as opposed to any command, then it becomes quite a bit easier.

Re: "Repeat Last Command"

Posted: 18 Feb 2011 15:37
by aurumdigitus
TheQwerty wrote:Technically you could achieve this via a script for a large number of commands, but only if you execute those commands from the (or a similar) script in the first place.
Will mediate on you suggestion. By dint of hard work (and some trial and error) have cobbled together a number of UDC's and UB's that carry out actions essential to my work style. But what you propose sounds rather intimadating although it might be quite a learning experience.