Page 1 of 1

LOCKED TABS - USB Drives

Posted: 29 Jan 2010 15:24
by Mike
Would be useful - I Think- to be able to setup my Locked TABs to remember that i'm using a USB
ie as in other parts of XY I can specify a ? for the Drive Letter
I lock a number of TABS to specific folders which are on my USB .. which is also where I run XY from

Re: LOCKED TABS - USB Drives

Posted: 29 Jan 2010 15:29
by admin
Good idea and technically no problem. I just wonder how to do the GUI. You have to enter your "?" somewhere because XY cannot guess that you want to specifiy the drive portably.

One way would be to generally make the tab locations editable via an input dialog. So I would add another (sigh!) command to menu View | Current Tab named Edit Location... or so.

ADD: Better idea: Replace Copy Location Term by Edit Location.... :idea:

Re: LOCKED TABS - USB Drives

Posted: 29 Jan 2010 18:18
by zer0
admin wrote:So I would add another (sigh!) command to menu View | Current Tab named Edit Location... or so.

ADD: Better idea: Replace Copy Location Term by Edit Location.... :idea:
Is that really necessary? We have "Rename Tab" as a tab's context menu option, so since this is a tab setting one can use that option to specify portability with the "?" symbol.

Re: LOCKED TABS - USB Drives

Posted: 29 Jan 2010 18:38
by j_c_hallgren
zer0 wrote:Is that really necessary? We have "Rename Tab" as a tab's context menu option, so since this is a tab setting one can use that option to specify portability with the "?" symbol.
Maybe I'm off here, but Rename Tab deals with what it shows to user (ie caption), not the actual location which is what OP wanted to change.

Re: LOCKED TABS - USB Drives

Posted: 29 Jan 2010 18:56
by zer0
j_c_hallgren wrote:Maybe I'm off here, but Rename Tab deals with what it shows to user (ie caption), not the actual location which is what OP wanted to change.
True, but what's stopping "?:" at the beginning of the caption be interpreted as a sign of portability and be parsed to show a drive letter if so defined in Config? ;)

Re: LOCKED TABS - USB Drives

Posted: 29 Jan 2010 19:10
by j_c_hallgren
zer0 wrote:
j_c_hallgren wrote:Maybe I'm off here, but Rename Tab deals with what it shows to user (ie caption), not the actual location which is what OP wanted to change.
True, but what's stopping "?:" at the beginning of the caption be interpreted as a sign of portability and be parsed to show a drive letter if so defined in Config? ;)
Well, also (AFAIK) when you invoke "Rename Tab", it gives you a blank entry and not the existing path as a starting point...so if all you wanted to do was chg the drive letter, it would be better to do so via Edit Location which then by default chgs the caption...

Plus, someone may wish to have a fixed custom caption yet define the location to be variable by "?:", right?

Re: LOCKED TABS - USB Drives

Posted: 29 Jan 2010 19:31
by zer0
j_c_hallgren wrote:Well, also (AFAIK) when you invoke "Rename Tab", it gives you a blank entry and not the existing path as a starting point...so if all you wanted to do was chg the drive letter, it would be better to do so via Edit Location which then by default chgs the caption...

Plus, someone may wish to have a fixed custom caption yet define the location to be variable by "?:", right?
To be honest, I don't care that much either way. Since both are in a tab's context menu, replacing "Copy Location Term" with something more relevant is even better.

Re: LOCKED TABS - USB Drives

Posted: 30 Jan 2010 10:31
by admin
I made some tests to support portable locations in tabs which would be really a nice thing to have. And, yes, it can work but needs a long test phase because there are lots of implications. Now is not a good time for this. Please bump me in March.

UPDATE: I found a solution. Will add it after next official release (= soon)... :D

Re: LOCKED TABS - USB Drives

Posted: 22 Jul 2010 18:44
by admin
admin wrote:I made some tests to support portable locations in tabs which would be really a nice thing to have. And, yes, it can work but needs a long test phase because there are lots of implications. Now is not a good time for this. Please bump me in March.

UPDATE: I found a solution. Will add it after next official release (= soon)... :D
Ok, I made some successful tests and it looks as if we get fully portable tabs soon! This means the support of things like %tmp% and <xypath> and ?:\ as tab locations (and stored as such across sessions).

For this we need a way to assign such a location to a tab, an input box like in Rename Tab. This input box will of course default to the current location term.
Now this makes the item "Copy Location Term" (in menu View / Current Tab) very redundant! I tend to remove it. Any objections???

Re: LOCKED TABS - USB Drives

Posted: 22 Jul 2010 19:17
by admin
admin wrote:
admin wrote:I made some tests to support portable locations in tabs which would be really a nice thing to have. And, yes, it can work but needs a long test phase because there are lots of implications. Now is not a good time for this. Please bump me in March.

UPDATE: I found a solution. Will add it after next official release (= soon)... :D
Ok, I made some successful tests and it looks as if we get fully portable tabs soon! This means the support of things like %tmp% and <xypath> and ?:\ as tab locations (and stored as such across sessions).

For this we need a way to assign such a location to a tab, an input box like in Rename Tab. This input box will of course default to the current location term.
Now this makes the item "Copy Location Term" (in menu View / Current Tab) very redundant! I tend to remove it. Any objections???
Ah, hold it! I just saw that "Copy Location Term" copies Location + VF. :roll: So this (it might need a better name) differs from my concept of Location... where you only state the path or anything that can be resolved to a path, but not VFs.