[Feature request] Shift+F7 task

English support forum

Moderators: Hacker, petermad, Stefan2, white

Post Reply
User avatar
totfun
Junior Member
Junior Member
Posts: 67
Joined: 2003-03-11, 07:13 UTC

[Feature request] Shift+F7 task

Post by *totfun »

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
Last edited by totfun on 2003-12-13, 21:52 UTC, edited 1 time in total.
Valman
Junior Member
Junior Member
Posts: 60
Joined: 2003-09-12, 12:43 UTC

Post by *Valman »

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?
User avatar
totfun
Junior Member
Junior Member
Posts: 67
Joined: 2003-03-11, 07:13 UTC

Post by *totfun »

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?
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.
K8
Junior Member
Junior Member
Posts: 12
Joined: 2003-12-13, 13:28 UTC

Post by *K8 »

=====Bmp-Txt-Dirs..........................========
Is it an editable prompt?
User avatar
totfun
Junior Member
Junior Member
Posts: 67
Joined: 2003-03-11, 07:13 UTC

Post by *totfun »

K8 wrote:
=====Bmp-Txt-Dirs..........................========
Is it an editable prompt?
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.
Valman
Junior Member
Junior Member
Posts: 60
Joined: 2003-09-12, 12:43 UTC

Post by *Valman »

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.
Where can i find Aeazy TC script editor???
User avatar
totfun
Junior Member
Junior Member
Posts: 67
Joined: 2003-03-11, 07:13 UTC

Post by *totfun »

Valman wrote:Where can i find Aeazy TC script editor???
You can find it reading this http://www.ghisler.ch/board/viewtopic.php?t=2499&start=0
I have not yet tested it with /run option.
After downloading, look in scripts folder for some examples.
K8
Junior Member
Junior Member
Posts: 12
Joined: 2003-12-13, 13:28 UTC

Post by *K8 »

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.
What kind of confusion may occur if you choose files to copy in the source directory and press shift-f7 in the other panel?
User avatar
totfun
Junior Member
Junior Member
Posts: 67
Joined: 2003-03-11, 07:13 UTC

Post by *totfun »

Hello K8!
What kind of confusion may occur if you choose files to copy in the source directory and press shift-f7 in the other panel?
I have not analyzed well the issue. Maybe no confusion
netjoe
New Member
New Member
Posts: 1
Joined: 2003-12-17, 15:22 UTC
Location: Romania, Bucharest

Post by *netjoe »

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.
Post Reply