Output param and call of standard effects from API

I have two questions.
1) how can i output parameters? The supervise option is usefull to make a change in parameters each time a parameter is changed... but if i want to change a value of parameter according to my image, how can i do?
I want to compute some point or color, and make them available in the parameter windows so that it can be connected afterwards with expression to other effects parameters...
Using arbitrary type + event callback would solve the problem?
2)My second question is: can I apply from the API an effect other than the one I am working on?
for example, I would like to apply a color key effect on the input layer before I apply my effect. Is it possible? or am i oblige to either program again colorkey, or apply it before outside the API?

about outputting parameters:
you can apply a value to any standard parameter in any effect using StreamSuite2()->AEGP_SetStreamValue() for constant values, or KeyframeSuite3()->AEGP_SetKeyframeValue() for time varying streams.
(no problem with point, and color. but I'm not sure about arbitrary)
and also set PF_OutFlag_REFRESH_UI, so the user can see the change.
as for applying a different effect:
that a tricky one.
EffectSuite3()->AEGP_ApplyEffect(), will apply any effect you want as long as you have it's AEGP_InstalledEffectKey.
the illusive install key may change between computers, installations and even re launches of AE.
so each time your plug-in launches you must ensure you have the correct install key.
to do that you need to go through every effect installed and check it's MatchName using EffectSuite3()->AEGP_GetEffectMatchName(), AEGP_GetNumInstalledEffects() and AEGP_GetNextInstalledEffect().
the match name for the color key is something like "ADBE ColorKey".
this may also change, if adobe would decide to rename their plug-in internally. (unlikely, as it would invalidate this plug-in for old projects, but don't bet your life on it)
you're not out of the woods yet.
the worst is still to come.
you can only apply effects at a higher position in the effects stack.
i.e. if your effect is 3rd in the stack, you can only apply and effect at position 4 and up.
it gets worse now.
CS3 will crash if your effect isn't the last in the stack while applying a new effect.
and that's not the worst news.
any attempt to reorder the newly applied effect using EffectSuite3()->AEGP_ReorderEffect(), to a position prior to your effect, will launch an error message.
it woun't make AE crash, but it will send a nasty message + error sound each and every time.
and even that wasn't the worst news.
the reason for all these problems is that these functions were intended to be used by AEGPs and not effects.
changing an effect stack from an effect within that stack, wrecks havoc on AE's internal checks.
that was the worst bit.
the only solution i found was using a separate AEGP, that lurks in the shadows and identifies (either by itself or by sending it a message from your effect) an event in which effects need be applied and re ordered, and does that ONLY during AEGP_IdleHook.
that means these changes don't happen while this effect stack is in use.
it's the long way around, but it's the only way that worked for me.

Similar Messages

  • Calling xRPM standard iView from custom WD ABAP iView

    Hi,
    We have an issue regarding - calling xRPM standard iView from WD ABAP Application.
    Here are the details.
    When xRPM 4.0 application is displayed by clicking the Portfolio Management role,
    the item dashboard gets displayed. On the leftside, tabs for Reviews, Reporting Cockpits, Colections etc.
    are displayed. Below these tabs, we have a custom tab that navigates to custom WD ABAP applicaiotn.
    On click of this custom tab, WD ABAP application gets launched in same window instead of Item dashboard iView.
    Everything works good till this point.
    The requirement is - an event on this custom WD ABAP applications should navigate to standard xRPM iView (like Item Create or Item overview iView)
    we tried Object based navigation & firing a Portal event. But no navigation takes place. It stays on the current page.
    Is there any Portal setting need to be done for navigation between custom WD ABAP application and standard xRPM iView?
    Your inputs on this will rellay be helpful.
    Thanks
    Bhushan

    Hi,
    We could resolve the issue to certain extent.
    We used the following.
    Interface  - if_wd_portal_integration
    Method - navigate_absolute
    and a PCD location of Item Creation page is passed as a parameter navigation_target.
    This opens standard xRPM Item Creation iView.
    Similarly we tried opening Item Overview iView by passing ITEM GUID in Business_Parameters parameter.
    This opens the Item Overview iView but does not refer to the Item GUID passed and throws following error.
    An exception with the type CX_SY_MOVE_CAST_ERROR occurred, but was neither handled locally, nor declared in a RAISING clause 
    CX_SY_NO_HANDLER CL_RPM_OBJ_MANAGER============CP CL_RPM_OBJ_MANAGER============CM01Z 1 
    CX_SY_NO_HANDLER CL_RPM_OBJ_MANAGER============CP CL_RPM_OBJ_MANAGER============CM01Z 46
    So I need to either pass the ITEM GUID parameter through  navigate_absolute method or somehow set ITEM GUID in xRPM context so that when Item Overview iView is displayed, the iView will refer the ITEM GUID.
    Thanks in advance.
    Bhushan.

  • How to call OAF standard page from form by passing parameters?

    Hi,
    I have a requirement where I need to call a standard OAF page from Oracle form, I was able to call the page through personalization, but I also want to pass a parameter to the OAF page and query the OAF page using that parameter, could anyone please help?
    Note: Under the forms personalization I wrote the below code for parameters
    Actions --> Parameters--> ='contractLineId='||:OKS_LINES.ID
    Thanks,
    Bharat

    Hi Niladri,
    My requirement was calling the OAF page from standard form (menu), below are the steps that I followed,
    1) Get the OAF page function name
    2) Personalize the form, by calling the OAF page function
    a) Function Code: Give the OAF function code
    b) Parameter: Here pass the parameters
    example: ='contractLineId='||:OKS_LINES.ID
    Note: If you are calling from a custom form you can also try using fnd_function.execute to call the OAF page
    Thanks,
    Bharat

  • How to call a standard page from a custom BSP-iView by URL

    Dear readers,
    I have to implement a scenario as described in the guide "Administration of the Business Package for SAP CRM 4.0", chapter "Object Links in the Portal" scenario 1 and/or 2 (page 404).
    In my case, a custom iView-BSP lists certain business partners in a tree view as hyperlinks. Which URL do I have to use for these hyperlinks to call the "Accounts" page (within role Account Management (com.sap.pct.crm.AccountManager)) with the selected business partner.
    The guide informs that there exists among others a table CRMC_PRT_ROLE_MO where I can find the ID Page/Servie URL for each Role/CRM Object type/CRM Method.
    My question is if I can use this URL fragment within the URL I have to build, and if yes, how must I construct the full URL to call the account page? If now, which URL must I use to call the account page?
    thank you
    Andreas

    Hi Niladri,
    My requirement was calling the OAF page from standard form (menu), below are the steps that I followed,
    1) Get the OAF page function name
    2) Personalize the form, by calling the OAF page function
    a) Function Code: Give the OAF function code
    b) Parameter: Here pass the parameters
    example: ='contractLineId='||:OKS_LINES.ID
    Note: If you are calling from a custom form you can also try using fnd_function.execute to call the OAF page
    Thanks,
    Bharat

  • Facetime phantom calls and calls that are not from who they say they are

    My wife has an iPhone 4 and twice in the last week Facetime calls that say they are coming from her mother have been originated by someone other than her mother. The second time this happened the stranger made an obscene gesture. Since Apple is routing the call over the Internet, and since the iPhone is obviously phoning home, it should be easy for Apple to know the source and destination but when my wife called the Apple tech seemed to just want to read a script instead of investigate this potentially serious breach of security. In addition to these two incidents there have been numerous others where her displays says her mother is calling via Facetime but yet her mother is not calling. Seeing as my wife Facetimes with her mother, with my children getting on the phone as well, I find this possible issue is worth more than a reset your settings on the phone reply. Has anybody else heard of or seen issues like this?

    This is wild, this just happened to us.
    My husband and I both have iPhone 4's. I left my iPhone on my bed in a room by itself while my husband and I were downstairs in the Family Room together.
    His phone starts ringing and it's a FaceTime from me, but I'm in front of him and my phone is upstairs.
    Ok, so of course if this is simply an breach of our phone protocol - that concerns me of course. But to be honest, I'm relieved to know there's a reasonable explanation - because otherwise we would have to call 911 to do a more thorough search for intruders in our house.
    But seriously, what's going on here. My husband and I want to disable Facetime altogether. Why have it if it won't work securely?

  • Calling Oracle Standard Form from OAF page - Need to hide the find screen.

    Hi all,
    i have a requirement where i need to call a oracle standard form(D2K form) from OAF page and need to pass parameter. Now i can able to call a form from page on button click using the following syntax,
    "form:AR:US_AR_SUPER_USER:STANDARD:AR_ARXCWMAI_AGE"
    My query here is, When i call this form its open with find Form and after values are entered it goes the main form.
    I need to hide this find screen which is avaiable in standard and need to call directly the main form with out find form.
    Please help me out to reach this.
    Thanks in advance.
    Regards,
    Renu

    You need to pass the parameter to the actual form to display the results something like "form:AR:US_AR_SUPER_USER:STANDARD:AR_ARXCWMAI_AGE&P_PARAM=123", assuming P_PARAM is the actual parameter defined in the form. Open the form and check which parameters are available and pass the values accordingly.
    Thanks
    Shree

  • How to identify and remove duplicate plugin effects from AE cs5 please?

    hello,
    i installed some trial plug in effects for AE and PPRO cs5
    cycore, boris, trapcode
    the PPRo went great
    however, with the AE i get notices that multiple instances of 'such and such' effect
    is installed more than one time...there's about 15 that give me a warning each time i start AE...
    i tried my best to locate any duplicates but no luck
    How do you identify and remove duplicate plug in effects for AE CS5?
    thanks,
    j

    hello,
    it is nice when you can answer your own question...
    looked in 'common...media core...' and found the new blue trial plugins
    also had the duplicates of the new blue plugins in the AE plugins 'effects' folder
    deleted the plugins from the 'media core' folder
    no more warning signs...
    cool deal
    back to work,
    j

  • Passing paramters and calling a PCUI screen from a BSP Application

    Hi,
    We have developed a custom BSP application which displays a list of Opportunities in a HTMLB table view based on a search criteria.
    When I click on a particular opportunity no., I should call a PCUI screen which should display that particular opportunity details.
    Any help is greatly apperciated.
    Thanks,
    Vasu.

    You are going to have to be more specific in what you want.
    First I would read the following pieces of info.  They will help you with general problems, also with creating an Iterator and read the select rows of a table.
    BSP Element - Dynamic tableView with Internal Table
    <a href="/people/brian.mckellar/blog/2003/10/31/bsp-programming-htmlb-tableview-iterator">BSP Programming: HTMLB TableView Iterator</a>
    Just shooting from the hip I am assuming you are clicking on a selected ROW in the tableView where you defined the tableView with <i>selectionMode="SINGLESELECT"</i> and <i>onRowSelection="MySelectEvent"</i> then on the OnInputProcessing Event Handler you read the selected row (see <a href="TableView and selected row)
    So and of course once you read the selected row in the OnInputProcessing event handler you can do further porocessing.
    However if you are wanting to provide the user with the ability to click an icon or text link in the row then please refer to the Iterator for that.

  • Upload to Server/DB, Read, Write and Call a standard map application

    What resource can show me the best way to do the above in flash builder?

    1. Can Java Do this?Java can do anything but there is no built-in ability to do just that.
    2. If not, does Sun Microsystems have any plans to add
    this capabiliy?
    3. Can we make recommendations to Sun to add this
    capability to JAVA?Very doubtful! MS Office document formats are not completely open to the public - and they are weird! Supporting this capability would probably require an agreement with Microsoft and it would mean you had to change the API for every time Microsoft chooses to change the document formats.
    But there are some open source tools that claim to be rather good at reading and writing MS Office files. Take a look at this one:
    http://jakarta.apache.org/poi/index.html

  • I have a new phone and when asked do iwant to start this as a new phone or do a back up from my last back up. i chose the last back up option and it has taken all my recent photos texts and call off and replaced them with ones frow about 18 months ago.

    I have a new phone and when asked do i want to start this phone as a new phone or back up from last backup, i chose to back up from last back up and have had my recent photos texts and call replaced with ones from about 18 months ago. is there any way of undoing this?

    Welcome to the Support Communities. This Apple doc may be of interest:
    Channel Member Code of Conduct
    Kings74 wrote:
    They told my friend that the phone was not available in Black, that was the 5, and that the 5s was only available in silver and gold..
    A minor point, but it may avoid a little confusion if, instead of saying "black" in reference to the iPhone 5s, say "space gray":
    "iPhone 5s — Available in silver, gold, and space gray" (Source)

  • NAVIGATE TO STANDARD WD FROM 'Z' WD

    HI EXPERT´s,
    i need to call a standard webdynpro from my 'z' webdynpro.
    My 'Z' WD show ALV with one field navigable. When USER click in this field i want show FPM_IDR_COMPONENT component?
    is it posible?
    I have seen it is very difficult i don´t know and I do not know if I have an easier way to do

    HI,
    You can use the below code to open a new component from the existing window.
    data: str type string,
              l_window1 type ref to if_wd_window_manager,
              l_cmp_api type ref to if_wd_component,
              result1 type ref to if_wd_window.
        call method cl_wd_utilities=>construct_wd_url
        exporting
          application_name = 'Component name'
          importing
          out_absolute_url = str.
        l_cmp_api = wd_comp_controller->wd_get_api( ).
        l_window1 = l_cmp_api->get_window_manager( ).
        result1 = l_window1->create_external_window(
        url = str ).
        result1->open( ).
    In your case,FPM_IDR_COMPONENT  is a part of standard FPM component and the layout is build dynamically...So exactly what is your requirement.?
    Regards,
    Simi A M

  • I want to call External Java class from the PL/SQL

    Hi,
    I am using Oracle Apps R11i (11.5.7), I wanted to call external Java class from the PL/SQL. This external Java class is residing in another application server.
    How do I do this.
    I know one way. Develop C routine in Oracle Apps to call external java class and call this C routine from the PL/SQL.
    Is there any simple method available? or any other method?
    Thanks in advance.
    -Venkat

    First of all, this is a Java application you're talking about, right (i.e. it has a main() function)? It's not just a class that you're trying to instantiate is it? If it's an application, you obviously have to start a new virtual machine to run it (rather than using the virtual machine built into the database like stored java). I'm a little leary of your mention of an "application server" as this would more commonly mean that a virtual machine is already over there running with access to this class. In which case, you'd typically interface with SOAP or some other RPC API.
    All that aside, as long as you have physical disc access (through NFS or whatever) to the class file, you could use a java wrapper class with a system call to do this. In fact, there is a thread in just the last day or so on this very forum that has the code to do just that (see " Invoking OS Commands from PL/SQL"). However, it's worth noting that the virtual machine will be running on the database server in this case and not the application server.

  • Calling PL/SQL procedures from a Windows CMD script

    Hello,
    I am writing a Windows CMD script. From this script I want to call procedures from a PL/SQL package which selects, inserts or deletes rows from the database.
    How do I go about logging into the database from the cmd script and calling PL/SQL procedures from there?
    Does anyone have any examples of such scripts? Thanks in advance.

    No, it is not a job that needs to be scheduled.
    The script will be used when needed to select info from a certain table and also to insert or delete certain info into/from this table (so, it is just simple sql statements which I have put into a package), but I'm sure how to log into the database and execute the procedures from this package in a cmd script.

  • Call enhancement class method from Bus. workflow task

    Hi all,
    I recently enhanced a global class from SAP (add a new method). Now I would like to call it from a workflow task (ABAP Class object used in the task). So it seems that only "native" methods from the class itself can be selected for the object method of the task.
    Same issue if I try to call it via secondary methods options...
    Last idea I have before the repair is: retrieve the instance saved into the WF container via a custom class interfacing IF_IFS_SWF_CONTAINER_EXIT (program exit) and call the enhanced method from the method proposed in this interface.
    Maybe someone had the same issue? Anyone could help or propose solution?
    Many thanks in advance for your help,
    KR,
    Olivier

    I think it might qualify for an OSS message.
    There was simmilar note for BADIs which was corrected: https://service.sap.com/sap/support/notes/1156392
    CL_SWF_UTL_DEF_SERVICES which is used in PFTC to determine callable methods doesn't include enhancements when calling  function SEO_CLASS_TYPEINFO_GET (parameter WITH_ENHANCEMENTS is default FALSE)

  • Calling discoverer 3.1 from forms

    I want to invoke a .dis file from Forms 6i.
    I have discoverer 3.1
    regards
    A.Panico
    null

    Are we talking web or C/S ?
    In C/S discoverer has a command line interface that you can use to pass parameters such as workbook name and call it with host from Forms.
    On the Web you can call the workbook with URL and parameters by using web.show_document in forms.

Maybe you are looking for

  • How do I convert a Micrtosoft Word 2003 document to an editable pdf?

    How do I convert a Microsoft Word 2003 document to an editable pdf?

  • 1502: OData for Custom BOs

    Hi experts, with 1502 we now have the possibility of using OData on Custom BOs. Under "ADMINISTRATION", we can now find the "ODATA SERVICE EXPLORER" WC-View. (pre-req. you have added the WC-View to your user) Via Show "Custom OData Services" we can n

  • Drag and Drop Characteristic to Rows in QD

    I am trying to drag and drop ship-to characteristic from infoprovider pane to the rows pane in query designer but the system is restricting me from doing that, but I can move other characterisitcs from other dimensions and drop them in the rows area.

  • Elapsed time between 2 points

    Hello, I'm trying to measure the time between 2 datapoints. When the data acquirement begins the time should be saved and when the signal reaches 90% of it's max. Those 2 times then get subtracted and then you have the elapsed time. But I'm not quite

  • Images on some websites not loading in Safari

    I have browsed some related posts on this forum but have not found a solution that works for me. When I go to certain websites, JPEG images won't load at all. One of these websites is the www.weather.gov website, where the image for each day of the w