hi,
i'm asking myself, if it is simple to implement and would be considered as useful from you all.
i use tc on a portable harddrive on several computers.
i often use save tabs on both sides to file (and resp. load tabs...).
i save the files "always" to the desktop or to the C:\temp dir.
therefore, i have stored TabDir=%TEMP% or TabDir=%$DESKTOP% in wincmd.ini
which opens the correct dir for saving.
if tc has saved the tab-file, it changes the TabDir= from i.e. TabDir=%TEMP% to TabDir=D:\temp or TabDir=%$DESKTOP% to TabDir=c:\dokumente und einstellungen\usernameXYZ\desktop (or some other username)
which is a little bit anoying for me, because if i use tc on another computer, the path saved in TabDir= now doesnt point to the "correct" dir anymore.
so i have to correct the path by hand, which is not much stress, but can be a hassle and a waste of time anyway. tc then stores the new path again, which will not the "correct" path on the next computer on the next save. and so on.
now, my which/idea is this:
a)
if tc recognize, if the path it will save, is a path which is stored in a variable used by tc itself, it will replace the path automaticly with the corresponding variable,
or
b)
the user can "fixate" his place to save anyhow.
example to a)
if tc recognizes that the saved path is C:\temp, which is (assumed by me) the same as %TEMP%, then it uses %TEMP% to store the path in TabDir=.
if tc recognizes that the saved path is C:\dokumente und einstellungen\foousername\desktop, which is the same as $%desktop%, then it uses $%desktop% to store the path in TabDir=.
and so on :-)
must be not so hard to implement, i think.
what do you think?
cheers
[req] desktop dir variable in tabdir in wincmd.ini
Moderators: Hacker, petermad, Stefan2, white
[req] desktop dir variable in tabdir in wincmd.ini
Was nützt der Löffel für die Weisheit, wenn man zu weit vom Suppentopf entfernt sitzt?
Mario
Mario
use RedirectSection to a separate file, and make the separate file read-only:versalzen wrote:b)
the user can "fixate" his place to save anyhow.
Code: Select all
//wincmd.ini, writable
[Configuration]
...
RedirectSection=separate.ini
...
//separate.ini, read-only
TabDir=%TEMP%
aNDreas Bolotă
The truth always carries the ambiguity of the words used to express it. (Frank Herbert, God Emperor of Dune)
The truth always carries the ambiguity of the words used to express it. (Frank Herbert, God Emperor of Dune)
thanks for the fast idea, but this will "lock" all the settings which are stored in [Configuration], not only TabDir=ND wrote:use RedirectSection to a separate file, and make the separate file read-only:versalzen wrote:b)
the user can "fixate" his place to save anyhow.Code: Select all
//wincmd.ini, writable [Configuration] ... RedirectSection=separate.ini ... //separate.ini, read-only TabDir=%TEMP%
so it won't help, but will produce more problems. =)
Was nützt der Löffel für die Weisheit, wenn man zu weit vom Suppentopf entfernt sitzt?
Mario
Mario
I had thought that what's before RedirectSection would not be locked, but I just made some tests and you're right: the entire section becomes read-only.versalzen wrote:thanks for the fast idea, but this will "lock" all the settings which are stored in [Configuration], not only TabDir=
so it won't help, but will produce more problems. =)
aNDreas Bolotă
The truth always carries the ambiguity of the words used to express it. (Frank Herbert, God Emperor of Dune)
The truth always carries the ambiguity of the words used to express it. (Frank Herbert, God Emperor of Dune)
i will support the request for locking specific settings, if anyone has the currage to request it :-> not me. :)ND wrote:I had thought that what's before RedirectSection would not be locked, but I just made some tests and you're right: the entire section becomes read-only.versalzen wrote:thanks for the fast idea, but this will "lock" all the settings which are stored in [Configuration], not only TabDir= so it won't help, but will produce more problems. =)
maybe some other an idea?
Was nützt der Löffel für die Weisheit, wenn man zu weit vom Suppentopf entfernt sitzt?
Mario
Mario