How to call a function plugin with command line parameters

I wrote a plugin that processes an open document. The treatment can be started by selecting a menu item in Acrobat. To start the processing of the command line, I also wrote a small Visual Basic executable file that currently a bit activates the menu command. However, I now have to pass some parameters to the plugin. I managed to call a function plugin with settings by loading the .api as a library file in the VB executable. But it seems that the entire Acrobat SDK functionality is not initialized in this way. So I can't work with the PDF file. How can I call my function plugin with settings in Acrobat? Thomas

You must establish a form of IAC (communication monitor) of your VB application with your plugin.

Whether COM, DDE, IPC, named pipes, shared memory files share, etc. is to you...

Tags: Acrobat

Similar Questions

  • How to call CCI Oracle from a command line

    Hello everyone.

    I already asked the following question on Stackoverflow.com , but unfortunately, no one was able to answer, yet. So feel free to respond here or on Stackoverflow - I'll keep track of it and synchronize the answer to each community.

    I have successfully installed the Oracle Code compliance Inspector (CCI) to JDeveloper extension by following the instructions. Later, I was able to run the BCC in JDeveloper. But I'm not able to invoke the Oracle BCC from a command line.

    I can't find the script ("checkCompliance.sh"), mentioned in the documentation. There is no part of the zip file that I downloaded from the oracle.com.

    I tried to execute the compliance.policy.engine.jar file directly, but it fails with an error message:

    java -jar /oracle/jdevhome/jdeveloper/jdev/extensions/oracle.fp.compliance.inspector/lib/compliance.policy.engine.jar -inputDir /AIA/demo -outputDir /ComplianceOut

    Could not load the manifest attribute of hand-Class /oracle/jdevhome/jdeveloper/jdev/extensions/oracle.fp.compliance.inspector/lib/compliance.policy.engine.jar


    Any suggestions on how to invoke the ICC from a command line or where I can find the script mentioned in the documentation?

    About the error message that I read that this can be corrected by adding a manifest file in the archive jar that defines the main class - but what is the main class of this jar file?

    Thanks in advance for your help.

    Well, it's resolved.

    As mentioned in this part of the documentation, the BCC command line tools are distributed with OER.

    The BCC command line tools are distributed with REL in the /tools/solutions/- ComplianceInspector.zip.

    What confused me: REL-download contains only a single .jar file. It took me time to realize that the .jar file is an Installer (installation documentation).

    After properly installing OER, I found the - ComplianceInspector.zip in /repository111/core/tools/solutions /.

    The - ComplianceInspector.zip actually contained the checkCompliance.sh file.

  • VBS script does not have command line parameters

    Suddenly the VBS scripts that I use for several years is no longer work correctly on Windows 7.  By "suddenly" I mean they worked Wednesday and do not work on Friday, two days later.  There were / are two incidents:

    First of all, the program default for the extension VBS WScript to CScript changed.  CScript would scripts pretty well, except that my scripts are designed to run in debug mode under CScript, with many calls MsgBox, and I need them to run unattended.

    So I re-associated .vbs WScript.  Now the question is that WScript.Arguments.Count always returns 0 even when the script is invoked with command-line parameters.  I checked with the command FTYPE that Windows is configured to pass arguments to WScript:

    C:\>Assoc .vbs
    .vbs = VBSFile

    C:\>ftype VBSFile
    VBSFile="%SystemRoot%\System32\WScript.exe" "%1" % *.

    It's as if a Windows Update has suddenly dropped support for the %

    If anyone else has noticed this?  I can't go to CScript - I wrote dozens of scripts that I designed to behave differently under CScript or WScript.

    OS = Win 7 Pro 64-bit SP1

    In the meantime, I'm going to see events in the event viewer to see if this box received updates, MS or otherwise.

    Thank you for responding.  The content of the registry that you have provided is almost identical to one that I exported from a work computer.  The only difference was in the placement of the @= line "VBScript Script file", so I tried to import them both.  No one changed the behavior.

    Fortunately, this isn't a problem only when I need to type command-line parameters.  So I also tape "WScript" before the name of the script before you press Enter.

    I don't think I'll do more to solve problems, but I'll keep trying all the answers in this thread that look promising.

    Hello
    Check this key?

    HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.vbs

    You can export and send the content here. The value under "UserChoice" is most likely the culprit. And remove "UserChoice" key should straighten this issue.

  • How to call the function (function Build-in user) in Pro * C program

    We have developed the application Pro * C program.
    TimesTen version is "TimesTen release 11.2.1.5.0 (64-bit, Linux/x86_64) (tt112150:53308) 2010-03 - 04 T 20: 39:30Z.

    We would like to develop Pro * C program you are using PL/SQL.

    We have a few questions.
    How to call the function (function Build-in user) in Pro * C program?

    #########
    TEST
    #########

    ttisql:
    Command > create or replace FUNCTION F_SAMPLE (i_str IN VARCHAR2)
    > BACK NUMBER
    > o_number NUMBER;
    > START
    > select i_str
    > in o_number
    > double;
    >
    > O_number RETURN;
    >
    > EXCEPTION
    > Others THEN
    > RETURN 0;
    > END;
    > /.
    display errors
    The function is created.
    Order > show errors
    No errors.
    Command >
    Command > set serveroutput on;
    Command > declare
    > number of num1;
    > start
    > num1: = F_SAMPLE ('A');
    > DBMS_OUTPUT. PUT_LINE ("F_SAMPLE" |) ' ' || NUM1);
    > end;
    > /.
    F_SAMPLE 0

    PL/SQL procedure successfully completed.

    Command >


    Pro * C case:

    EXEC SQL BEGIN DECLARE SECTION;
    number of num1;
    EXEC SQL END DECLARE SECTION;

    EXEC SQL EXECUTE
    Start
    : num1: = F_SAMPLE ('A');
    end;
    END-EXEC;

    Make sure to install:
    Error on line 146, column 3, file plsqlPROC.pc:
    Error on line 146, column 3 in file plsqlPROC.pc
    number of num1;
    .. 1
    PCC-S-02201, encountered the symbol "num1" when expecting one of the following conditions:


    Thank you.

    GooGyum

    There are two problems with your variable declaration:

    1. the name of the variable and type are thew misplacement autour.

    2. you may not use a host variable type.

    If you change this to:

    EXEC SQL BEGIN DECLARE SECTION;
    int num1;
    EXEC SQL END DECLARE SECTION;

    Then it will work very well.

    Chris

  • How to call a function in class library?

    Hi all

    Anyone know how to call a function in a library project?

    I have to call using a resource file in a library of a CLDC project project.

    So I write a simple test library and tried to access a function in my CLDC application.

    I tested with 2 following projects.

    1. a library project: TivitFirm

    Sorry I can't answer this from the point of view of the eclipse, I use JDE.  But I suspect that the approaches are similar, even if the detail is different, so maybe this will help you.

    In JDE, you have two options:

    (a) use a jar

    (b) create a dependent project

    (a) I usually use a jar.  So to do this I have a workspace is the library, I compile this, then in my project that uses it, I add the jar to build settings

    (b) in this case, you have two projects in the space of a job, and you say the main project that it is dependent on the library project.

    I hope this helps.

  • How to call the function cascade BlackBerry

    I begineer in blackberry c ++.

    I do two class is testobject and second in test .i call the onther text function average () and nexttext();

    so please how to call this function.

    // Default empty project template
    #include "TestObect.hpp"
    
    #include 
    #include 
    #include 
    
    using namespace bb::cascades;
    
    TestObect::TestObect(bb::cascades::Application *app)
    : QObject(app)
    {
        // create scene document from main.qml asset
        // set parent to created document to ensure it exists for the whole application lifetime
        QmlDocument *qml = QmlDocument::create("asset:///main.qml").parent(this);
    
        // create root object for the UI
        AbstractPane *root = qml->createRootObject();
    
        // set created root object as a scene
        app->setScene(root);
    }
    
    void TestObect::test(){
    
        qDebug()<< "****************Naveen";
    }
    

    I insert also declared in the header file.

    Q_INVOKABLE Sub test();

    then I create another test class.

    /*
     * test.cpp
     *
     *  Created on: Apr 2, 2013
     *      Author: nksharma
     */
    
    #include "test.h"
    
    test::test() {
        // TODO Auto-generated constructor stub
    
    }
    
    void test:: nexttest(){
        qDebug()<<"***********Next test*********"
    
    }
    test::~test() {
        // TODO Auto-generated destructor stub
    }
    

    error in the file namespace,

    here in file herder

    the namespace error

    /*
     * test.h
     *
     *  Created on: Apr 2, 2013
     *      Author: nksharma
     */
    
    #ifndef TEST_H_
    #define TEST_H_
    
    class test {
    public:
        test();
        virtual ~test();
         Q_INVOKABLE void nexttest();
    };
    
    #endif /* TEST_H_ */
    

    You have a space between the colon and the n in:

    void test:: nexttest()
    

    Another thiing, if you are using Q_INVOKABLE, you must declare Q_OBJECT in your front header file public:

     


    If you're still having problems, try to clean up the project with Project > clean...

  • How to call a function stored in ADF

    How to call a function stored in the ADF?

    Example of function:

    create or replace

    FUNCTION SF_HELLOWORLD

    (

    NAME IN VARCHAR2

    ) RETURN VARCHAR2 AS

    BEGIN

    DBMS_OUTPUT. ENABLE (500000);

    DBMS_OUTPUT. Put_line (' Hello ' |) NAME | ", YOUR ATTEMPT IS SUCCESSFUL");

    -OUTPUT: = 'Hello'. NAME | ', YOUR ATTEMPT IS SUCCESSFUL;

    RETURN 'Hello'. NAME | ', YOUR ATTEMPT IS SUCCESSFUL;

    END SF_HELLOWORLD;

    ADF Code example:

    try {}

    System.out.println ("* beginning of the code *");

    String sql = "declare VARCHAR2 (2000) WISH;" begin to DESIRE: = SF_HELLOWORLD(:NAME); : WISH: = WISH; end; ";

    CallableStatement st = getDBTransaction () .createCallableStatement (sql, getDBTransaction(). DEFAULT VALUE);

    st.setObject ("NAME", "ABC"); replace the ABC with required param

    st.registerOutParameter ("WISHES", Types.VARCHAR);

    St.Execute ();

    System.out.println ("the output of the function DB is:" + st.getObject ("WISHES"));

    System.out.println ("* end of code *");

    } catch (Exception e) {e.printStackTrace () ;}

  • How to reset the windows password using command line in windows 7

    I tried net user Geek crazy * to reset the password but it has not worked. How can I reset it using the command line

    www.beingpc.com

    D:\Users\admin>NET user "xxxx xxxx" xxxx xxxx

    -> "xxxx xxxx" is a placeholder...

    Try this instead:

    NET user 'user %%nom' MyNewPassword

  • How sleep windows 7/8 using the command line?

    How sleep windows 7/8 using the command line?

    for example:-l is for disconnection, what command should I give to sleep?

    Hello

    Powercfg command-line options
    http://TechNet.Microsoft.com/en-us/library/cc748940 (v = WS.10) .aspx

    I hope this helps.

    Rob Brown - Microsoft MVP<- profile="" -="" windows="" expert="" -="" consumer="" :="" bicycle="" -="" mark="" twain="" said="" it="">

  • Change the command line parameters without having to restart LabVIEW

    Is it possible to change the command line parameters passed to a VI WITHOUT having to restart LabVIEW?  Maybe I'm used to how it works just about any other development environment, but to have to do is quite frustrating.

    ronbrown,

    Unfortunately, you'll have to close LabVIEW to pass parameters in a VI of the command prompt. You can build your VI in an executable file, and then pass parameters from the command prompt.  Because the program is its own executable file, it is not dependent on wheter LabVIEW is open.

  • WMP 12 command-line parameters are ignored

    I'm under 64-bit Windows 7 and WMP 12. Currently, I'm trying to write a script that plays a playlist of videos using the full screen. My current attempt at the command line is

    start the wmplayer /Playlist myvideos.wpl /fullScreen

    so that the player starts but it only takes the playlist or is the player in full screen. Any ideas? I have two screens with different resolutions, connected to the computer.

    Thank you

    -Thomas

    Hi Thomas,

    You need not explicitly specify the playlist format (.cpl, etc.) when you try to play the playlist.

    Try again with the following command and check to see if that fixes the problem:

    start the wmplayer /Playlist my /fullscreen videos

     

    For a list of parameters to the command line for Windows Media Player, see the following article:

    Wmplayer command line parameters

    http://msdn.Microsoft.com/en-us/library/dd562624%28VS.85%29.aspx

    Hope this information helps.

    Gokul - Microsoft Support

    [If this post was helpful, please click the button "Vote as helpful" (green triangle). If it can help solve your problem, click on the button 'Propose as answer' or 'mark as answer '. [By proposing / marking a post as answer or useful you help others find the answer more quickly.]

  • Invalid command line parameters

    I'm fresh worldwide developer of blackberry playbook, and although I read through all of the required material, I can't rethink these command line parameters.  I even searched here for an answer and have not yet found.  Here's what I entered and what is displayed.  I'd like some assistance.  Thank you.

    What incoming im:
    d:\Simply Sauce Designs\App Development\Blackberry\bbwp > c:\Users\Amir bbwp Musli
    m\Downloads\sketchPadStandard.zip/v

    What is output:

    [INFO]                  Parsing of the command line options
    [ERROR]                 Invalid command line parameters

    The problem comes from the fact that the path of your archive ZIP contains spaces.

    Solution: put between quotation marks the path of the ZIP file like this:

    d:\Simply Sauce Designs\App Development\Blackberry\bbwp>bbwp "c:\Users\Amir Muslim\Downloads\sketchPadStandard.zip" /v
    

    See you soon,.

    Adam

  • How to call the function in the javascript plugin?

    Hello

    I have a function inside my plugin that I want to call from javascript. Is this possible? Sorry, im new plugin programming.

    For example, I have the plugin with function func() that I want to call some external javascript. How I'll be able to do this?

    Thank you.

    Yes, most of the SDK examples meet the script parameters passed, I would look at the example of filter to dissolve. You can run your function and return the return parameters to the script via the measuring system if you wanted to. You will get a historical State, do it this way.

  • How to call a function of my html code to js created by animate cc, I had used 'exportRoot.functionName' and said this function in my document of flash pro with html5 canvas, but now on cc animate this way doesn't work.

    My html code created by animate cc was changed to php for me, because I send and received variables via get and catch the cookies and much more. the function that I used to call function on my .fla of the document is passId() and it worked before when animate was Flash pro with html5 canvas.

    Captura de pantalla 2016-09-27 a las 12.19.59 p.m..png

    And function of .fla, I frame_0 only assign to the variable "id_usuario", this is the feature on fla:

    Captura de pantalla 2016-09-27 a las 12.20.12 p.m..png

    First of all, the title of your thread is horrible. Titles are supposed to be securities, not paragraphs.

    As for your problem, you are probably trying to call catchIdUser before it is defined. handleComplete() is raised when the content is ready to run. He did not actually yet. I guess you should have script code call the function of window parent, not the other way around.

  • How to call external functions without one. DLL (just using a.) H and. LIB file)?

    Hi all

    in fact, I am facing difficulties on how to get an external function is called in CVI (Version 2009).

    I was delivered with a. H file and a. LIB file to call an external function of my project CVI. The. H file looks like this:

    void exportedFunction(double *parameter);
    

    As far as I know, the external function was written with MS Visual C++ 6.

    So, I tried to link statically to the al extern like this function:

    -Add the. H file and the. LIB file to the CVI project

    -#include the. Folder H when I needed to call the external function

    -do the external function call

    During construction I get unresolved CVI external function call error, so this seems not work.

    I did some research autour and stood up with two possible problems. Maybe one of you can help me get a bit further and do work things out.

    (1) of the code of the 'real' function inside the DLL file that was not delivered to me. Or y at - it a way to get concrete results (calling external functions) with just one. H and a. LIB file (with none. Included DLL file)?

    (2) the external function does not export according to the rules of Style 'C '. The signature of the function in the. H file shows some things don't like

    extern "C" __declspec(dllexport) void __stdcall ...
    

    Or maybe it's a combination of these two issues (missing. DLL + bad export style function)?

    I guess I could get around the incorrect service export style when I managed to write a wrapper around the original function that actually uses Style C exporters. But I guess I need to the. DLL file for this test as well.

    Thank you very much for your answers.

    Best regards

    Bernd

    There is no need for the stuff of dllexport. There is also the option of a static library without any DLL.  But the "extern"C"' is essential, because it forces the C++ compiler, which was probably used to compile the library to use the C calling convention.

    If you are unable to ask the library vendor to provide a version that was compiled using C calling convention is the way to write a wrapper with VC ++ 6 around this library that functions using C calling convertion reexports. Something like

    extern 'C' myfunc1 type0 (type1 arg1,...) {

    Back to func1 (arg1,...);

    }

    for each function, you must use.

    BTW. "unresolved symbol" is the error message from the linker, you can expect if you try to bind the C code against a generation of library with the C++ calling convention.

Maybe you are looking for

  • Royal clash shop bug

    Hello. In recent weeks, I can't buy more gems on the game Clash Royale. In case where you can buy them usually are completely grey, and transactions are completely unavailable. When I try to buy some gems, the following message appears: "Please wait.

  • Reproducing an event - minimum required files

    What is the set of the file Final Cut to the minimum that I would need to reproduce an editing session (event) made by someone else on another Mac? Editior1 and Editor2 both have the same video raw images... stored in folders with the same named.  Bo

  • Satellite L300-12 b Windows XP WLAN issue

    Hello,I installed windows xp on my l300-12 b and got everything works except for the LAN and WLAN. My problem is that I downloaded the WLAN driver for the chipset of RTL 8189 (the one for XP,) of course and I can't get the wlan to work, I could insta

  • Solid State drive Samsung 850 Pro

    I want to add an SSD Samsung 850 Pro for a HP Pavilion Elite e9280t intel i7 - 920 (2.66 ghz, 1 MB L2 + 8 MB of cache shared N3), 2 TB 7200 RPM / min SATA 3 gb/s - two 1 TB hard drives. An SSD will work with my setup?  Thank you Gary

  • Outlook Express 6 spelling checker stopped working

    I have Outlook Express 6 on XP Home SP3.  The spelling checker feature has recently stopped working.  The icon is there, but it is grayed out.  I tried to remove the icon from the toolbar Customize the function and then adding again.  When I add agai