Kirix Support Forums

URL as command line parameter

Please post all general questions, comments, bug reports, and any other wxWebConnect feedback here.

URL as command line parameter

Postby anahar on Wed Sep 07, 2011 3:34 am

Hello,

I want to execute and open any url mentioned in the command line parameter while executing the testapp
i.e
./testapp http://www.google.com should open google.com by default.

Is there any way for it in wxWebconnect library?
Please let me know.

Thanks in advance,
Ajinkya
anahar
Registered User
 
Posts: 4
Joined: Wed Sep 07, 2011 2:38 am

Re: URL as command line parameter

Postby jonmmorgan on Wed Sep 07, 2011 4:09 am

I don't know, but I would be very surprised if wxWebConnect included command line parsing functionality, since it is a library and not a stand alone program. However, you would be quite at liberty to implement it in the testapp and open the URL with the OpenURI() method (and maybe update the address bar and anything else you feel you need to do).
jonmmorgan
Registered User
 
Posts: 94
Joined: Fri May 14, 2010 9:48 am

Re: URL as command line parameter

Postby anahar on Wed Sep 07, 2011 4:58 am

ok thanks,
basically, I am looking to run it as a Kiosk mode of a browser...
any idea how to do this?
anahar
Registered User
 
Posts: 4
Joined: Wed Sep 07, 2011 2:38 am

Return to wxWebConnect Questions, Thoughts & Feedback