FSCommand, execute external program

Ask a Question related to Macromedia Flash Actionscript, Design and Development.

  1. #1

    Default FSCommand, execute external program

    Hi,
    i have a problem i wish to submit to you.
    i have created a graphic application on Flash MX, working on a browser.
    My customer use old printers that can't be recognized by windows so he need to use an external exe to send flash generated txt file on the printer.
    I need to call from my flash app (swf on browser) this exe with params so i will be able to print some content on that damn printer.
    The problem is that i read that fscommand(exec) doesnt works from browser,
    so i am asking : is there ANY solution (javascript, vbscript, flash or other) that can help me so my customer can call a local exe from a browser?

    if anyone have clues, that will be great.

    Thanks
    Tonio



    Tonio34 webforumsuser@macromedia.com Guest

  2. Similar Questions and Discussions

    1. Execute VB program within CF
      To start, we are still using CF 5. The user submits a file via a form that then goes to the submit page. On the submit page after some basic...
    2. Execute VB program within a CF page
      To start, we are still using CF 5. The user submits a file via a form that then goes to the submit page. On the submit page after some basic...
    3. How to execute an external (like C++) program?
      Hi, All, I need to execute a command-line utility just after stream publishing is over. Can I launch external EXE's from FCS's server-side scripts?
    4. calling external program usring fscommand
      I M USING FLASH MX 2004 I M TRYING TO CALL EXTERNAL PROGRAM LET'S SAY ORACLE FORM FILE 'IFRUN60.EXE' AND PASSING PARAMETER LIKE THIS IFRUN60...
    5. How can I execute a program with admin rights from a dosbox
      How can I execute a program with admin rights from a dosbox (when logged in as poweruser) are there any parameters for that or any tools?
  3. #2

    Default Re: FSCommand, execute external program

    Only if its situated in the ./FSCOMMAND directory relative to your SWF


    "Tonio34" [email]webforumsuser@macromedia.com[/email] wrote:
    > Hi,
    > i have a problem i wish to submit to you.
    > i have created a graphic application on Flash MX, working on a browser.
    > My customer use old printers that can't be recognized by windows so he need to use an external exe to send flash generated txt file on the printer.
    > I need to call from my flash app (swf on browser) this exe with params so i will be able to print some content on that damn printer.
    > The problem is that i read that fscommand(exec) doesnt works from browser,
    > so i am asking : is there ANY solution (javascript, vbscript, flash or other) that can help me so my customer can call a local exe from a browser?
    >
    > if anyone have clues, that will be great.
    >
    > Thanks
    > Tonio
    >
    >
    >
    >
    Uritsukidoji Guest

  4. #3

    Default Re: FSCommand, execute external program

    Impossible from a browser has to be from a projector file, due to secuirty
    risks.


    Regards
    FlashJester Support Team
    Email : [email]support@flashjester.com[/email]
    Web : [url]http://www.flashjester.com[/url]

    "Just wanted to say thanks! That fixed me up just fine. You guys always =
    respond quickly and have always fixed my problem, which is pretty rare =
    in tech support these days!"


    FlashJester Support Team Guest

  5. #4

    Exclamation Re: FSCommand, execute external program

    You can't call local program from a web application.
    It is normal security measure.

    But you can let SWF file communicate with the server (Tomcat, WAS, Glassfish,...etc)
    Then let the server upload/download data into the local.

    Or you can use AIR on the local to load SWF from server-side into local
    then work on it as EXE file. (Call other apps, read/write data...)
    Major_Cooke Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139