"Repeat Last Command"

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
aurumdigitus
Posts: 1075
Joined: 30 May 2008 21:02
Location: Lake Erie

"Repeat Last Command"

Post 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?

admin
Site Admin
Posts: 66361
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: "Repeat Last Command"

Post by admin »

2 x No I'm afraid.

aurumdigitus
Posts: 1075
Joined: 30 May 2008 21:02
Location: Lake Erie

Re: "Repeat Last Command"

Post by aurumdigitus »

How about if the "Does there exist..." underwent a metamorphosis to "Could there exist..." :wink:

admin
Site Admin
Posts: 66361
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: "Repeat Last Command"

Post by admin »

aurumdigitus wrote:How about if the "Does there exist..." underwent a metamorphosis to "Could there exist..." :wink:
3rd No. :|

aurumdigitus
Posts: 1075
Joined: 30 May 2008 21:02
Location: Lake Erie

Re: "Repeat Last Command"

Post by aurumdigitus »

Am I alone in the wilderness in thinking this to be a useful adjunct to the functionality? :o

admin
Site Admin
Posts: 66361
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: "Repeat Last Command"

Post 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...

aurumdigitus
Posts: 1075
Joined: 30 May 2008 21:02
Location: Lake Erie

Re: "Repeat Last Command"

Post 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.

TheQwerty
Posts: 4373
Joined: 03 Aug 2007 22:30

Re: "Repeat Last Command"

Post 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.

aurumdigitus
Posts: 1075
Joined: 30 May 2008 21:02
Location: Lake Erie

Re: "Repeat Last Command"

Post 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.

Post Reply