Turn a script into an .exe file?

Hi,
How can I turn a JavaScript into an .exe file (on Windows)? The
advantage is that if the script uses only ScriptUI features, it will
never need to launch InDesign. Additionally, it is possible to package
it that way with a special icon that appears if it is placed on the
desktop, and when it runs the icon appears in the taskbar.
An example of what I'd look to achieve is the hyphenchecker script,
written by the late Teus de Jong. There is one Windows-only version
available on his website (which is still being maintained, probably by
his son) which is an .exe file -- precisely what I'm trying to do.
Thanks,
Ariel

straight form javascript i don't think there is a way.
however you can use, i think, Visual Basic (not vbScript!!) as a wrapper for js (using doScript)?

Similar Messages

  • How to convert erl scripts into single exe file ?

    hi
    this is not related to java. Does anybody know how to convert perl scripts into exe file in non-readable format?
    regards
    venki

    I believe that ActiveState used to do a Perl compiler.....not sure if they still do and I don't think it was free anyway. Check around their website...
    http://www.activestate.com/

  • How can I script a Flash .exe file to always stay on top of all other windows?

    Hi All,
    I'm new to action script, and I just need this one script
    > How can I script a Flash .exe file to always stay on top of
    all other windows?
    Basically what i want to do is have a flash-created
    step-by-step instructional movie, but for the movie to remain on
    top of all windows so the instructee is able to follow the
    instructions on-screen...
    It would be preferable to not have to buy another product
    just to do this... as I said, this is the only scripting I need.
    Thanks in advance
    Cheers
    Rick

    if you create your exe with mProjector you can use one of its
    new AS
    commands to do this.
    setZOrder
    http://www.screentime.com/software/mprojector/docs/mWin_setZOrder.htm
    all APIS
    http://www.screentime.com/software/mprojector/docs/index.html
    Demo
    http://www.screentime.com/software/mprojector/demo.html
    mProjector installs new classes and help into Flash, to
    enable them you
    must build your app with mProjector (its input is your swf)
    John Pattenden
    Screentime Media - Flash Tools since 1997
    http://www.screentime.com

  • Conversion of a .jar OR a .class file into a .exe  file

    Can anyone tell me as how to convert a .jar OR a .class file into a .exe file
    I need to know as soon as possible.

    Okay I will tell you the steps:
    Look in the top right hand corner of the page.
    There should be a box with a red title line. Inside the
    title should be the letters 'S E A R C and H'.
    In the white part of th box should be a smaller line, in which you can type.
    type in "conversion .jar .class .exe" or some similar string.
    Then click on the button next to the text box.
    Read the page of results you get.
    Click on the first link and read what is said on the connecting page.
    If that doesn't help, use your browser's back button and click on the next link, and repeat util your question is answered.

  • Compiling JAVA into Windows .exe files

    Hi,
    Here's an easy question - how do you compile JAVA source into Windows .exe files (as opposed to class files with bytecode in them). I imagine there is a third-party product out there somewhere?

    A Bayesian network is a mathematical representation of logical inference.
    A very simple example has two nodes: "has tail" and "is horse", connected by a single link. If we know "is horse" is true, then it nearly always follows that "has tail" is also true. This is called modus ponens in logic. If we know "has tail" is true, then "is horse" might be true, but it might not. To infer that "is horse" is true in such a case is to commit what is called the fallacy of affirming the consequent, in logic. However, using Bayes' theorem, which would require that we know some general information about the prevelance of horses among tailed animals, and the general prevalence of horses among things in general, we can measure the exact increase in the probability that "is horse" is true that results from our knowing "has tail" to be true.
    For more information, see http://www.bayesian.org
    The classic book on the subject is Judea Pearl, Probabilistic Reasoning in Intelligent Systems.

  • How to turn a Java Application an .exe file?

    Hello, I'am just above new commer in Java world. I was wondering if anyone could help me. I just developed an application in java, how can I turn it into exe file? is there a way I can run this application without the "Command" promt (window) running?
    Pls. help my email address is "[email protected]"
    Any assistance will be largely appreciated.

    you can try the J++ compiler provided with the JBuilder from Microsoft but this is just compiling the java to C++. to create a standalone exe is as far as I know impossible. U can try to use a jar-archive (create with the sdk) and if a Java Virtual Machine is installed (normally with every popular web-browser) it will run with a doubleclick

  • How to pack .class or .jar with jvm into an exe file?

    In fact, .class or .jar files are middle layer files who need JVM to explain and run them. Sometimes it's unconvenient. Why not provide some tools to pack .class or .jar with jvm into exe file?

    because java should be able to run on any OS. That is why SUN doesn't provide such tool. There are other company's who does provide such tool. Like JBuilder enterprise

  • Multiple projects combined into one .exe file

    Hi there.
    I'm new to Captivate and have a task that is just daunting to
    me. I have a very lengthy CBT which I do not want to build using a
    menu, but rather a continuous string of lessons that prints a
    certificate of completion at the end. I am faced with several large
    file sizes that will not fit in one project (I've kept each project
    less than 55 slides & cleaned up the unused library items).
    However, I need to publish to only one .exe file, and it doesn't
    seem like daisy chain-ing fits my requirement (for just one .exe
    file). Is this even possible, and how do I do this in Captivate3?
    (My Flash skills are nil.)
    Thanks in advance for your reply.

    Welcome to our community, Georgia
    Sorry, but there is no way to consolidate all the files into
    a single file unless you combine them into a huge gnarly project.
    The only option that would seem to make sense is to daisy-chain
    them together, but it seems you have precluded this.
    Cheers... Rick

  • Quick Tip: How to turn a website into a PDF file | Acrobat X Tips & Tricks | Adobe TV

    In this tutorial you'll learn how to convert a web page or entire website into a PDF file using Acrobat X or XI Std. or Pro.
    http://adobe.ly/zFONn4

    How can i generate pdf from website which requires logon (2 level)?

  • .class file into the .exe file - simplest possiblity ???

    Dear All,
    I have a java program....and the compiled ".class" file for this....basically, it is a Frame..i will run this said program from my command prompt like,
    C:\java megalaunch
    ...the frame will appear now....
    what i want to know is .............Is it possible to change this said class file, in to an .exe file...so that, (instead of going for a command prompt for running the said program) i can just double click the said .exe file and start that said Frame....
    pl. post a reply,
    Sakthivel S.
    P.S: I dont want to use the batch file option for the above...

    Easier (and more reliable, smaller. etc) than creating an executable .exe file is to create a Windows (desktop) shortcut to the GUI program, or create an executable .jar that packages your GUI. Both are executable/clickable solutions.
    Use a desktop shortcut or an executable jar file:
    http://developer.java.sun.com/developer/qow/archive/21/index.html

  • Turning Upload script into multiple upload script

    Hi all,
    I would like to change the following script so it is able to handle 2 file uploads. With a basic understanding of PHP, this is a bit beyond me and you may laugh and the initial attempt (found at the the bottom of the post).
    Here is the original script for one upload:
    <?php
    //this is the directory where the images images will be saved
    $target = "../IMAGES/books/";
    $target = $target . basename( $_FILES['imageURL']['name']);
    // this gets all the other info from the form
    $name=$_POST['name'];
    $publication=$_POST['publication'];
    $year=$_POST['year'];
    $desc=$_POST['description'];
    $link=$_POST['linkToBuy'];
    $price=$_POST['price'];
    $pic=($_FILES['imageURL']['name']);
    // Connects to your Database
    mysql_connect("localhost:8889", "root", "root") or die(mysql_error()) ;
    mysql_select_db("keithMcCarthy") or die(mysql_error()) ;
    //Writes the information to the database
    mysql_query("INSERT INTO books (name,publication,year,description,linkToBuy,price,imageURL)
    VALUES ('$name', '$publication', '$year', '$desc', '$link', '$price', '$pic')") ;
    //Writes the photo to the server
    if(move_uploaded_file($_FILES['imageURL']['tmp_name'], $target))
              $note['success'] = 'The file '. basename( $_FILES['imageURL']['name']). ' has been uploaded, and your information has been added to the directory';
    else {
              //Give an error if it's not
              $note['error'] = 'Sorry, there was a problem uploading your file.';
    ?>
    Here is my attempt - it sends everything to the database but does not upload the file and gives an error "Sorry, there was a problem uploading your file." At leat that is working.
    <?php
    //this is the directory where the images images will be saved
    $target = "../IMAGES/books/";
    $targetTwo = "../IMAGES/books/";
    $target = $target . basename( $_FILES['imageURL']['name']);
    $targetTwo = $target . basename( $_FILES['imageURLtwo']['name']);
    // this gets all the other info from the form
    $name=$_POST['name'];
    $publication=$_POST['publication'];
    $year=$_POST['year'];
    $desc=$_POST['description'];
    $link=$_POST['linkToBuy'];
    $price=$_POST['price'];
    $pic=($_FILES['imageURL']['name']);
    $picTwo=($_FILES['imageURLtwo']['nameTwo']);
    // Connects to your Database
    mysql_connect("localhost:8889", "root", "root") or die(mysql_error()) ;
    mysql_select_db("keithMcCarthy") or die(mysql_error()) ;
    //Writes the information to the database
    mysql_query("INSERT INTO books (name,publication,year,description,linkToBuy,price,imageURL,imageURLtwo)
    VALUES ('$name', '$publication', '$year', '$desc', '$link', '$price', '$pic', '$picTwo')") ;
    //Writes the photo to the server
    if(move_uploaded_file($_FILES['imageURL']['tmp_name'], $target))
      $note['success'] = 'The file '. basename( $_FILES['imageURL']['name']). ' has been uploaded, and your information has been added to the directory';
    else {
      //Give an error if it's not
      $note['error'] = 'Sorry, there was a problem uploading your file.';
    if(move_uploaded_file($_FILES['imageURLTwo']['tmp_name'], $targetTwo))
      $note['success'] = 'The file '. basename( $_FILES['imageURLTwo']['name']). ' has been uploaded, and your information has been added to the directory';
    else {
      //Give an error if it's not
      $note['error'] = 'Sorry, there was a problem uploading your file.';
    ?>

    Thank you for your help, trulfy!
    However, I am so new to all this that I don't really even understand your reply or how to do it...
    Maybe you could put it in more simplistic terms/steps?
    Thank you anyway!

  • How do you turn java code into an .exe or etc...

    I can't seem to figure out how to turn my java code into an executable in windows so that it runs by itself without a comipler, can someone help? (without using visual J++).

    I can't seem to figure out how to turn my java code
    into an executable in windows so that it runs by
    itself without a comipler, can someone help? (without
    using visual J++).I saw a tutorial on that, you might want to check it out.
    http://developer.java.sun.com/developer/onlineTraining/new2java/divelog/?frontpage-headlinesfeatures

  • Turning DVD Player into a .mov file?

    Rencectly,I recorded from my camera and converted it into a program named "DVD Player" and it only opens with it,when I insert the disc it shows it up,but the disk has files named "VIDEO_TS" and "VIDEO_RM" Is there anyway to convert it into a .mov? Here are the files that are inside these files:
    VIDEO_RM
    VIDEO_TS

    The presence of the Video_ files indicates that this is a DVD that is meant to be played in a DVD player.
    If the disk is not a commercial product then there are programs available that will rip the dvd and make it possible to convert it.
    Discussions about doing this are not allowed here (in fact this post may not make it). The best I can say is google what you are looking to do.
    regards

  • Turn my .class files into .exe file

    Does anyone know a good install shield program for Java? I'm currently using a program called Install4J. But the problem is that after I installed the program all my .class files are basically copied into the destination folder. Is there a program that can combine all the .class files into an .exe file or maybe a library file? Thanks
    Bohua

    gee, that's never been asked before... good thing you didn't waste precious time searching the forums first.

  • Generating exe file for fdk script : getting error

    we trying to convert FM file to PDF using FDK asynchrouns script. we are getting below error while running attched script to crete exe file .
    Error "the application has faield to start because icuu32.dll was not found . re- installing the application may fix this problem"
    Script :
    #define DONT_REDEFINE // Console app needs native types
    #define WBUFLEN 512
    #include "fdetypes.h"
    #include "futils.h"
    #include "fapi.h"
    #include "fstrings.h"
    #include <windows.h>
    #include <ddeml.h> //not required
    #include <stdarg.h> //not required
    int main(int argc, char **argv)
    StringT opt_progid;
    CLSID pclsid;
    LPOLESTR progStr;
    HRESULT res;
    F_ObjHandleT docId;
    // Get the process name.
    if(argc == 2)
    opt_progid = F_StrCopyString((StringT)argv[1]);
    else {
    fprintf(stderr, "You must provide a process name.");
    return(1);
    // Convert the process name into a GUID
    progStr = (OLECHAR*)malloc( WBUFLEN*sizeof(wchar_t) );
    if(0 == MultiByteToWideChar(CP_ACP, 0,
    (char *)opt_progid, -1,
      progStr, WBUFLEN )) {
    fprintf(stderr, "failed to allocate\n");
    return(1);
    if (progStr[0] == '{') // hex-codes within brackets
    res = CLSIDFromString(progStr, &pclsid);
    else
    res = CLSIDFromProgID(progStr, &pclsid);
    if(res == S_OK)
    F_ApiWinConnectSession(NULL, NULL, &pclsid);
    if (!F_ApiAlive()) {
    fprintf(stderr, "No connection: %s\n", opt_progid);
    return 1;
    // Print the name of the current document.
    docId = F_ApiGetId(0, FV_SessionId, FP_ActiveDoc);
    if (docId) {
    StringT docname = F_ApiGetString(FO_Session, docId,
                                                       FP_Name);
    fprintf(stderr, "Current document: %s\n", docname);
    F_ApiDeallocateString(&docname);
    } else
    fprintf(stderr, "No active document\n");
    return 0;
    we have got below steps from one of adobe person :
    Steps. 
    can you please explaine clearly The above steps  and how can we generate PDF for a FM file without manual intervention .
    the actual requirement is :
    1) Goto installed location of FM and launch framemaker with specified process id.
    eg : $Installdir\FrameMaker.exe /progid:MyProcess
    2) Build the asynchronous client exe\dll with the help from attached sample client.
    3) Goto the location where client exe is copied and then run with specified FM process id.
    eg : asynch_script.exe MyProcess
    To resolve few dependencies, you can also copy the client exe to installed location of FM. So the above step in that case would be
    $Installdir\ asynch_script.exe MyProcess
    Hi All , We are going for upgrade of  Frame maker 8 which is on unix system  to FM 10 or 11. We are using Framemaker mainly for renditions, i.e to convert the fm documents to PDF. To convert fm document to PDF we are using the below mentioned command line utility available in FM 8.(on unix). /opt/app/frame8.0/bin/fmprint -i -p Sample.fm.fmtpl Sample.fm Currently the the fm file which need to converted to PDF and the FM 8(installed) are available on the same unix system ,so we were able to initiate/use the command line utility of FM 8. The rendition of the FM to PDF is On -Demand.( We are not running any batch activities/ bulk renditions).We are rendering the document as soon as the document  is available. As we upgrade the FM to newer versions which would be installed on the Windows machine as Frame maker 10 or 11 will not support unix plat form, so can you please let us know which option is better to use i.e we want to convert fm file to PDF using java program without any manual intevention . we came to know that about FDK and extend scripts but we are very new to those !! could you please any one can provide us ways and provide us sample codes/scripts to convert FM file to PDF !! and please let us know which one is better client / server version to do this .
    please heklp us as it is very important

    Ramesh
    I am not clear which platform that you are asking this question for. Here is an answer for Windows.
    The icuuc32.dll is one of several unicode support libraries. These files are usually included in same directory as FrameMaker.exe (e.g. c:\Program Files\Adobe\FrameMaker11).
    If your asynchronous client is located in any other directory than this directory, icuuc32.dll will not be found when your asynchronous client starts. You need to set your Windows environment "Path" variable to include it's location (e.g. c:\Program Files\Adobe\FrameMaker 11). The "Path" will be searched when your asynchronous client starts and these files should then be found.
    with Windows Vista (I think Windows 7 in the same) the "Path" is set in Control Panel | System | Advanced System Settings | Environment Variables. I would suggest adding C:\Program Files\FrameMaker11 to the "Path" in the system variables.
    There will be several files in this directory that your asynchronous client needs to start.
    Hope this helps

Maybe you are looking for

  • How can I delete an email on my iMac without opening it - I know it contains a virus

    I have an email account on my 2013 iMac - how can I delete an email on the account without opening it - I know from the subject that it is a virus

  • Passing a parameter to a formula

    Ok - tried everything and I am at a loss... I need to pass a parameter to a reportĀ  in order to provide the path of the images to a report. The path is contained in the web.config and extracting that in a code behind variable works fine (szReportsIma

  • GRC-AC 5.3sp14, ERM, Role Generation

    We updated our GRC-AC 5.3 from sp12 to sp14 and now we cannot generate roles anymore. When we try to do it, we get the following error: "Failure : Field AGR_1252 not a member of TABLES". Does any one know how can we solve it? The backends were also u

  • AnyConnect - clinet disconnect after while

    Hi all, really dont know what's causing client to get disconnect. Scenario: after couple of tries, clinet authenticate to the AAA, but it get disconnect with the following error on syslog. ASA-4-113038 ASA-4-716007 per cisco this is due to the below.

  • Can't send photo attachments on email

    I've had my LG G2 for about 5 weeks, and have never been able to send a photo attached to an email. They go fine on text messages, just not email. I always get "sending incomplete." I've resized, checked every setting I can find, and it just won't wo