JDownloader Community - Appwork GmbH
 

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 22.10.2017, 23:23
fred_gaou's Avatar
fred_gaou fred_gaou is offline
DSL User
 
Join Date: Mar 2016
Location: France
Posts: 39
Lightbulb [EventScripter] openUrl(url)

Hi,

I would need such a method to open a given link into default browser of the OS.

Example case, if error occurs, alert and open support page in browser using openUrl(url) method.
Reply With Quote
  #2  
Old 23.10.2017, 09:34
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,343
Default

With next core update there will be
openURL(URL)
Temp. workaround would be to call the browser manually via callAsync..
__________________
JD-Dev & Server-Admin
Reply With Quote
  #3  
Old 23.10.2017, 19:04
fred_gaou's Avatar
fred_gaou fred_gaou is offline
DSL User
 
Join Date: Mar 2016
Location: France
Posts: 39
Thumbs up

Quote:
Originally Posted by Jiaz View Post
With next core update there will be
openURL(URL)
Temp. workaround would be to call the browser manually via callAsync..
Thanks. I'll wait. The workaround would imply I test OS and default browser on current user system. I'll wait the built-in method to avoid me this hassle 😉
Reply With Quote
  #4  
Old 23.10.2017, 19:50
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,343
Default

Update is already available
__________________
JD-Dev & Server-Admin
Reply With Quote
  #5  
Old 23.10.2017, 20:19
fred_gaou's Avatar
fred_gaou fred_gaou is offline
DSL User
 
Join Date: Mar 2016
Location: France
Posts: 39
Thumbs up

Quote:
Originally Posted by Jiaz View Post
With next core update there will be
openURL(URL)
Temp. workaround would be to call the browser manually via callAsync..
Awesome, it works as expected. The help panel needs to be updated with the added method.
Reply With Quote
  #6  
Old 24.10.2017, 10:49
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,343
Default

Quote:
Originally Posted by fred_gaou View Post
Awesome, it works as expected. The help panel needs to be updated with the added method.
It is listed automatically
openURL(myString/*URL*/);/*Open a website or path in your default browser/file explorer*/
__________________
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 13:36.
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.