[Feature request] Shift+F7 task
Moderators: Hacker, petermad, Stefan2, white
[Feature request] Shift+F7 task
Possible Shift+F7 task:
"Create a new dir and copy (move=Ctrl+Shift+F7; unpack=Alt+Shift+F7) the selected files to the new dir".
(Prompting before operating, as usual).
The prompted new dir name could be composed by some extensions of the selected files.
(At least for "copy" and "move". For "unpack"?).
Examples:
If s1.mp3, s2.mp3,..., sn.mp3 are selected, then the prompted new dir name is "Mp3".
If text1.txt, text2.txt, log1.log are selected, then the prompted new dir name is "Txt-Log".
Complete examples:
Example1:
I select list1.txt, car.bmp, house.bmp, dog.bmp, list2.txt, directory1, directory2.
I press Shift+F7
Prompt:
Do you want copy the selected files to the following new directory?
=====Bmp-Txt-Dirs..........................========
Example2:
I select doc.zip (or it is under cursor)
I press Alt+Shift+F7
Prompt:
Do you want unpack doc.zip to the following new directory?
=====Unpacked-doczip............========
After all, why do you want a new dir if you don't want to copy, move or unpack any files into it?
Friendly,
totfun
"Create a new dir and copy (move=Ctrl+Shift+F7; unpack=Alt+Shift+F7) the selected files to the new dir".
(Prompting before operating, as usual).
The prompted new dir name could be composed by some extensions of the selected files.
(At least for "copy" and "move". For "unpack"?).
Examples:
If s1.mp3, s2.mp3,..., sn.mp3 are selected, then the prompted new dir name is "Mp3".
If text1.txt, text2.txt, log1.log are selected, then the prompted new dir name is "Txt-Log".
Complete examples:
Example1:
I select list1.txt, car.bmp, house.bmp, dog.bmp, list2.txt, directory1, directory2.
I press Shift+F7
Prompt:
Do you want copy the selected files to the following new directory?
=====Bmp-Txt-Dirs..........................========
Example2:
I select doc.zip (or it is under cursor)
I press Alt+Shift+F7
Prompt:
Do you want unpack doc.zip to the following new directory?
=====Unpacked-doczip............========
After all, why do you want a new dir if you don't want to copy, move or unpack any files into it?
Friendly,
totfun
Last edited by totfun on 2003-12-13, 21:52 UTC, edited 1 time in total.
Hello Valman!Valman wrote:hmmm interesting task.
Would something like that be possible via DOS scripting?
like
for /f "delims=" %%f in (%L) do move "%%f" «addsomething here»?
is there a variable which we could use?
I'll try that way, though I'm not an expert in DOS scripting and I'm not a programmer. Sometime I have made some batch files or I have used Autoit for automating (for example) some tasks inside TC. Now I'm just starting to use Aeazy TC script editor. Do you want try it too?
Anyway, I proposed the feature not because I had a special need but only for adding a little thing in the standard TC environment.
Yes it is (at least I image it so...). Like F7 prompt. Dir is created where F7 would create it. Maybe, to avoid confusion, (proposed) Shift+F7 should work only if the selected files are in the same dir (panel) where you want to create the new dir.K8 wrote:Is it an editable prompt?=====Bmp-Txt-Dirs..........................========
Where can i find Aeazy TC script editor???totfun wrote:Hello Valman!
I'll try that way, though I'm not an expert in DOS scripting and I'm not a programmer. Sometime I have made some batch files or I have used Autoit for automating (for example) some tasks inside TC. Now I'm just starting to use Aeazy TC script editor. Do you want try it too?
Anyway, I proposed the feature not because I had a special need but only for adding a little thing in the standard TC environment.
You can find it reading this http://www.ghisler.ch/board/viewtopic.php?t=2499&start=0Valman wrote:Where can i find Aeazy TC script editor???
I have not yet tested it with /run option.
After downloading, look in scripts folder for some examples.
What kind of confusion may occur if you choose files to copy in the source directory and press shift-f7 in the other panel?totfun wrote:Yes it is (at least I image it so...). Like F7 prompt. Dir is created where F7 would create it. Maybe, to avoid confusion, (proposed) Shift+F7 should work only if the selected files are in the same dir (panel) where you want to create the new dir.
Hello everyone
I looked over this function in TC, because I needed it.
First of all I thought that exists and I didn't found it, but it looks like it's not there.
Maybe it is easier to put this feature in the copy message box and add/replace the default message text with something like "newDir\*.*".
In this way the file(s) could be copied on the target directory (if initial text -partially- remains) or in the current directory.
I tried in this way and it isn't working.
I looked over this function in TC, because I needed it.
First of all I thought that exists and I didn't found it, but it looks like it's not there.
Maybe it is easier to put this feature in the copy message box and add/replace the default message text with something like "newDir\*.*".
In this way the file(s) could be copied on the target directory (if initial text -partially- remains) or in the current directory.
I tried in this way and it isn't working.