Execute JSX in Windows?

execute JSX in Windows? through PHP application

I do not know PHP scripting language at all, However I think most scripting languages have a mothod to execute or have a file execute. For exeample in javascript if I want to give the user help that is on my web site.  I create an new html file in their temp folder and execute it.  The a windows system will have an assoaction to some executable for html files to a default web browser.  So in my case what should happen is the users default browser is pass the html file my script created which redirects the browser to the help on my web server. JSX is most likely assocated with the extended script toolkit you may need to associate it to photoshop. If you know java script here is what my code looks like
try{
   var URL = new File(Folder.temp + "/PhotoCollageToolkit.html");
   URL.open("w");
   URL.writeln('<html><HEAD><meta HTTP-EQUIV="REFRESH" content="0; url=http://www.mouseprints.net/old/dpr/PhotoCollageToolkit.html"></HEAD></HTML>');
   URL.close();
   URL.execute();
}catch(e){
alert("Error, Can Not Open.");

Similar Messages

  • Executing sqlplus in windows batch file - URGENT

    Hi
    Is it possible to run sqlplus.exe thru batch file as follows.
    set PATH=%PATH%;C:\oracle\product\10.2.0\client_1\BIN;
    host sqlplus userid=test1/test12@testdev
    sELECT * FROM CASESTATUS
    Thanks
    murali

    hI
    It did not work. I have this question.
    1. Do I have to run this opening SQL/PLUS and then submit
    @C:\Test\SQL2.bat
    2. Or from Windows command run SQL2.Bat
    I tried both of them , it did not work. If I try from windows , I am getting SQLPlus connection window at all.
    Please help me.
    Murali
    set PATH=%PATH%;C:\oracle\product\10.2.0\client_1\BIN;
    sqlplus userid=test1/test12@testdev
    Ok so far but your select needs to be in a file if you want this to be executed.
    Put this in, f.ex, run.sql
    >>
    sELECT * FROM CASESTATUS
    >>
    then you can use
    sqlplus userid=test1/test12@testdev @run.sql <complete path if needed>

  • Is it possible to run a Labview executable on a Windows 8 Phone?

    If I create an executable from Labview,will it be possible to run it on a Windows 8 phone?
    Solved!
    Go to Solution.

    No, as Mike already said.
    The reason being that a LabVIEW executable contains binary code that is compiled for the x86 CPU architecture and accesses the Win32 API. Windows Phone typically runs on ARM or RISC CPUs and did only provide a very limited Win32 subset in the past. With the new Windows RT technology it actually moved even further away from Win32 compatibility as it's entire architecture is based on the .Net technology.
    So even if you happen to get an Intel Atom based Windows Phone device which would be x86 compatible it couldn't work, since a LabVIEW executable is a Win32 portable executable format not a .Net bytecode image.
    Rolf Kalbermatter
    CIT Engineering Netherlands
    a division of Test & Measurement Solutions

  • The sign of my monitor is lost when I execute chkdsk, in Windows XP Pr

    Hello, my Name It's Jorge
    I have:
    ---VIDEO: MSI-GEFORCE 4 MX 460-VTP
    ---MOTHERBOARD INTEL : D850EMV2 , BUS: 500 MHZ
    ---PROCESSOR: INTEL PENTIUM 4, 2.4 GHZ
    ---MEMORY:  RIMM 512
    ---DISK: MAXTOR 6Y080LO (80 GB, 4 PARTITIONS, NTFS )
    ---SO: WINDOWS XP PROFESSIONAL WITH SERVICE PACK 1
    When I install the version  4403 (MSI  Version) or 44.XX, I lose the signal of the monitor when executing chkdsk in my Windows XP, this does not happen when I use version 3.51.000 or previous....This also happens before showing the  login screen.
    please, help me.... ;(
    mail: [email protected]

    take it easy.....
    the simple reason is:
    Delivers an incredible 30% increase in performance over previous Detonator 40 drivers**
    nView™ 2.0 multi-display technology increases productivity and provides the necessary tools to control the way users access and view applications.
    NVRotate™ enabling image rotation on today’s advanced flat panel displays.
    NVKeystone™ allows for real-time image correction on portable projectors and heads-up displays.
    Digital Vibrance Control™ 3.0 allows users to adjust color controls to achieve accurate, bright colors under all conditions.
    I LIKE THIS OPTIONS....I USE THAT...
    but if you tell me...use the old driver with out this options....
    ok...no more questions....
    good bye...

  • Cannont run executable​s in Windows 8

    This problem has been probably solved, but I could not find a thread in this forum to explain whats the solution to the below problem:
    We have developed a software pacakge in LabView 2012 SP1. The installation works fine in all versions of Windows from (XP 32Bits to 764Bits Pro), However after installing the softwrae in a new machine with Windows 8 32Bit (this PC used to have Win7 and used to run the software just fine) I get the following message:
    " the vi is not executable the full development " (multiple times in a single dialog).
    Any clues how to fix this?
    Should I upgrade my LabView or is this just as easy as changing couple of checkboxes in project settings? Also, I dont care how big my installer will be as long as it will run on the new machine.
    Thanks for you help and looking forward for your tips!
    Solved!
    Go to Solution.

    I resolved the root of the issue!
    Its about having an older versoin of MS .Net Fx installed!
    (LV needs 2.0 and 3.5 which the software installs it itself but win 8 only comes with 4.5 enabled.)
    This page describes how to turn on/off windows features:
    http://windows.microsoft.com/en-ca/windows-8/net-f​ramework-windows-8
    Thanks everyone!

  • LrTasks.execute problem on windows

    Hi everybody,
    I wrote a script to convert image after export. It works very well on Mac, but I can't run the same function on Windows.
    This is the part of the wrong code:
    -- pluginPath = path of the plugin like ~/plugin.lrplugin/
    -- filePath = path of the image like ~/image.cr2
    -- output = path of output command like ~/image.txt
    local binExe = 'start ' .. pluginPath .. '\\bin\\convert.exe' -- not working
    if MAC_ENV then
    -- exec path for Mac (& force language to english; seem to be unnecessary LANG=C LC_ALL=C LANGUAGE=en)
    binExe = 'exec "' .. pluginPath .. '/bin/convert" '
    end
    command = binExe .. '"' .. filePath .. '" > "' .. output .. '"'
    result = LrTasks.execute(command)
    I tried a lot of combination with simple or double quote but nothing!
    I hope you can help me to solve it!
    Many thanks
    Tof

    Hi Rob,
    I encountered some problem on my v2. It's seem come with the require of my custom functions.
    Could you test it please ?
    https://bitbucket.org/kichetof/lr_cr2hdr/downloads/cr2hdr.2.0.zip
    On my mac it works right!
    Okay require fail... I put the function into the main file and a change basename with LeafName
    this is the new version of the file https://bitbucket.org/kichetof/lr_cr2hdr/raw/c58124667af3989f1811cf48e50f6c4b2f2bedbf/MLEx portServiceProvider.lua
    The v2.0.2 works now on windows   https://bitbucket.org/kichetof/lr_cr2hdr/downloads/cr2hdr.2.0.2.zip

  • Unable to execute embedded application windows azure in Windows Vista and Server 2008

    I'm having problems to install the backup application Azure.
    In Windows Vista and Server 2008 .
    I segudo instructions :
    http://support.microsoft.com/es-es/kb/2934202
    But I still can not install the agent.
    When I run it , it is decompressed and then a window with an error.
    Anyone else happens ?

    The message that Windows creates me exactly is:
    Unable to execute the embedded application to complete the installation.
    After being , checking this:
    Microsoft .NET Framework 4
    Microsoft Visual C++ 2008 Service Pack 1 Redistributable Package MFC Security Update
    Windows PowerShell 3.0 (my machine is 2.0)
    Microsoft.NET Framework 4 Client Profile (installed)
    Microsoft Visual C++ 2008 Service Pack 1 Redistributable Package (installed)
    The announcement of support Server 2008 64bit versions .
    https://msdn.microsoft.com/es-es/library/azure/jj573031.aspx#BKMK_testsrv
    I realize that my machine is 32bit Server 2008 Standard
    http://azure.microsoft.com/blog/2014/10/06/announcing-support-for-backup-of-windows-server-2008-with-azure-backup/
    It occurred to me descompri the MARSAgentInstaller package.
    Run the application, but being 32bit my system , I think the Agent application is 64bit Copies Azure .
    For this throws an error commenting same .

  • Running a model dll as an executable on a Windows computer (Error 1013)

    I have a Simulink model that I am trying to make into an RT executable with a GUI to be run in Windows.  The model was made with R2007b+, and I am using SIT 5.0 and Labview 8.6.  Through Real Time Workshop I created an NI dll.
    I created a VI and ran the SIT connections manager to link the VI to some constant blocks in my model that I wanted to be able to change the values in.  This was done selecting the Driver VI on Localhost option.  I then built an exe using my interface VI and the driver VI that was generated.
    When I run the exe I press play in the model controls box that was generated.  When I try this I get an Error 1013 occurred at Driver VI: Possible reason: LabView:  Cannot load front panel.
    My questions are is what I am trying to do feasible: (as far as making an executable that I can run on a Windows computer in real time with a Labview GUI that allows me to change parameters)?
    If this is feasible, am I going about it in the right way?  If I am, how do I work around this error?
    Thanks.

    When running the host interface VI as an executable you must start the driver VI manually.  The code that starts the driver VI automotically assumes that the LV project is available.  However the host interface VI will attempt to connect to a running simulation first.  If it fails to connect to the SIT Server, it assumes the driver VI is not running and tries to start it.  There fore if you make sure the driver VI is runing before you start the host interface it will work.
    There are a number of ways to start the driver VI before the host interface VI.  If you have LV available you can open the driver project and open the driver VI and run it.  Since your host interface is an executable you presumably don't have LV available, so this is probably not an option.  If the driver VI is also running on Windows, you can either build an executable of just the driver VI and run the executable or you can add the driver VI to the host interface VI such that it executes in parallel to the host interfac code.  If you are including the driver VI as a subVI of the host interface VI you will want a small delay before the host interface code starts executing to ensure that the driver VI has been able to start the SIT Server.  If on the other hand your driver VI is running on an RT target, then you will want to build it into a startup executable on the RT target (see third link in Kyle's post).
    Carl L
    National Instruments

  • Running executable JARs from Windows

    Hi!
    I have this executable JAR file with no problems for running it from the Windows console using the "java -jar jarfile" command. But if I double click the same JAR file in Windows explorer I get a "Main class not found" error. Does anyone know what's happening here ?
    Thanks in advance

    I think the following varies somewhat depending on which Windows you are using. On Win 2000 in a Windows folder, select Tools menu, Folder Options and select File Types. Then select JAR and click on Advanced. Under Actions, there select "open" and click on Edit. For the Application, you should see something like "C:\Program Files\Java\j2re1.4.1_01\bin\javaw.exe" -jar "%1" %*

  • Executing JAR Files Windows 98 and XP

    Hey can someone please help me.
    I made an executable jar file the extract contents of a jar file. In windows XP it runs fine, however in Widnows 98 it does not, has anyone come across this problem? Any info would be greatly appreciated.
    Thanks

    Well When I try, On a windows XP machine it shows the progress bar I made, and extracts all the files to the c drive. On Windows 98 It shows the progress bar but will not extract the files to the c: drive folder.
    The program simply gets all the files that are within the jar file, and puts their names in a Vector, then takes the names from the Vector and Extrats the ones that need to be extracted.
    Any other Ideas, I know this sounds very wacky thats why I am in need of help.
    Thanks for the ideas.

  • Erron when execute stopsap from Windows

    Dear Expert,
    my company use OS Windows. When I execute from command line the command "stopsap name=<SID> nr=<SYSNR> SAPDIAHOST=<host>" nothing happens. If I see the stopsap.log I read this:
    SAPSRVKILL failed on SSSMVV01_SSM_00: -2147312566
    Cannot connect to DCOM Interface of Start Service: -2147312566
    sapntwaitforhalt.exe=>sapparam(1c): No Profile used.
    running sapsrvkill.exe SSSMVV01_SSM_00
    running sapntwaitforhalt.exe name=SSM nr=00 SAPDIAHOST=SSSMVV01 3600
    Please help me.
    Regards.

    in general I would strongly recomment no longer to use stopsap and startsap for scripting.
    as of 700 we have sapcontrol.exe which has a much wider functionality to control your SAP system.
    for more information about sapcontrol just open a command box as SIDadm and type in sapcontrol.exe.
    a good way to start the system is:
    sapcontrol -nr 00 -prot PIPE -function Start
    sapcontrol will provide returncodes which are more usefull than the one of the older tools.
    regards
    Peter

  • Jsx + UI window + Markers

    I'm not a programer, but will be very useful to me to have a Jsx that makes a UI window with 10 buttons that add markers with preset texts to a selected layers.
    Does anybody can help me with this ?
    thanks

    http://blogs.adobe.com/aftereffects/files/2012/06/After-Effects-CS6-Scripting-Guide.pdf?fi le=2012/06/After-Effects-CS6-Scripting-Guide.pdf
    Go to page 102 in the CS6 Scripting Guide pdf, that chapter talks about the MarkerValue object.
    As for the selected layer part:
    var curComp = app.project.activeItem;
    var mySelectedLayers = curComp.selectedLayers;
    var mySelectedLayersTotal = mySelectedLayers.length;
    for(var i=0; i<mySelectedLayersTotal; i++){
        alert(mySelectedLayers[i].index);/*CHANGE THIS CODE LINE TO YOUR APPLY MARKER CODE*/

  • Execute COMMAND on windows

    Hello,
    in my CONSOLE opens a program (Pf) and it is written by me the following at the CONSOLE:
    C:\>pf -Pcts12
    42
    ^Z
    ^Z
    ^Z
    -my ask is: as I can write the way of writing standing above in java a code?
    Yours sincerely

    I'm not sure what you're asking.
    If you want to use Java to execute an external comman, yes, you can do that with the various java.lang.Runtime.exec methods.
    You'll want to read this though:
    http://www.javaworld.com/javaworld/jw-12-2000/jw-1229-traps.html

  • Help for execute javascript in windows

    Dear developers i am new for using java script in acrobat please tel me where i write my java script and how can i execute please give a sample for read a pdf file and write it in a new file
    thank you....................

    Do you want to copy an entire page or a collection of indidual words? Do you want to create a new document or copy the content into an existing document?
    It's possible to read individual words using JavaScript, but you don't get punctuation and a lot of other things that can be on a page, and words may not appear in the order you think they should.
    It's also possible to insert pages from one document into the current document using JavaScript, and you can create a new document with JavaScript using the Report object, but you cave limited control over the layout.

  • Executable Java under Windows

    Hi there!
    I would like to know if there's a possibility to create a Windows-exe of a java-program, because I need to make a program runnable on Windows machines without installation of the JavaVM (as my customers generally neither have Java preinstalled nor admin-rights on their machines).
    Is there a program that can create an exe including, next the the class-files of the program itself, the VM and the API in order to run the program without any previous installation?
    Another possibility I was thinking of is to take an extracted JRE and start the jar containing the program by calling the JRE from a bat-file. Is this likely to work? Or does the JRE require a correct installation on a Windows system?
    Thank you very much in advance!
    Znerole

    >
    Look on the thread about 20 topics down its called
    'javaexe'Mmm, thanks, I've already seen that. That's not what I'm looking for. I want my java-program to run on a windows-machine WITHOUT a preinstalled JRE. I need this because common-use office pcs usually don't have a JavaVM installed and most users don't have rights on these computers to install one.
    One solution would be if I had a JRE-version that could be started right away on any windows-computer (from a cd, for example) without preceding installation. Of couse any other solution (is there any?) is welcome too. :-)

Maybe you are looking for

  • Selection screen field

    Hi, A field in the selection screen of the report program should be disabled by default. I have written the logic for the same in at selection-screen output. If the user enters value in another field in selection screen,the field should be enabled fo

  • Video cameras no longer connecting to Final Cut Express

    I have two video cameras (Sony TRV-25 and Sony HDV-A1U) which are no longer connecting to Final Cut Express through the firewire (4-pin to 800). I get the "unable to initialize" message. What's weird is that they were working fine just last month. I'

  • Invoice correction request -- Debit Memo

    Hi, I am able to create the Debit memo with respective RK(invoice correction request). But the value in debit memo billing document is negative.  So, accounting entry is going with negative value. Can any body suggeest me whether it is correct proces

  • How can I reboot my Ipad when I do not have access to the power off screen?

    My device slide off my couch while in its cover. IT was working afterwards, for about 5 min. I sat it down while I took something out of the oven and was back maybe 5min. or so later. When i try to access it, all I see is a black screen. I cannot unl

  • Enhancement Set

    Hi, Knowingly or unknowingly we have created two enhancement sets for enhancing different components. Enhacement Sets            Components                       Client Assigned To (SM30)          z1                         BP components