<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: AIR Tip 7 &#8211; Using Command Line Arguments</title>
	<atom:link href="http://www.davidtucker.net/2008/01/23/air-tip-7-using-command-line-arguments/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.davidtucker.net/2008/01/23/air-tip-7-using-command-line-arguments/</link>
	<description>web development goodness</description>
	<lastBuildDate>Thu, 02 Sep 2010 05:08:09 -0400</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Jay</title>
		<link>http://www.davidtucker.net/2008/01/23/air-tip-7-using-command-line-arguments/comment-page-1/#comment-3850</link>
		<dc:creator>Jay</dc:creator>
		<pubDate>Mon, 21 Jun 2010 04:12:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.davidtucker.net/2008/01/23/air-tip-7-using-command-line-arguments/#comment-3850</guid>
		<description>David

I have followed your posts/articles and I must say they are excellent.
I have one question and I hope you will have an answer for me.

We have a desktop AIR application which works as expected( authentication via SOAP over http etc).

How do we do a HTTPS webservice call (trusted cert &amp; also a self signed cert)
Where do I put the certs? This app will be installed on users laptops. 

Basically desktop air app needs to consume a HTTPS webservice.

Any help would be appreciated.
Thank you
Jay</description>
		<content:encoded><![CDATA[<p>David</p>
<p>I have followed your posts/articles and I must say they are excellent.<br />
I have one question and I hope you will have an answer for me.</p>
<p>We have a desktop AIR application which works as expected( authentication via SOAP over http etc).</p>
<p>How do we do a HTTPS webservice call (trusted cert &amp; also a self signed cert)<br />
Where do I put the certs? This app will be installed on users laptops. </p>
<p>Basically desktop air app needs to consume a HTTPS webservice.</p>
<p>Any help would be appreciated.<br />
Thank you<br />
Jay</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael</title>
		<link>http://www.davidtucker.net/2008/01/23/air-tip-7-using-command-line-arguments/comment-page-1/#comment-3710</link>
		<dc:creator>Michael</dc:creator>
		<pubDate>Tue, 05 Jan 2010 20:26:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.davidtucker.net/2008/01/23/air-tip-7-using-command-line-arguments/#comment-3710</guid>
		<description>Yet another great developer that has abandoned his thread and left a lot of great questions unanswered.

Here&#039;s a biggie (already asked and unanswered): Can you pass arguments TO the command line from within the AIR application?</description>
		<content:encoded><![CDATA[<p>Yet another great developer that has abandoned his thread and left a lot of great questions unanswered.</p>
<p>Here&#8217;s a biggie (already asked and unanswered): Can you pass arguments TO the command line from within the AIR application?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vandana</title>
		<link>http://www.davidtucker.net/2008/01/23/air-tip-7-using-command-line-arguments/comment-page-1/#comment-3629</link>
		<dc:creator>Vandana</dc:creator>
		<pubDate>Thu, 12 Nov 2009 17:38:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.davidtucker.net/2008/01/23/air-tip-7-using-command-line-arguments/#comment-3629</guid>
		<description>Hi David, 
Thanks for the post, great help.

I am trying to achieve SSO with AIR. I have some kind of SSO working with Flex app.
I am authenticating against AD with Kerberos based on SPNEGO. I have a CAS server setup on Tomcat and so the Cas login page shows up when I am authenticating for the first time.

But I want that my AIR client should not ask the user to authenticate if the user has already logged on to his/her machine authenticating against AD. 
Any guidelines would be of great help.
Thanks in Advance.

Vandana</description>
		<content:encoded><![CDATA[<p>Hi David,<br />
Thanks for the post, great help.</p>
<p>I am trying to achieve SSO with AIR. I have some kind of SSO working with Flex app.<br />
I am authenticating against AD with Kerberos based on SPNEGO. I have a CAS server setup on Tomcat and so the Cas login page shows up when I am authenticating for the first time.</p>
<p>But I want that my AIR client should not ask the user to authenticate if the user has already logged on to his/her machine authenticating against AD.<br />
Any guidelines would be of great help.<br />
Thanks in Advance.</p>
<p>Vandana</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kaushal</title>
		<link>http://www.davidtucker.net/2008/01/23/air-tip-7-using-command-line-arguments/comment-page-1/#comment-2980</link>
		<dc:creator>Kaushal</dc:creator>
		<pubDate>Wed, 20 May 2009 11:49:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.davidtucker.net/2008/01/23/air-tip-7-using-command-line-arguments/#comment-2980</guid>
		<description>Nice video, I am looking for solution similar to it.

Hi David,

I have question, my application has canvas, which allow user to put images anywhere inside it, and when user hit save button, it should pass row data of canvas to PHP, and then PHP will run AIR application over server, pass row data to it, so AIR application generate same canvas (place images at the location where user has placed) and save whole canvas as an image using ImageSnapshot.captureImage() and it has 300 dpi.

Is it possible and if yes then can you please guide me.

Thanks</description>
		<content:encoded><![CDATA[<p>Nice video, I am looking for solution similar to it.</p>
<p>Hi David,</p>
<p>I have question, my application has canvas, which allow user to put images anywhere inside it, and when user hit save button, it should pass row data of canvas to PHP, and then PHP will run AIR application over server, pass row data to it, so AIR application generate same canvas (place images at the location where user has placed) and save whole canvas as an image using ImageSnapshot.captureImage() and it has 300 dpi.</p>
<p>Is it possible and if yes then can you please guide me.</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: M</title>
		<link>http://www.davidtucker.net/2008/01/23/air-tip-7-using-command-line-arguments/comment-page-1/#comment-2958</link>
		<dc:creator>M</dc:creator>
		<pubDate>Fri, 01 May 2009 14:31:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.davidtucker.net/2008/01/23/air-tip-7-using-command-line-arguments/#comment-2958</guid>
		<description>@John Dimm
The error you&#039;re getting happens with all AIR apps unless you use the proper invocation (the same you&#039;d use for OS X apps : open) like this:

machine: ~user$ cd path to app bundle
machine: ~user$ open -a app_name

Question: how are you getting output? I would like to know if there&#039;s anyway to print output as in to stdout? You know, like any standard command line tool?</description>
		<content:encoded><![CDATA[<p>@John Dimm<br />
The error you&#8217;re getting happens with all AIR apps unless you use the proper invocation (the same you&#8217;d use for OS X apps : open) like this:</p>
<p>machine: ~user$ cd path to app bundle<br />
machine: ~user$ open -a app_name</p>
<p>Question: how are you getting output? I would like to know if there&#8217;s anyway to print output as in to stdout? You know, like any standard command line tool?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ajitpal Singh</title>
		<link>http://www.davidtucker.net/2008/01/23/air-tip-7-using-command-line-arguments/comment-page-1/#comment-2920</link>
		<dc:creator>ajitpal Singh</dc:creator>
		<pubDate>Mon, 23 Mar 2009 11:32:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.davidtucker.net/2008/01/23/air-tip-7-using-command-line-arguments/#comment-2920</guid>
		<description>Hello David. 
             Actually i want to know, can we open commandprompt using air application and pass arugumets to them. Like opening cmd.exe and passing - (version) to it as argument.</description>
		<content:encoded><![CDATA[<p>Hello David.<br />
             Actually i want to know, can we open commandprompt using air application and pass arugumets to them. Like opening cmd.exe and passing &#8211; (version) to it as argument.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Online</title>
		<link>http://www.davidtucker.net/2008/01/23/air-tip-7-using-command-line-arguments/comment-page-1/#comment-2846</link>
		<dc:creator>Online</dc:creator>
		<pubDate>Fri, 20 Feb 2009 07:52:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.davidtucker.net/2008/01/23/air-tip-7-using-command-line-arguments/#comment-2846</guid>
		<description>Пинайте своего хостера - сайт с трудом открылся :(</description>
		<content:encoded><![CDATA[<p>Пинайте своего хостера &#8211; сайт с трудом открылся <img src='http://www.davidtucker.net/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John Dimm</title>
		<link>http://www.davidtucker.net/2008/01/23/air-tip-7-using-command-line-arguments/comment-page-1/#comment-2845</link>
		<dc:creator>John Dimm</dc:creator>
		<pubDate>Fri, 20 Feb 2009 00:36:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.davidtucker.net/2008/01/23/air-tip-7-using-command-line-arguments/#comment-2845</guid>
		<description>Nice and to-the-point.

Any tips on running the resulting app from the command line?

I had trouble:

john-dimms-macbook-pro:Desktop jdimm$ /Applications/json2aso.app/Contents/MacOS/json2aso foo.json
2009-02-19 16:27:40.695 json2aso[6771:10b] NSDocumentController Info.plist warning: The values of CFBundleTypeRole entries must be &#039;Editor&#039;, &#039;Viewer&#039;, &#039;None&#039;, or &#039;Shell&#039;.

For some reason, moving the executable out of its install directory resolved that problem:

john-dimms-macbook-pro:Desktop jdimm$ cp /Applications/json2aso.app/Contents/MacOS/json2aso .
john-dimms-macbook-pro:Desktop jdimm$ ./json2aso foo.json
john-dimms-macbook-pro:Desktop jdimm$ 

Now I&#039;m getting output.  However, there is an annoying message that pops up and requires a click to dismiss:


Adobe AIR

This installation of this application is damaged.  Try re-installing or contacting the publisher for assistance.

Any idea how to avoid that?

Also, I was getting the error described here:

I was getting the error mentioned here:

http://www.justria.com/2008/11/19/if-flexbuilder-complains-about-error-creating-air-file-305-error-10-solution/

&quot;error creating AIR file: 305: ERROR, 10&quot;

So I made this change to json2aso-app.xml:



The namespace in your example was 1.0.M6.  That didn&#039;t work for me.

Thanks again!</description>
		<content:encoded><![CDATA[<p>Nice and to-the-point.</p>
<p>Any tips on running the resulting app from the command line?</p>
<p>I had trouble:</p>
<p>john-dimms-macbook-pro:Desktop jdimm$ /Applications/json2aso.app/Contents/MacOS/json2aso foo.json<br />
2009-02-19 16:27:40.695 json2aso[6771:10b] NSDocumentController Info.plist warning: The values of CFBundleTypeRole entries must be &#8216;Editor&#8217;, &#8216;Viewer&#8217;, &#8216;None&#8217;, or &#8216;Shell&#8217;.</p>
<p>For some reason, moving the executable out of its install directory resolved that problem:</p>
<p>john-dimms-macbook-pro:Desktop jdimm$ cp /Applications/json2aso.app/Contents/MacOS/json2aso .<br />
john-dimms-macbook-pro:Desktop jdimm$ ./json2aso foo.json<br />
john-dimms-macbook-pro:Desktop jdimm$ </p>
<p>Now I&#8217;m getting output.  However, there is an annoying message that pops up and requires a click to dismiss:</p>
<p>Adobe AIR</p>
<p>This installation of this application is damaged.  Try re-installing or contacting the publisher for assistance.</p>
<p>Any idea how to avoid that?</p>
<p>Also, I was getting the error described here:</p>
<p>I was getting the error mentioned here:</p>
<p><a href="http://www.justria.com/2008/11/19/if-flexbuilder-complains-about-error-creating-air-file-305-error-10-solution/" rel="nofollow">http://www.justria.com/2008/11/19/if-flexbuilder-complains-about-error-creating-air-file-305-error-10-solution/</a></p>
<p>&#8220;error creating AIR file: 305: ERROR, 10&#8243;</p>
<p>So I made this change to json2aso-app.xml:</p>
<p>The namespace in your example was 1.0.M6.  That didn&#8217;t work for me.</p>
<p>Thanks again!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sasi</title>
		<link>http://www.davidtucker.net/2008/01/23/air-tip-7-using-command-line-arguments/comment-page-1/#comment-2827</link>
		<dc:creator>Sasi</dc:creator>
		<pubDate>Sat, 07 Feb 2009 09:50:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.davidtucker.net/2008/01/23/air-tip-7-using-command-line-arguments/#comment-2827</guid>
		<description>Hi David,

 Thanks for the post. Is there any possibility  to excute a CLI command from AIR. I need to do a  thing like this .
pdf2swf.exe input.pdf output.swf
I need to pass the path of the input.pdf and excute this command. 
Also tell  me Is there anyway available in AIR to convert  set of PDF files to SWFs using Adobe AIR 

Thanks in advance,
Sasi</description>
		<content:encoded><![CDATA[<p>Hi David,</p>
<p> Thanks for the post. Is there any possibility  to excute a CLI command from AIR. I need to do a  thing like this .<br />
pdf2swf.exe input.pdf output.swf<br />
I need to pass the path of the input.pdf and excute this command.<br />
Also tell  me Is there anyway available in AIR to convert  set of PDF files to SWFs using Adobe AIR </p>
<p>Thanks in advance,<br />
Sasi</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: &#187; AIR使用命令行 &#187; WEB实用技术文摘</title>
		<link>http://www.davidtucker.net/2008/01/23/air-tip-7-using-command-line-arguments/comment-page-1/#comment-1388</link>
		<dc:creator>&#187; AIR使用命令行 &#187; WEB实用技术文摘</dc:creator>
		<pubDate>Tue, 13 May 2008 02:38:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.davidtucker.net/2008/01/23/air-tip-7-using-command-line-arguments/#comment-1388</guid>
		<description>[...] 原文:AIR Tip 7: Using Command Line Arguments [...]</description>
		<content:encoded><![CDATA[<p>[...] 原文:AIR Tip 7: Using Command Line Arguments [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>
