Is it possible to run javascript from Indesing SDK?

Hi
I started today developing indesign SDK and have this question.
I already have the javascript in the script folder in indesign.

This blog post might help you... https://blogs.adobe.com/indesignsdk/running-a-script-from-an-indesign-plug-in/

Similar Messages

  • Is it possible to run Acrobat3D from the command line?

    I'd like to know if it is possible to run Arobat3D from the command line in batch mode. I'm interested in knowing if this is possible in either a windows or unix environment.
    My objective is to convert CAD data e.g. CATIA V5 or DXF etc to PDF, in batch mode without using the Acrobat3D interface itself.
    I know that it's possible to run a batch process from within Acrobat3D itself, therefore one solution may be to invoke those batch processes from the command line.
    I've looked through the other listings on this forum and seen this question asked previously, but I've not seen any responses that suggest this is even a feasible concept.

    As of now, it's not possible in the cmd-mode to just remain connected and not stream.
    But the reason you want to do that is because of the long start-up time. That 20 sec time can be divided into:
    1. launch time
    2. time to start encoding (after pressing start button) -> cannot be reduced even if 'connected only' feature is available in cmd-line
    Below are tips you can use to reduce this 20 sec of time:
    1. Lesser the no. of devices connected to the system, shorter is the launch time. Disable the devices which are not to be used in the session.
    2. Try using device indexes (0, 1, 2, etc) instead of device names in the profile. Indexes might change after you disable some of the devices.
    3. Use the profile with correct settings, to avoid any validation errors.
    4. Higher the video size, higher is the overall time. Small sizes take lesser time to start.
    Let me know if you see any improvement in the startup time.

  • Is it possible to run javascript not from documents?

    For example - I put my *.js file into some javascript folder and Acrobat use it (adds menu items...) for all documents
    Is it possible? Working like with plugins...

    Yes, it's possible. Such scripts are called folder-level scripts.
    Here's a good place to start learning about them:
    http://www.acrobatusers.com/tutorials/2006/folder_level_scripts

  • Is it possible to run iTunes from a NAS hard drive so that the content is available to 1st Gen Apple TV and I can turn off my MacBook and still see the content of the library?

    I have a first gen Apple TV with a 160 gig hard drive, it is nearly full with films and music, my iTunes library is well over 190 gig and climbing, the only way I can access all of my music and films is to have iTunes open on my Mac. I have now moved my library to a NAS device and I want to be able to run iTunes so that my entire library is available on the Apple TV without having to have my Mac switched on. So the first question I have, is this possible? Secondly, if it is possible how do you do it?
    The ideal solution would be for iTunes to run from the  NAS as I have already told iTunes my library is there.
    Thank

    You can certainly put your library on a flash drive, though I'd strongly, strongly recommend that you have another copy of your library elsewhere, as flash drives are easily lost, broken or corrupted. You cannot count on tracks always being available for redownload from the iTunes Store, if you have any such.
    The easiest way to move your library is to just drag the entire iTunes folder (the _entire_ folder, _not_ just the iTunes Music folder) to your desired location. Then hold down the Shift key while launching iTunes. You'll be given a dialog box where you can select the iTunes library you want to use. Navigate to and select the iTunes folder in it's new location.
    Note that this procedure assumes that all of your tracks are contained in the iTunes folder. If they're scattered around your volumes, moving them becomes much more complex.  And don't launch iTunes with the flash drive not mounted or iTunes will default back to the internal drive. If it does, though, just mount the external drive and launch iTunes with the Shift key again.
    Don't delete the tracks from the old location until you've confirmed that they're working correctly from the flash drive.
    Regards.

  • Is it possible to run iTunes from a flash drive?

    Hi Everyone,
    I just would like to know if you could run iTunes off a flash drive? It takes up alot of space on my hard drive and was hoping to free some up. I have an 8GB iPod and currently it's filled with 6.08GB of music. I purchased a 16GB flash drive and was thinking I could run it off there. See I don't access iTunes all that often and hopefully won't kill the drive. I guess the next part would be how should I go about it if it's posible?
    Thanks so much in advance!

    You can certainly put your library on a flash drive, though I'd strongly, strongly recommend that you have another copy of your library elsewhere, as flash drives are easily lost, broken or corrupted. You cannot count on tracks always being available for redownload from the iTunes Store, if you have any such.
    The easiest way to move your library is to just drag the entire iTunes folder (the _entire_ folder, _not_ just the iTunes Music folder) to your desired location. Then hold down the Shift key while launching iTunes. You'll be given a dialog box where you can select the iTunes library you want to use. Navigate to and select the iTunes folder in it's new location.
    Note that this procedure assumes that all of your tracks are contained in the iTunes folder. If they're scattered around your volumes, moving them becomes much more complex.  And don't launch iTunes with the flash drive not mounted or iTunes will default back to the internal drive. If it does, though, just mount the external drive and launch iTunes with the Shift key again.
    Don't delete the tracks from the old location until you've confirmed that they're working correctly from the flash drive.
    Regards.

  • How to run javascript from Item Button?

    How to make an Item Button to run a javascript?

    Specify custom URL target as : javascript:yourFunction().
    Alternatively, specify item attributes:
    onclick="yourFunction()"
    Ta,
    Trent
    Edited by: trent on Nov 25, 2010 4:39 PM
    typo

  • Run javascript (not in a jsx file) from the command line extendscript

    Hi all,
    I was wondering if anyone knew how to run javascript from the command line in Extendscript (meaning Extendscript would be the target application). I know about the -run command line flag in which allows you to run a .jsx script from the command line but what I'm looking for similar syntax to run a script directly without needing to put it in a file. For example I have tried (obviously unsuccessfully):
    C:\Program Files (x86)\Adobe\Adobe ExtendScript Toolkit CC\ExtendScript Toolkit.exe -run "alert('Hello World');"
    Thanks!

    You might be looking for something like this: javascript - Is it possible to execute JSX scripts from outside ExtendScript? - Stack Overflow
    Although that one is about executing JSX files, the solutions given (Applescript as well as COM/VBScript) can be adapted to simply run a javascript code snippet rather than JSX file because the solutions simply call the Adobe app's Applescript/COM API to "execute javascript" (actually execute ExtendScript technically), and in the solution, they using includes to pull in the JSX file. You'd simply replace the include with actual javascript code snippet inserted in.
    Though this would then require you to run a VBScript, Applescript, or other script (that calls the COM/Applescript API) rather than the ESTK command line option.

  • Javascript from a Plug-in

    Can I run javascript from a plug-in ? I'd like to change some document features when my plug-in finishes. Is this possible ? If so how ?
    Thanks,
    Matt

    Almost every object inside an InDesign document can have a label. In JS, simply use
    >[whatever].label = "Your private data";
    where "whatever" is anything from Application, Asset, AssignedStory, Assignment, Behavior, Book, BookContent, Bookmark, Button, Cell, CellStyle ... and so on (about 100 items).
    The string may be any string you want, of any reasonable length (I remember seeing a limit of 32,767 characters somewhere).

  • 11.5.10 Step by Step - Run istore from local machine for customization

    Hello,
    Does anyone have step by step instructions on using JDeveloper to run iStore JSPs on local machine with the end goal to customize JSPs? We have 11.5.10. I am using JDeveloper 9.0.3.5. Have tried following steps per lot of metalink notes but none seem to be working. Need to know exactly:
    - what Jdeveloper version to use for 11.5.10?
    - Where to download this version from?
    - Is it even possible to run iStore from local Windows machine using JDeveloper?
    - What is the main iStore page that should be run the 1st time?
    - Any expert available in USA for a 2 week paid assignment to help our team setup Jdeveloper for customization? And give intro lessons?
    Much Help...
    Thanks

    1. The Jdeveloper you use with 11.5.10 will depend on which ATG patch level you are at (see metalink note 416708.1)
    2. It will be in a metalink patch (see metalink note 4167708.1)
    3. I don't believe you can run it locally on a windows machine.
    4. Can't remember it off the top of my head but I will look back in my notes, I'm no longer working at the client site who has iStore.
    5. I know of 3 or 4 experts that I have worked with in Canada on JDeveloper/iStore/Configurator, I don't know anyone in the US but there has got to be a bunch out there looking for work.
    Edited by: mcharchu on Jul 17, 2009 9:20 PM

  • Possible to run javaBean in onClick event?

    Hello everybody,
    Does anybody know if it is possible to run javaBean from onClick event in JSP,
    for example:
    .... onClick="<%bean.doSomething()%>" .......
    It does not work for me, perhaps it is a syntax error??
    Best regards,
    danny

    Hello everybody,
    Does anybody know if it is possible to run javaBean
    from onClick event in JSP,
    for example:
    .... onClick="<%bean.doSomething()%>" .......
    It does not work for me, perhaps it is a syntax
    error??
    Best regards,
    dannywell it wont work, coz onClick event is a client side event which will execute in the browser, to run an server event u have to load a page in a new window so that when the page load it would execute the doSomething() methodof the bean.

  • Running Maxl from business rule

    Hi,
    We have very large BSO cube and we decided to create ASO for aggregation purposes.
    We were thinking of running the replicate partition with Maxl, but we want to do it at the end of every business rule.
    In order to do it we want to have the possibility to run Maxl from the BR. We heard that there is a way to do so, but we couldn't find guide / tutorial / any other thing that will give the proper explanation.
    We are working with 11.1.2.2
    Can someone help?
    Thanks,
    Rami

    duplicate post https://forums.oracle.com/message/11106737

  • Is it possible to run sub vi and main vi at same time from startup?

    Is it possible to run both my main vi and my two sub vi`s from startup, all of them continuously? I have to sub vi`s that are supposed to take in measurements from two different instruments continuously. I manage to make a program where I can open up and close the sub vi`s, but when my sub vi`s are closed, nothing is happening in them...and they start to run again when I open them...and I have to close them if my main VI is supposed to run. So the data in the chart is only from the periodes when the sub vi has been open.
    Thanks in advance for your help!

    I will send my labview programs. "Hovedprogram" is my main vi, "front" and "front 2" is my sub vi`s. I am also using global variables. I have already searched the discussion forum trying to find an answer to my problem, but I haven`t quite managed yet...
    My sub vi`s are not connected to any instrument now, but I have inserted a sinewave-generator and a chart in "front"(my sub vi) so I am able to see that the sub vi actually stop running when i close the window.
    Attachments:
    front2.vi ‏17 KB
    Hovedprogram.vi ‏42 KB
    front.vi ‏69 KB

  • Is it possible to run an application from a user or container login script?

    Is it possible to run an application from a user login script or a container login script?
    A "Force Run" application object works fine if the user's workstation is setup to auto-load "Application Window" or "Application Explorer" but in this case I'd like to run an application when someone does a manual login (ie. they right-click red "N" and choose "Novell Login...")
    Using a User Package's "Scheduled Action Policy" and the Event=Login also does not work when a user logs in manually. This type of Event seems to only apply when the user first logs into the workstation, not at a manual login.
    Thanks,
    Marc

    > Is it possible to run an application from a user login script or a
    container login script?
    Yes, see the documentation:
    http://www.novell.com/documentation/...a/a7q6999.html
    Regards
    Rolf Lidvall
    Swedish Radio (Ltd)

  • Is it possible to run two different versions of Apple operating system (for ex. 10.6.8 and 10.9) on a MacBook Pro, either on the same disk or from an external hard disk? If so, where would I find the details?

    Is it possible to run two different versions of Apple operating system (for ex. 10.6.8 and 10.9) on a MacBook Pro, either on the same disk or from an external hard disk? If so, where would I find the details? (In order to be able to use the older applications no longer supported in 10.9)

    If you want to add a second partition to the internal drive (in Disk Utility, select the drive, then open the partition tab and just click the + button), you should first be sure that you will have enough room to accommodate whatever the second volume will be. I am currently doing this for Snow and Mountain Lion.
    To get to whatever volume is not the startup disk, restart and hold down option/alt at the chime, which will bring up a selection of the two volumes. Use the left or right arrow keys to select it and then hit enter/return.

  • Is it possible to run process chain from the certain process/point?

    Hello
    Is it possible to run process chain from the certain process?
    How?
    Thanks

    Hello,
    yes it possible! use the following steps.
    1. Goto the process which you want the chain to start from.Goto display messages>> Chain tab. In the generated instance note the variant and instance.
    2. Goto table RSPROCESSLOG and give variant and instance and get logid details.
    3. t codese37>> run FM RSPROCESSFINISH.
    4. give the deatils u have got in RSPROCESSLOG table here and say execute.
    This will solve ur problem.
    Hope this helps!
    Reg
    Deepmala

Maybe you are looking for

  • How do I install to JBuilder 2008 R2 using update manager.

    I am trying to install OEPE 11g to JBuilder 2008 R2 using the update manager. JBuilder is now Eclipse based. I add the install site, select OEPE to install and get the following error. Cannot complete the request. See the details. Cannot find a solut

  • Tabindex fails to work when using any adobe component!

    Hello, Does anyone know why the tabIndex does not work as soon as you drag a adobe component to the stage. (Like a buton, combobox, checkbox ..) For example if you have to input text fields, you can you the tab key to switch from the first textfield

  • BPM need help

    Hi I need to develop a scenario like invoice idoc coming from the sap. that idoc we have to send it to the particular customer depending on customer no. we have 1000 customers. how the xi know's invoice is particular customer. if u have any idea plea

  • Regarding Images

    Hi I need to show images in the column of a table on each row. I stored the image in mimes/components/package folder. But in the code , can anyone tell me the url to access the image? Regards Sreekar

  • /usrxit/devenv.env error after running adcfggclone on AppsTier(11i)

    Dear Friends, I am getting the error on 11i su - applmgr -bash: /usrxit/devenv.env: No such file or directory Please let me know the fix. Regards, Arun .N