How to use the native Messaging API to open the window program

Source: Internet
Author: User

AskHow to use the native Messaging API to open the window program
    • Cmd
    • Javascript
    • Terminal
    • Chrome
TychioMarch 26, 2013 question
    • concern 1 followers
    • Collection 1 Favorites,5.6k browsing
The problem is helpful, the content is complete, and I want to know the answer .0 problems without real value, lack of critical content, no room for improvement

I wrote a chrome app that opened the CMD program with reference to the Fran?ois Beaufort video, but it didn't work, and it should have been called to the local app that opened the program, but it didn't seem like terminal.bat was executing.
Video link: https://www.youtube.com/watch?feature ...

My code: Apps added to Chrome

**background.js**//on Click Connect to the native terminal Appchrome.browserAction.onClicked.addListener (() {    chrome.extension.connectNative (' terminal ');});  
**manifest.json**{    "My extension",    "0.1",    2}  

Local application:

**manifest.json**{    "Terminal",    "Open Your terminal", "    chrome-extension:// imefmccdbejlchmiempjpojbflghofdo/"}}  
**terminal.bat**OFFCD%systemroot%\system32start cmd.exe

My question is, is there an error in my code? Or is it a chrome version or an OS problem? My chrome is 25.0.1364.172 m and the operating system is window 7. Or tell me how to debug in bat? At a minimum, you can see if the bat file is executed. Thanks a lot!

    • It seems to say that the version is above 29.

      • May 20, 2014 answer
      • Edit
      • 1 reviews

How to use the native Messaging API to open the window program

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.