Cameyo

Members Login
Username 
 
Password 
    Remember Me  
Post Info TOPIC: Pass command line arguments to app running in browser


Member

Status: Offline
Posts: 17
Date:
Pass command line arguments to app running in browser
Permalink   
 


Hi!

Is this possible with a package running in a browser? It would be great to be able to pass command line arguments to my app, e.g. in the URL query string.



__________________


Senior Member

Status: Offline
Posts: 268
Date:
Permalink   
 

It is possible. But you need to host your own server (online.cameyo.com/playServers/add). Then:
a. When you create/publish the package, choose "Publish a command line" and specify in the Arguments field "%param_args":
param_args.png

b. Share your program via a URL, like this:

pkg_share.png

Then, when calling your program through the obtained URL, add a URL parameter &args=... This argument will then be passed on to your executed program.



__________________


Member

Status: Offline
Posts: 17
Date:
Permalink   
 

Brilliant! thanks!

__________________
Page 1 of 1  sorted by
 
Quick Reply

Please log in to post quick replies.



Create your own FREE Forum
Report Abuse
Powered by ActiveBoard