New topic: 

How to get command line arguments in Web Applications?

<http://forums.realsoftware.com/viewtopic.php?t=46470>

         Page 1 of 1
   [ 4 posts ]                 Previous topic | Next topic          Author  
Message        felix          Post subject: How to get command line arguments 
in Web Applications?Posted: Mon Jan 07, 2013 8:41 am                         
Joined: Wed Aug 08, 2012 6:59 am
Posts: 4                Hello,
as stated in the documentation a WebApplication inherits from 
ServiceApplication.
For a ServiceApplication the Run events gets Args() as the array of command 
line arguments.

It is possibile to get the command line arguments in a standalone Web 
application?

Thank you.   
                             Top                Akiland          Post subject: 
Re: How to get command line arguments in Web Applications?Posted: Mon Jan 07, 
2013 9:45 am                                 
Joined: Tue Jan 04, 2011 3:02 am
Posts: 1085
Location: Jönköping, Sweden                You can use HandleSpecialURL 
http://docs.realsoftware.com/index.php/WebApplication.HandleSpecialURL      
_________________
 http://www.linkedin.com/in/albinkiland
Dev. iMac 27" + 2x22" LG (2.8GHz Intel Core i7, 12GB RAM, 120GB SSD) OS X 10.8
REAL.Studio Web Edition 2011r3  
                             Top                swort          Post subject: 
Re: How to get command line arguments in Web Applications?Posted: Mon Jan 07, 
2013 4:58 pm                         
Joined: Mon May 31, 2010 5:35 am
Posts: 2309
Location: Netherlands                in the App.Open event try this:

http://docs.realsoftware.com/index.php/ ... ommandLine      
_________________
SWORT™
- Windows Vista, Windows XP, Windows 7, Linux Mint 11 and Mac OSX Lion
- REAL Studio Enterprise(latest) and WEB Edition(latest)
- Plugins (MBS Complete, ToringoLib, Einhugur, VanHoek + Some open source 
plugins)
For Dutch User Groups ask me to enter!  
                             Top                felix          Post subject: 
Re: How to get command line arguments in Web Applications?Posted: Tue Jan 08, 
2013 2:54 am                         
Joined: Wed Aug 08, 2012 6:59 am
Posts: 4                Thank you Swort!

Best regards.   
                             Top             Display posts from previous: All 
posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost 
timeSubject AscendingDescending          Page 1 of 1
   [ 4 posts ]      
-- 
Over 1500 classes with 29000 functions in one REALbasic plug-in collection. 
The Monkeybread Software Realbasic Plugin v9.3. 
http://www.monkeybreadsoftware.de/realbasic/plugins.shtml

[email protected]

Reply via email to