JDownloader Community - Appwork GmbH
 

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 25.07.2016, 07:11
jtcgiants56
Guest
 
Posts: n/a
Default 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?
Reply With Quote
  #2  
Old 25.07.2016, 08:20
ds1508's Avatar
ds1508 ds1508 is offline
DSL User
 
Join Date: Jul 2016
Location: Germany, NRW
Posts: 38
Default

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.
__________________
--
In special cases you may contact me on Discord: http://bit.ly/dsDisco
Reply With Quote
  #3  
Old 25.07.2016, 11:40
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,339
Default

What exactly do you mean?
__________________
JD-Dev & Server-Admin
Reply With Quote
  #4  
Old 25.07.2016, 21:46
jtcgiants56
Guest
 
Posts: n/a
Default

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
Reply With Quote
  #5  
Old 25.07.2016, 23:54
ds1508's Avatar
ds1508 ds1508 is offline
DSL User
 
Join Date: Jul 2016
Location: Germany, NRW
Posts: 38
Default

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.
__________________
--
In special cases you may contact me on Discord: http://bit.ly/dsDisco
Reply With Quote
  #6  
Old 26.07.2016, 02:54
jtcgiants56
Guest
 
Posts: n/a
Default

Quote:
Originally Posted by ds1508 View Post
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.
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.
Reply With Quote
  #7  
Old 26.07.2016, 03:28
raztoki's Avatar
raztoki raztoki is offline
English Supporter
 
Join Date: Apr 2010
Location: Australia
Posts: 17,659
Default

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. :]
Reply With Quote
  #8  
Old 26.07.2016, 10:24
ds1508's Avatar
ds1508 ds1508 is offline
DSL User
 
Join Date: Jul 2016
Location: Germany, NRW
Posts: 38
Default

Quote:
Originally Posted by jtcgiants56 View Post
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.
Like raztoki said, I would start with the rules. These are good for many things.
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.
__________________
--
In special cases you may contact me on Discord: http://bit.ly/dsDisco
Reply With Quote
  #9  
Old 26.07.2016, 10:27
raztoki's Avatar
raztoki raztoki is offline
English Supporter
 
Join Date: Apr 2010
Location: Australia
Posts: 17,659
Default

@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. :]
Reply With Quote
  #10  
Old 26.07.2016, 10:48
ds1508's Avatar
ds1508 ds1508 is offline
DSL User
 
Join Date: Jul 2016
Location: Germany, NRW
Posts: 38
Default

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.
__________________
--
In special cases you may contact me on Discord: http://bit.ly/dsDisco

Last edited by ds1508; 26.07.2016 at 10:59.
Reply With Quote
  #11  
Old 26.07.2016, 11:26
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,339
Default

@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
Reply With Quote
  #12  
Old 26.07.2016, 11:27
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,339
Default

@ds1508:
create packagizer rule, package name contains xy, use regex and then set package name the corrected one
__________________
JD-Dev & Server-Admin
Reply With Quote
  #13  
Old 26.07.2016, 11:41
ds1508's Avatar
ds1508 ds1508 is offline
DSL User
 
Join Date: Jul 2016
Location: Germany, NRW
Posts: 38
Default

Quote:
Originally Posted by Jiaz View Post
@ds1508:
... set package name the corrected one
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.
__________________
--
In special cases you may contact me on Discord: http://bit.ly/dsDisco
Reply With Quote
  #14  
Old 26.07.2016, 11:45
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,339
Default

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
Reply With Quote
  #15  
Old 26.07.2016, 12:24
ds1508's Avatar
ds1508 ds1508 is offline
DSL User
 
Join Date: Jul 2016
Location: Germany, NRW
Posts: 38
Default

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.
__________________
--
In special cases you may contact me on Discord: http://bit.ly/dsDisco
Reply With Quote
  #16  
Old 26.07.2016, 12:26
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,339
Default

In case you need help, just contact us in live chat or via e-mail at support@jdownloader.org
__________________
JD-Dev & Server-Admin
Reply With Quote
  #17  
Old 26.07.2016, 12:35
ds1508's Avatar
ds1508 ds1508 is offline
DSL User
 
Join Date: Jul 2016
Location: Germany, NRW
Posts: 38
Default

Hm, sry @Jiaz. The rule does not work. Tried with and without RegEx Btn on. Package name does not change.
Attached Thumbnails
Aufnahme.jpg  
__________________
--
In special cases you may contact me on Discord: http://bit.ly/dsDisco
Reply With Quote
  #18  
Old 26.07.2016, 12:42
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,339
Default

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
Reply With Quote
  #19  
Old 28.07.2016, 07:23
jtcgiants56
Guest
 
Posts: n/a
Default

Quote:
Originally Posted by Jiaz View Post
@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
Thank you Jiaz, this is exactly what I was looking for. Will save me a lot of time for sure

Last edited by jtcgiants56; 28.07.2016 at 07:48.
Reply With Quote
  #20  
Old 28.07.2016, 13:42
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,339
Default

You're welcome!
__________________
JD-Dev & Server-Admin
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT +2. The time now is 10:20.
Provided By AppWork GmbH | Privacy | Imprint
Parts of the Design are used from Kirsch designed by Andrew & Austin
Powered by vBulletin® Version 3.8.10 Beta 1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.