Page 2 of 3
Re: Improvements to Tabsets
Posted: 12 Jan 2012 13:54
by Steel
@ Borut
Many thanks I was able to create your button with the script and seems to work fine.
One thing that seems to be missing is the info pop-up that tells me what Tabset is in use.
I do get that from the original Tabset button but I'd rather have only one to avoid confusion.
Is it something you can add easily to your script please?
I did read the help file on scripting but I just don't go after the first example.
I have no clue how to write all that gibberish to make buttons do stuff.
And in line with being a bit dense I did try the beta.
Just to be sure we now have "Revert to Saved" right?
It means that if I wonder away from the established tabs in Tabset 01 this will bring me back to the established tabs: correct?
This seems to happen with my experimenting.
So I can avoid the Open As now?
My workaround has been to set a Home to all the tabs in established tabsets so i could always go back to what i had established although doing for each tab singularly is a bit annoying.
Thanks
Re: Improvements to Tabsets
Posted: 12 Jan 2012 14:24
by admin
Steel wrote:Just to be sure we now have "Revert to Saved" right?
It means that if I wonder away from the established tabs in Tabset 01 this will bring me back to the established tabs: correct?
This seems to happen with my experimenting.
So I can avoid the Open As now?
Yes, that was the idea.

Re: Improvements to Tabsets
Posted: 12 Jan 2012 15:19
by Marco
admin wrote:Yes, that was the idea.

However Open As... will still exist, right?
Re: Improvements to Tabsets
Posted: 12 Jan 2012 15:33
by admin
Marco wrote:admin wrote:Yes, that was the idea.

However Open As... will still exist, right?
Sure, what you see in the current BETA is what you get. From my POV I have no immediate plans to change aynthing. I'm done.
Re: Improvements to Tabsets
Posted: 12 Jan 2012 15:36
by admin
Borut wrote:Thank you Don!! I was not expecting your move in this direction. Upon the first look, it seems to work as expected, but I shall be testing it intensely in the next days (have saved all my tabsets first

).
Here is a Steel's wish, which I do not think has been implemented (I was hoping for that too, although there is a script solution):
It would also be nice to have a dropdown menu with existing Tabsets names in the Save As window cause I have created many Tabsets but don't remember by heart all their names.
(Also in Save Copy As, please.)
Here is my wish, which I also do not think has been implemented:
Tabset dialogs to remember their position and size.
I would say that both of these wishes are a "very nice to have".
Well, for now I'm done with Tabsets. I keep these wishes in the back of my mind.
Re: Improvements to Tabsets
Posted: 12 Jan 2012 15:43
by Steel
admin wrote:Borut wrote:Thank you Don!! I was not expecting your move in this direction. Upon the first look, it seems to work as expected, but I shall be testing it intensely in the next days (have saved all my tabsets first

).
Here is a Steel's wish, which I do not think has been implemented (I was hoping for that too, although there is a script solution):
It would also be nice to have a dropdown menu with existing Tabsets names in the Save As window cause I have created many Tabsets but don't remember by heart all their names.
(Also in Save Copy As, please.)
Here is my wish, which I also do not think has been implemented:
Tabset dialogs to remember their position and size.
I would say that both of these wishes are a "very nice to have".
Well, for now I'm done with Tabsets. I keep these wishes in the back of my mind.
Wow I understood cool!
Anyway I wish my suggestion would have been implemented (the dropdown name list): Borut how do I implement this with a script?
Did you create it?
Thanks
Re: Improvements to Tabsets
Posted: 12 Jan 2012 16:28
by Borut
Steel wrote:Anyway I wish my suggestion would have been implemented (the dropdown name list): Borut how do I implement this with a script? Did you create it? Thanks
Yes, it is already there in my previously published scripts set in this thread. Here the quote from there:
Code: Select all
"Save Copy As... : savecopyas"
setting "BackgroundFileOps", 0;
global $TabsetBase;
perm $TabsetBase;
$TabsetList=listfolder("$TabsetBase", "*", 4, "|");
$TabsetList="Save Copy As New Tabset...;new:|-|" . $TabsetList;
$SaveAsName=popupmenu("$TabsetList");
if ($SaveAsName=="new:") {
tabset("savecopyas");
}
elseif ($SaveAsName=="") {
status "Save copy as cancelled.", "FF0000";
}
else {
delete 0, 0, "$TabsetBase" . "\" . "$SaveAsName";
tabset("savecopyas", "$SaveAsName");
};
BUT, this was all for the versions before v10.70.0205! Although it still works for the later versions, one is loosing some good features of the v10.70.0205-concept (for instance the ability to display the name of the currently loaded tabset in the XYplorer's window title). So, I plan to adapt these things to the new situation. Also, I shall try to support easily changeable tabset base folders and at the same time not loosing the portability features (which is now the case in this current set of scripts). Although some of these things are already working at my place

it will take some time for it to ripe and be substantially tested under the real world conditions. If I am happy with the result, I'll probably publish something in the "Script Exchange" area (where the script gurus will no doubt be able to make it still better).
Re: Improvements to Tabsets
Posted: 13 Jan 2012 17:07
by Steel
Borut wrote:Steel wrote:Anyway I wish my suggestion would have been implemented (the dropdown name list): Borut how do I implement this with a script? Did you create it? Thanks
Yes, it is already there in my previously published scripts set in this thread.
I think I followed your instructions but i cannot get any dropdown window when I try to Save a Tabset
Borut wrote:BUT, this was all for the versions before v10.70.0205! Although it still works for the later versions, one is loosing some good features of the v10.70.0205-concept (for instance the ability to display the name of the currently loaded tabset in the XYplorer's window title).
How do you display the name of the currently loaded tabset in the XYplorer's window title?
I cannot find the option anywhere.
Borut wrote:So, I plan to adapt these things to the new situation. Also, I shall try to support easily changeable tabset base folders and at the same time not loosing the portability features (which is now the case in this current set of scripts). Although some of these things are already working at my place

it will take some time for it to ripe and be substantially tested under the real world conditions. If I am happy with the result, I'll probably publish something in the "Script Exchange" area (where the script gurus will no doubt be able to make it still better).
I will keep an eye on the scripts'forum
Many thanks
Re: Improvements to Tabsets
Posted: 13 Jan 2012 17:09
by Steel
Another suggestion I would have is the possibility to append Tabsets to the currently opened ones.
Re: Improvements to Tabsets
Posted: 13 Jan 2012 20:34
by Borut
Steel wrote:I think I followed your instructions but i cannot get any dropdown window when I try to Save a Tabset
It is working here: a pop up menu should appear. The prerequisite is that you previously use the script "Set Tabsets Folder" and set the tabsets folder to where your tabsets are (default is <xydata>\Panes).
Steel wrote:How do you display the name of the currently loaded tabset in the XYplorer's window title? I cannot find the option anywhere.
Look in
Configuration|Templates|Titlebar. There you can use (among other things) <tabset1> and <tabset2>.
Re: Improvements to Tabsets
Posted: 14 Jan 2012 20:30
by admin
2 questions to the tabset users:
1.
Does anybody use/need the command
Tabsets | Go to Tabsets Folder?
I wonder if the more interesting command would be
Tabsets | Go to Tabset[no "s"] Folder, which would go the folder of the current tabset of the active pane.
2.
Tabset '1' is already open in the active pane.
Would you like to make and load a clone?
Is that still needed?
Maybe the following prompt would be better now:
Tabset '1' is already open in the active pane.
Would you like to revert to saved?
Re: Improvements to Tabsets
Posted: 14 Jan 2012 23:51
by Borut
admin wrote:1. Does anybody use/need the command Tabsets | Go to Tabsets Folder?
I am using a scripted equivalent, not your built in command. Since tabsets in a tabsets folder can be easily manipulated on a file system level, I find it handy being able to be positioned there easily. However, since your approach does not enforce the concept of "tabsets (base) folder" (other then a default one) - which is probably the prime reason why I am using my scripts - then it might really be better to be able to go easily to a particular tabset's folder, since one level up is it's base folder, so to speak.
admin wrote:2.
Tabset '1' is already open in the active pane. Would you like to make and load a clone?
Is that still needed?
I think that it is not.
admin wrote:Maybe the following prompt would be better now:
Tabset '1' is already open in the active pane. Would you like to revert to saved?
Yes.
Re: Improvements to Tabsets
Posted: 15 Jan 2012 16:44
by eil
@Don
from my point of view both approaches are good, so answers are positive.
Re: Improvements to Tabsets
Posted: 16 Jan 2012 10:33
by admin
Thanks for the answers.
I finally decided to keep the "Make a clone?" thing. "Revert to Saved" is available anyway, so it offers another option that's not easily reachable in other ways.
However, I will remove the "as:" syntax from the tabsets MRU list. Only the loaded tabsets will be listed, not the sources.
Re: Improvements to Tabsets
Posted: 16 Jan 2012 14:14
by Steel
Borut wrote:Steel wrote:I think I followed your instructions but i cannot get any dropdown window when I try to Save a Tabset
It is working here: a pop up menu should appear. The prerequisite is that you previously use the script "Set Tabsets Folder" and set the tabsets folder to where your tabsets are (default is <xydata>\Panes).
Steel wrote:How do you display the name of the currently loaded tabset in the XYplorer's window title? I cannot find the option anywhere.
Look in
Configuration|Templates|Titlebar. There you can use (among other things) <tabset1> and <tabset2>.
Thanks I managed to do both things.
I hadn't set the Tabstes' folder cause I thought it would use the default location.
I am lost on new changes so I will wait to see them in place.
Thanks