Quantcast
Channel: Adobe Community : Popular Discussions - AIR Development
Viewing all articles
Browse latest Browse all 24121

how can I run a .bat file from an html/javascript adobe air installation package?

$
0
0

I write an html/javascript code which works completely true

but when I made the installation package by air-sdk

it dosent work properly

 

my code is:

 

<html>

<head>

    <title>Hello World</title>

          <script type="text/javascript">

        function appLoad() {

            air.trace("Hello World");

        }

    </script>

</head>

<body onLoad="appLoad()">

    <h1>Hello World</h1>

          <br />

<button onclick="window.open('file:///C:/Windows/notepad.exe')"> Launch notepad </button>

<button onclick="window.open('file:///D:/opennotepad.bat')"> Launch batnote </button>

</body>

</html>

 

Chapter 5: Creating your first HTML-based AIR application with the AIR SDK


Viewing all articles
Browse latest Browse all 24121

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>