#1
|
|||
|
|||
Browser command line not working as expected (?)
I want JDownloader to open captchas in a new Firefox instance instead of my default one, so I set the browser command line option to:
["C:\\Program Files\\Mozilla Firefox\\firefox.exe","-no-remote -P \"test\" %s"] But instead of opening the captcha in a new instance, it just opens it in a new regular window, while running C:\Program Files\Mozilla Firefox>firefox.exe -no-remote -P "test" [URL] in command prompt opens an URL as expected. Why is this? Did I miss something about the String array? I supposed the first field value would be the browser executable path while the second one would be the execution parameters, but that doesn't seem to be the case. This documentation is too concise about it either... Can someone help me? |
#2
|
||||
|
||||
your mistake is on the middle section, each switch requires its own ""
raztoki
__________________
raztoki @ jDownloader reporter/developer http://svn.jdownloader.org/users/170 Don't fight the system, use it to your advantage. :] |
#3
|
|||
|
|||
Still doesn't quite work as expected though... putting
[ "C:\\Program Files\\Mozilla Firefox\\firefox.exe", "-no-remote", "-P \"test\"", "%s" ] tells me that there's already an instance of Firefox running. |
#4
|
||||
|
||||
maybe try this?
Quote:
Quote:
Your command line maybe could work like this: Code:
[ "C:\\Program Files\\Mozilla Firefox\\firefox.exe", "-p", "test", "-no-remote", "%s" ] |
#5
|
||||
|
||||
@audio20: yes, it's another parameter. your example should work fine
@StrikeAgainst: in case it still doesn't work, please don't hesitate and contact us again
__________________
JD-Dev & Server-Admin |
#6
|
|||
|
|||
Yes, it finally works now! Thank you for your support
|
#7
|
||||
|
||||
Thank's for the feedback. Glad to hear that you finally could make it working
__________________
JD-Dev & Server-Admin |
Thread Tools | |
Display Modes | |
|
|