A script can run another script?

Ladies and gentlemen,

I don't know of a function call to another file for which I used the #include directive. I want to run a .jsx I don't know until run time.

So far, I found this: If a script file contains

#target framemaker

It is possible to use line (lvFilename) () .execute (without the target instruction that would just open the script in ESTK).

But: The execute() method triggers a warning that I need to run only scripts that are from reliable sources (or so...).

Is there another method to run other scripts? Or y at - it a way to make my trusted scripts?

-Michael

Michael, here's another idea of eval():

scriptFile var = File('/c/Projects/ExtendScript/Alert.jsx');
var script = "#include" + scriptFile.fullName;

eval (script);

I tried this and it handles nested #includes and $. Filename. I can't be sure it would work in any case however. I think there must be a more elegant way...

Ian

Tags: Adobe FrameMaker

Similar Questions

  • How do I powershell environment of default configuration that I can run scripts which the cmdlet Vsphere?

    I am a newbie for two worlds VSphere and Powershell.

    My requirement is to call a script that uses the Vsphere using default windows powershell cmdlet.

    What are the settings I must perform on Windows powershell so that I can run scripts that uses the VSphere cmdlet?

    You can as LucD said or you can even add this line @ the beginning of your script to make sure that the plugin is added whenever the script runs.

    Benefits of the approach of LucD profile, will it work on this one machine.  drawback is a little less portable.

    Backwards add it to the script will load the plug-in each time regardless of the profile.  downside, repetitive.

    Chris Nakagaki (Zsoldier)

    http://tech.zsoldier.com

  • You can run this program while using another anti-virus program

     
     
    You can run this program while using another antivirus program?
    I know that it is a matter of end now that MS does not have anyone else.
    However, I was going to dnld MS antivirus with Norton market too.
    I couldn't find info on one might or might not run another
    antivirus program during execution of the Member States. (as a general rule, you can't)

    Still, it would be interesting to know about this issue. And... Should be
    have been on one of the pages, so "requirements" or FAQ
    for example.
    Thank you in advance, Ric.

    Hello Ric Buckmiller,

    Thank you for using the Microsoft Windows Vista Forums.

    What specific Windows Vista virus protection software are you talking about?  Windows Vista will be usually comes with Windows Defender.  Windows Defender is software that helps protect your computer against the pop-ups, slow performance and threats caused by the software security spyware and other unwanted software to detect and remove spyware on your computer. Windows Defender Protection features in real time, a monitoring system that recommends actions against spyware when it's detected, minimizes interruptions, and helps you to remain productive.  Yes you can use it with antivirus software.

    Currently, Microsoft has an antivirus software on beta.  http://www.Microsoft.com/security_essentials/support.aspx
    If you have this downloaded, it advised that you can always use another software antivirus at this time.

    Or you are referring to Windows LiveOneCare?  Please let us know status.  Thank you!

    How to uninstall any other antivirus or firewall program?

    Before installing Windows Live OneCare, please make sure that you uninstall completely any existing antivirus or firewall program that may be on your computer.

    This step is very important, no matter what protection software you use, because installing one antivirus or firewall program over another on the same computer could potentially lock up the computer.

    Note: If you do want to keep the ability to reinstall your old antivirus or a firewall program in the future, make sure you have the original product CD (or a backup program disk) before you begin uninstalling.

    Engineer James Microsoft Support answers visit our Microsoft answers feedback Forum and let us know what you think.

  • How can I run another application in my form

    Dear gurus,

    Can someone tell how can I run an application oracle not my forms...
    Can it be done through DDE package...
    If so, how... ??
    Can it be done as call Excel through DDE package?

    Thanks in advance...

    Concerning
    Swati...

    Hi Swati,

    You can use the command () HOST to run another program of forms.
    If the program is not in the system path then you must use the full path of the .exe file in the parenthesis or only the name of the executable file will suffice.

    example:
    Host (tnsping AAA);
    This will open the command prompt in windows and ping the TNS name aaa.

    Dobbelaere

  • Visual studio runs (.exe) file can run in the other computer where did not install visual studio?

    Visual studio runs (.exe) file can run in the other computer where did not install visual studio?

    I use a visual studio 2012 to make a program file,
    This is a file to execute, which is my generated program file.

    I can throw in another computer in which another computer has not installed any visual studio?

    Thank you

    Hi Chi,

    The question you posted would be better suited in the MSDN Forums since we have dedicated to this support; We recommend that you post your question in the MSDN Forums to get help:

    http://social.msdn.Microsoft.com/forums/en-us/category/VisualStudio, vslanguages, vstfs, netdevelopment, vsarch

    Keep us updated on the status of the issue.

  • My OS is Vista 64 bit, it works well. Can I install a 32-bit version of Vista that can run alongside my existing 64 bit version.

    My OS is Vista 64 bit, it works well. I have a scanner that connects to the pc via a scsi card, the card I have will not work under a 32-bit version. I could buy a 64 bit version of the map, but it is an expensive exercise, I can install a 32-bit version of Vista that can run alongside my existing 64 bit version.

    Hi Paul,.

    No, you can not install the 32-bit version of Windows to the sides of the 64-bit version. However, you can have a configuration dual boot (32-bit on a partition and 64-bit on another). In this case you will need two licenses, a license being dedicated to a facility only.

    You might want to know

    32-bit and 64-bit Windows: frequently asked questions

    http://Windows.Microsoft.com/en-us/Windows-Vista/32-bit-and-64-bit-Windows-frequently-asked-questions

    If I am running a 64-bit version of Windows, I need 64-bit drivers for my devices?

    File system redirector

    http://msdn.Microsoft.com/en-us/library/aa384187 (vs.85) .aspx

  • How some users can run the same batch

    Hello

    FSCM9 and tools 8.49 on Windows,

    How can we do that user1, user2, and user3 be able to run a web interface bath Peoplsoft?

    Should we create series for each control? We must give them special guarantees or role?

    Thank you.

    See PeopleBooks:

    Define process definitions

    Definition of the definition process Options

    To access the Options of process definition page, select selectPeopleTools, and then selectProcess Scheduler, then selectProcesses, then selectand click on the Options tab of the process definition.

    Image: Definition of process Options Page

    This example illustrates the fields and controls on the Options of process definition page. You can find definitions for fields and controls later on this page.

    Security process

    Go to the Security section of process.

    Component

    Attaching the process to the components. Adding a component to a process definition of the causes that address the definition to appear on the page application for process Planner when you select file, run in this component, if you have security to run the process.

    Process group

    Make the process definition a member of the group. A process definition can belong to several groups of processes.

    Select an existing group, or add a new group by entering a single process group name. To add new lines, click the Add button.

    Process groups are then assigned to profiles of security administrator Security in PeopleSoft, which allows you to specify process queries the user classes can perform.

    See PeopleBooks:

    Setting permissions of process

    Access to the whitelists - process page (select selectPeopleTools, then selectSecurity, then selectPermissions & roles, then selectPermission lists and click on the processes tab).

    Just as you set permissions for pages, a user can access, you must also specify the batch (and online) process that can call users through PeopleSoft process scheduler. In general, process groups are classified by Department or task. For example, batch programs used by your payroll probably all belong to the PAYROLL process group, or a group named the same way.

    When you create a process permissions list, you add the groups of appropriate process so that a user belonging to a particular role can call the appropriate batch programs to complete their commercial transactions. To do this, use the process group permissions page.

    The process authorization profile page allows you to specify when a user or role can modify certain parameters of the PeopleSoft process scheduler.

    Note: You grant process profile directly to the profile user and group permissions of process through whitelists.

    Process group permissions

    Access the page process groups (click on the permissions link on the whitelists - page process process group).

    File: Page permission to process group

    This example illustrates the fields and controls on the page of the authorization to process group.

    This page lists the groups of processes associated with a permissions list. Process groups are collections of process definitions that you create using the PeopleSoft process scheduler.

    As a general rule, you group process definitions by groups of work within your organization, and this working group usually has a particular role that is associated with. No matter how you organize process definitions, you must assign process groups to a permissions list.

    Users can run only processes that belong to groups of processes assigned to their roles. For example, you can have a set of process definitions that relate to your human resources department and another set for your production service.

    In other words:
    Add the process to the runcontrol component, providing the user access to the runcontrol component.
    Add process group processes. Add process group to the permissions list. Assign the authorization list to user.
    Hope that answers your question.
  • Procedure Oracle can run simultaneously?

    Hi Experts

    Procedure Oracle can run simultaneously?

    Here's my concern, my procedure is already started manually and according to the times calls the same procedure by another application at the same time, so now procedure can work simultaneously or it will display an error message?

    Please explain

    Thanks in advance

    Multiple instances of a procedure can be executed at the same time...

    It will cause problem - that will depend on what you do in the procedure...

    For example, if the procedure seeks to change the same data even time in various forums, it will cause problems...

  • Cannot install Flash Player, that means "that one instance of this application can run" means?

    I try to follow steps 1-3, as he shows. Downloaded once, after step 2, a dialog box appears saying "Open the executable file? Then he said that it may contain viruses or malicious programs and be careful when you open the file.  So I click on OK, then step 3 occurs, file name as lists: install_flashplayer11x32_mssd_aih (2) .exe.  So I click on "Run".  Then another dialog box appears titration "UI_FlashPlayerInstaller", and he says "that only one instance of this application can run', 'OK'. I checked to see if there is another version installed, but I don't see any.  I'm operating a Windows 32 Bit, FireFox,

    Download the full installer of this FAQ http://forums.adobe.com/thread/909550

    This record, and then close all browser windows and run the downloaded installer.

  • error frm-41211 integration: SSL failure running another product?

    Hello
    I have problem with open froms report.
    I created the report in the reports and save it to c:\reports\report1.rdf
    I have button creater in froms and when_button_pressed trigger:
    DECLARE
    Rap1 report_object;
    v_rap1 varchar2 (100);
    BEGIN
    Rap1: = find_report_object ('report1');
    v_rap1: = run_report_object (rap1);
    END;
    can I put the report forms object and provide the path to my report "c:\reports\report1.rdf". If I run the form and click the button get

    error frm-41211 integration: SSL failure running another product

    any idea?
    concerning

    Edited by: user515960 2010-07-04 02:53

    Hello

    the problem in your code, please check to see if your code.
    What is your version of forms?

    Your report server is up or not?

    and also check out the following link.

    http://www.Oracle.com/technology/products/forms/PDF/10G/frmrepparamform.PDF

    Sarah

    Published by: SaRaH on July 4, 2010 03:16

  • You can run ff on a sd card

    I have the tablet of 2520 nikon with 32 GB of memory running 8.1. and I was wondering if you can run ff out of the 64 GB sd card? or join the sd memory card to the memory of the Tablet such as adding memory to my laptop.lol on this question.wnij...

    Hello, do you mean the Nokia Lumia 2520? It is a tablet of rt windows - firefox does not work on this system...
    Firefox will work on my mobile device?

  • "THIS APPLICATION CAN RUN ON YOUR PC.

    THIS APPLICATION CAN RUN ON YOUR PC


    To find a version of your PC, check with the software publisher

    I was looking to solve this problem. Don't even dare to send me to the b.s troubleshooter. I can't install it. I tried not to read the forums no good answer. So now what.

    It is impossible to download itunes? If this is not the case, how can I do?

    Come on nerds. It is a challenge for you all. You're smart nerds nerds or dummy?

    Write effective CSA issues (prepared by John Galt)

    https://discussions.Apple.com/docs/doc-5931

  • How to unlock my iPhone so I can use another carrier?

    How to unlock my iPhone so I can use another carrier?

    The only person who can unlock the iPhone is the carrier that she is currently locked. You must apply to open for you.

    Sites that claim to be able to unlock an iPhone for you are just scams.

  • Problems with the installation of itunes "App can run on pc.

    Hello

    I have a question here

    I would like to install the latest version of itunes on my new PC (windows 10, 64-bit)

    When I click on the application of itunes6464.exe, my pc does not work, it gives an error message:

    "This application can run on your PC. To find a version of your PC, check with the software publisher"

    I tried to install it on my old pc windows 7, it shows me the same error message.

    I made sure to download the 64-bit version

    I tried to download the 32-bit version, it is recognized by my pc and try to install, but watch the message that my pc is 64-bit. What is quite normal.

    Thank you for your help

    If you have trouble downloading the installation file from iTunes to the current address try; Uncheck the box "Keep me updated", empty memory your browser cache, changing the settings of the blocker of pop-up, right click or ctrl - click on the download button, using a different browser, or by using the direct links here.

    See troubleshoot problems with iTunes for Windows updates if you have additional problems at the facility.

    TT2

  • I have a desktop mac G4 with OS: 10.4.11, I'm running Firefox 3.6.19, is the last Firefox software I can run on my computer?

    Can I upgrade to the latest update to Firefox and still make it work on my Mac G4 desktop computer?

    Firefox 3.6.22, an updated version of your Firefox 3.6.19, can run on a PPC Mac (G4) with OSX 10.4. Firefox version 4 and higher require an Intel processor and more recent versions of Mac OS x.

    There is an accumulation of third parties based on Firefox 6 to run on Mac PPC systems you can try; It is named TenFourFox.

    • Note: Firefox 7 is scheduled to be released on Tuesday, September 27, 2011, and the developer of TenFourFox likely to be shortly after an update.
    • Note: TenFourFox is not supported by this site. Any questions or problems should be directed to the developer of TenFourFox
    • Homepage of the developer (ago had problems of access to this page, allegedly caused by AT & T, so persistent): http://www.tenfourfox.com/
    • Alternative download site: http://www.macupdate.com/app/mac/37761/tenfourfox
    • The developer's blog: http://tenfourfox.blogspot.com/

    If this answer solved your problem, please click 'Solved It' next to this response when connected to the forum.

Maybe you are looking for