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?
"Repeat Last Command"
-
admin
- Site Admin
- Posts: 66361
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
-
aurumdigitus
- Posts: 1075
- Joined: 30 May 2008 21:02
- Location: Lake Erie
Re: "Repeat Last Command"
How about if the "Does there exist..." underwent a metamorphosis to "Could there exist..." 
-
admin
- Site Admin
- Posts: 66361
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: "Repeat Last Command"
3rd No.aurumdigitus wrote:How about if the "Does there exist..." underwent a metamorphosis to "Could there exist..."
FAQ | XY News RSS | XY X
-
aurumdigitus
- Posts: 1075
- Joined: 30 May 2008 21:02
- Location: Lake Erie
Re: "Repeat Last Command"
Am I alone in the wilderness in thinking this to be a useful adjunct to the functionality? 
-
admin
- Site Admin
- Posts: 66361
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: "Repeat Last Command"
No, I think so too. But it would be an incredible work. The current architecture does not like it.aurumdigitus wrote:Am I alone in the wilderness in thinking this to be a useful adjunct to the functionality?
Repeat Last Script -- that would be easy to do...
FAQ | XY News RSS | XY X
-
aurumdigitus
- Posts: 1075
- Joined: 30 May 2008 21:02
- Location: Lake Erie
Re: "Repeat Last Command"
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.admin wrote:Repeat Last Script -- that would be easy to do...
-
TheQwerty
- Posts: 4373
- Joined: 03 Aug 2007 22:30
Re: "Repeat Last Command"
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.
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"
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.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.
XYplorer Beta Club