I have to execute an AIR app in headless mode while passing arguments from 
command line. I have to do this from another FLEX app that runs in a browser. I 
am using FLfile.runCommandLine("AIRapp.exe c:\\documents\\args.xml");

but it looks like FLfile.runCommandLine does not work when args are passed or 
passed with pathnames.

Any idea how to solve this problem?  


--- In [email protected], "Jake Churchill" <j...@...> wrote:
>
> In your -app.xml file you need to have this:  
> 
>  
> 
> <systemChrome>none</systemChrome>
> 
>  
> 
> In your main WindowedApplication tag, you need this attribute:
> showFlexChrome="false"
> 
>  
> 
> Also, you'll need to minimize the native window that comes with the AIR
> application or close it without exiting the app
> 
>  
> 
> Jake Churchill
> CF Webtools
> 11204 Davenport, Ste. 100
> Omaha, NE  68154
>  <http://www.cfwebtools.com> http://www.cfwebtools.com
> 402-408-3733 x103
> 
> From: [email protected] [mailto:[email protected]] On
> Behalf Of Gautam P
> Sent: Wednesday, August 12, 2009 1:36 PM
> To: [email protected]
> Subject: Re: [flexcoders] How to run an AIR app in headless mode?
> 
>  
> 
>   
> 
> I have done this on a linux machine and it works. air app can run in
> headless mode, but not your flash app (on ur browser). you need to
> disable GUI on linux and then have xvfb installed to get the air app
> working in headless mode.
> 
> On Wed, Aug 12, 2009 at 6:15 AM, Sonia Gupta<soniagup...@...
> <mailto:soniagupta9%40yahoo.com> > wrote:
> > I have to call an AIR app from my Flash app but in headless mode.. I know
> the command of FLFile.runCommandLine (but what will go here?);
> >
> > P.S: I am running this code on Windows machine.
> >
> >
> >
> > ------------------------------------
> >
> > --
> > Flexcoders Mailing List
> > FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> > Alternative FAQ location:
> https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62
> 079f6847
> > Search Archives:
> http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links
> >
> >
> >
> >
> 
> 
> 
> No virus found in this incoming message.
> Checked by AVG - www.avg.com
> Version: 8.5.392 / Virus Database: 270.13.50/2296 - Release Date: 08/12/09
> 06:09:00
>


Reply via email to