JDownloader Community - Appwork GmbH
 

Reply
 
Thread Tools Display Modes
  #1  
Old 22.06.2014, 22:23
hkBattousai hkBattousai is offline
Mega Loader
 
Join Date: Sep 2009
Posts: 60
Question Title Pattern

I was googling for a solution to show download speed in the window title in JD2, just like it is done in JD1. I couldn't find any documentation on this or example strings for the pattern anywhere.

I opened the key "GraphicalUserInterfaceSettings: Title Pattern" in advanced settings and tried out several patterns which include a subset of #SPEED, #TITLE and #UPDATENOTIFY placeholders; none worked.

My aim is to have a title which looks like:

Code:
853 kb/s - JDownloader

I would be better if it notifies me whenever there is an update, just after the speed part. Can you please guide me to do it.
Reply With Quote
  #2  
Old 23.06.2014, 05:07
Lram32's Avatar
Lram32 Lram32 is offline
Spanish Supporter
 
Join Date: Jul 2012
Location: Dark side of the moon
Posts: 9,908
Default

Ticket:
__________________
» Setup JD2 / Instalador de JD2 «
Spoiler:

Installer for Windows XP/Vista/Seven/Eight
|| JD2 x86 - x64 (Beta) ||

Installer for Mac
|| JD2 (Beta) ||

Installers for Linux
|| JD2 (Beta) x86 || <---> || JD2 (Beta) x64 ||

How to Create a Log
-» Click Here «-


¿Cómo crear un registro?
-» Click Aquí «-


Support Chat / Chat de Soporte
-» Click Here / Click Aquí «-


Reply With Quote
  #3  
Old 23.06.2014, 06:14
Lram32's Avatar
Lram32 Lram32 is offline
Spanish Supporter
 
Join Date: Jul 2012
Location: Dark side of the moon
Posts: 9,908
Default

Fixed by raztoki, please wait for the next core update.
__________________
» Setup JD2 / Instalador de JD2 «
Spoiler:

Installer for Windows XP/Vista/Seven/Eight
|| JD2 x86 - x64 (Beta) ||

Installer for Mac
|| JD2 (Beta) ||

Installers for Linux
|| JD2 (Beta) x86 || <---> || JD2 (Beta) x64 ||

How to Create a Log
-» Click Here «-


¿Cómo crear un registro?
-» Click Aquí «-


Support Chat / Chat de Soporte
-» Click Here / Click Aquí «-


Reply With Quote
  #4  
Old 23.06.2014, 06:17
raztoki's Avatar
raztoki raztoki is offline
English Supporter
 
Join Date: Apr 2010
Location: Australia
Posts: 16,233
Default

Ok this is my GraphicalUserInterfaceSettings: Title Pattern setting
Code:
|#SPEED/s - ||#TITLE|| - #UPDATENOTIFY|
if you want it enabled at all times there is a secondary setting
GraphicalUserInterfaceSettings: Speed In Window Title
Code:
Always
else speed only shows up when minimised.

BTW I fixed a regular expression pattern discrepancy, which I've just committed so will need a core update (which I don't have rights to invoke).

I should also say that you need to use | at the beginning and end of a given tag, as it delimitates of each tag range and is used to cleanup given tags and formatting when not used. As in no updates = no updates shown, not downloading = no speed shown
__________________
raztoki @ jDownloader reporter/developer
http://svn.jdownloader.org/users/170

Don't fight the system, use it to your advantage. :]

Last edited by raztoki; 23.06.2014 at 06:55. Reason: explain the use of |
Reply With Quote
  #5  
Old 23.06.2014, 08:06
hkBattousai hkBattousai is offline
Mega Loader
 
Join Date: Sep 2009
Posts: 60
Default

Quote:
Originally Posted by raztoki View Post
I should also say that you need to use | at the beginning and end of a given tag, as it delimits of each tag range and is used to cleanup given tags and formatting when not used.
I understand that '|' must be placed before and after each placeholder. But the arbitrary formatting characters between those placeholders confuse me. Does it make a difference where I put the '|' mark? For example, are the all following strings identical?

Code:
|#SPEED/s - ||#TITLE|| - #UPDATENOTIFY|
|#SPEED||/s - #TITLE - ||#UPDATENOTIFY|
|#SPEED/s -|| #TITLE ||- #UPDATENOTIFY|
|#SPEED|/s - |#TITLE| - |#UPDATENOTIFY|
Reply With Quote
  #6  
Old 23.06.2014, 10:12
Araldo Araldo is offline
Storm
 
Join Date: Mar 2009
Location: Bavaria/Germany
Posts: 214
Default

As I think it fits here: It would be nice if an additional placeholder for "number of active downloads" could be added, like old JD1 showed in task bar when minimized.
__________________
Ich liebe JD! I love JD!
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 14:33.
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 - 2019, Jelsoft Enterprises Ltd.