#1
|
|||
|
|||
Is there a way to make a button on the toolbar to set download location?
Is there a way to make a button on the toolbar to set download location?
|
#2
|
||||
|
||||
What?
Yes, no. What do you want to do? You can add a button, or a rule (that does it automatically). More details pls. Thx. |
#3
|
||||
|
||||
What exactly do you mean?
__________________
JD-Dev & Server-Admin |
#4
|
|||
|
|||
Sorry for not clarifying. I would like a button here (where the red is in the below image) that, after highlighting a file in the linkgrabber screen, it will take me right to the "Set download location" section. I often want to download files to different directories and for each file I have to right click on it, go to properties, then set download location. This can be cumbersome for doing for multiple files at once. Just trying to cut down on the clicks.
http://i.imgur.com/PBr5Nzr.png |
#5
|
||||
|
||||
You can select multiple packages and set the directory for all of them.
I think, if you need more, than you have to write an eventscripter script. |
#6
|
|||
|
|||
I usually have a lot of files and want to set a different directory for each one. Unfortunately don't know how to do that, will have to look into it.
|
#7
|
||||
|
||||
event scripter is not practical for this task.
Assuming you can identify the content with rules, package customiser can automatically set different paths based on rules you create. raztoki
__________________
raztoki @ jDownloader reporter/developer http://svn.jdownloader.org/users/170 Don't fight the system, use it to your advantage. :] |
#8
|
||||
|
||||
Quote:
If you need even more you must use the eventscripter. I use it to beautify my packagenames (e.g. remove " - filecrypt.cc" at the end). But for this you have to know javascript at least. Starting with the rules is a good thing for many jobs. If you dont get it, let's know what exactly you want to do. I'll try to help where I can. |
#9
|
||||
|
||||
@ds1508
if ' - filecrypt.cc' is within packagename or filename (not filename within archive) can be removed by package customiser also. raztoki
__________________
raztoki @ jDownloader reporter/developer http://svn.jdownloader.org/users/170 Don't fight the system, use it to your advantage. :] |
#10
|
||||
|
||||
ok, that was just one example. Exactly I have made a button in linkgrabber bar that
- save original packagename to comment - remove - filecrypt.cc - remove mov-world.* - put year 19|20{2}[0-9]{2} in () - put xvid|x264|ts|ac3|dts|md|.... in [] and even more. For me it was easier to do this in eventscripter as with a dozen rules. ----- BTW: How do I do that? There's option to use regex or something like that??? even if i put <jd:packagename> into the field it does nothing or i get jd_packagename as result. Last edited by ds1508; 26.07.2016 at 09:59. |
#11
|
||||
|
||||
@jtcgiants56
1.) customize rightclick context menu, so the *set downloadfolder* action is faster reachable or 2.) assign a shortcut to the action (customize rightclick context menu), so select , press shortkey and voila or 3.) directly change within your table, simply click into table where the download folder is shown
__________________
JD-Dev & Server-Admin |
#12
|
||||
|
||||
@ds1508:
create packagizer rule, package name contains xy, use regex and then set package name the corrected one
__________________
JD-Dev & Server-Admin |
#13
|
||||
|
||||
Yes, that's the problem. What is the "corrected" one? How do I get that?
The package name changes from package to package. So I need something like regex $1. But I can't write $1 into the new package name, even if I use "(.*) - filecrypt.cc$" in the searchfield, the new name "$1" contains nothing. And the rule executes only once. If the original package-(archive)name is "45jdbd873hrbdjei34756fjfkekf84ztrjfl", and I copy the name from the webpage, I can't manually start rule-checks. But I can always click my eventscripter button. |
#14
|
||||
|
||||
For example one Packagizer Rule that matches on packagename *(hello) and change to *. so that rule will cut of hello from all packagenames
__________________
JD-Dev & Server-Admin |
#15
|
||||
|
||||
Ok, thx, I'll try this later, maybe. ATM I got my script that corrects more than 15 things. I'll keep my rules-list slim and short.
But, good to know, how to do it. Thx. |
#16
|
||||
|
||||
In case you need help, just contact us in live chat or via e-mail at support@jdownloader.org
__________________
JD-Dev & Server-Admin |
#17
|
||||
|
||||
Hm, sry @Jiaz. The rule does not work. Tried with and without RegEx Btn on. Package name does not change.
|
#18
|
||||
|
||||
of course that will not work I was just giving an example , not an actual rule
package name contains- (.*?)mov-world, enable regex set package name: <jd:orgpackagename:1>
__________________
JD-Dev & Server-Admin |
#19
|
|||
|
|||
Quote:
Last edited by jtcgiants56; 28.07.2016 at 06:48. |
#20
|
||||
|
||||
You're welcome!
__________________
JD-Dev & Server-Admin |
Thread Tools | |
Display Modes | |
|
|