Script to "Extract here..." in WinRAR

Discuss and share scripts and script files...
ivan
Posts: 577
Joined: 02 Apr 2008 12:52
Contact:

Post by ivan »

j_c_hallgren wrote:Shouldn't the "x <items>" be on the Application line and not the Caption? Since the Caption is just for display...right???
Indeed, that was the problem. All fixed now :) Thank you to everyone who helped.

j_c_hallgren
XY Blog Master
Posts: 5826
Joined: 02 Jan 2006 19:34
Location: So. Chatham MA/Clearwater FL
Contact:

Post by j_c_hallgren »

ivan wrote:
j_c_hallgren wrote:Shouldn't the "x <items>" be on the Application line and not the Caption? Since the Caption is just for display...right???
Indeed, that was the problem. All fixed now :) Thank you to everyone who helped.
Sometimes it's hard for us long-time users to see a problem from a new user point of view! So we may overlook the obvious! :roll:

I don't think anyone who responded before would have ever thought that you had the parameters on the wrong line, maybe because we'd not do it ourselves...so that screen shot made it perfectly clear! :)
Still spending WAY TOO much time here! But it's such a pleasure helping XY be a treasure!
(XP on laptop with touchpad and thus NO mouse!) Using latest beta vers when possible.

ivan
Posts: 577
Joined: 02 Apr 2008 12:52
Contact:

Post by ivan »

I was wondering if there is any way to combine UDC with a script?

For example, what I would like is for XYplorer to do this with one keystroke:

1. Extract RARs to the folder they are currently in.
2. Rename the resulting file to the name of the folder it's in.
3. Move it to next folder up in the tree.
4. (optional) delete the folder from where it was moved.

Is it a challenge? Or piece of cake? Cheers again! :D

jacky
XYwiki Master
Posts: 3106
Joined: 23 Aug 2005 22:25
Location: France
Contact:

Post by jacky »

ivan wrote:I was wondering if there is any way to combine UDC with a script?
Well, you know you have a category "Run Script" and another one "Load Script File" in your UDCs right ? So yeah, of course you can associate any KS of your choice with a script!
Proud XYplorer Fanatic

ivan
Posts: 577
Joined: 02 Apr 2008 12:52
Contact:

Post by ivan »

jacky wrote:
ivan wrote:I was wondering if there is any way to combine UDC with a script?
Well, you know you have a category "Run Script" and another one "Load Script File" in your UDCs right ? So yeah, of course you can associate any KS of your choice with a script!
That's not quite what I meant. What I meant is: is it possible to combine a UDC (unrar files) with a script (rename to current folder) with move to next level up in a folder tree and delete (optional) the folder where unrar originally happened all into one sequential process?

jacky
XYwiki Master
Posts: 3106
Joined: 23 Aug 2005 22:25
Location: France
Contact:

Post by jacky »

ivan wrote:
jacky wrote:
ivan wrote:I was wondering if there is any way to combine UDC with a script?
Well, you know you have a category "Run Script" and another one "Load Script File" in your UDCs right ? So yeah, of course you can associate any KS of your choice with a script!
That's not quite what I meant. What I meant is: is it possible to combine a UDC (unrar files) with a script (rename to current folder) with move to next level up in a folder tree and delete (optional) the folder where unrar originally happened all into one sequential process?
Well, whatever it is your UDC does, you can do it using a script command to do the same, or just use its #ID to trigger that UDC, so possibilities are endless (or close ;)), "all it takes" is to work it out and write that script!
Proud XYplorer Fanatic

ivan
Posts: 577
Joined: 02 Apr 2008 12:52
Contact:

Post by ivan »

Yeah, that's exactly what I thought. I already have a UDC for UnRARing and a script for renaming into current folder. All I need is a UDC to move a level up, delete the folder and a way to combine all of the aforementioned into one UDC that executes sequentially.

Post Reply