Call an action of the user from a plugin

Hello

Is it possible to call an action performed by a user, if so how can I get it back (by his name?) and it is possible to define some of the arguments of the action?

Thank you

Here's an example of how the PlayActionEvent method can be used:

ASErr

AIArtHandleModifier::Rasterize()

{

Result AIErr = kNoErr;

AIActionParamValueRef valueParameterBlock = NULL;

ActionDialogStatus dialogStatus = kDialogOff;

Try

{

result = sAIActionManager-> AINewActionParamValue (& valueParameterBlock);

aisdk::check_ai_error (result);

If (valueParameterBlock)

{

set values of valueParameterBlock (params) before calling

PlayActionEvent method.

It is up to you to put

result = sAIActionManager-> PlayActionEvent ("ai_plugin_rasterize", dialogStatus, valueParameterBlock);

aisdk::check_ai_error (result);

result = sAIActionManager-> AIDeleteActionParamValue (valueParameterBlock);

aisdk::check_ai_error (result);

}

}

catch (HERE: error & ex)

{

Do something with this!

}

return the result;

}

Kind regards

Thomas.

Tags: Illustrator

Similar Questions

  • Prevent the user from uninstalling the application

    Hi friends I want to prevent the user from uninstalling the application on my mobile phone blackberry if I give how do I do it and how to fix this inaccessblity thanks to programming, I mean putting prevention in the form of mobile etc.

    BES policies can ensure that an application is not deleted.  Sorry should have mentioned that.

    Installation of OS 5, I've mentioned is:

    CodeModuleListener

    This will get called when a module is removed or marked for deletion.  Code here could probably try to download and re - install an application removed, however, it is a signed interface, so I'm sure that RIM could quickly find developers who have tried to use this interface for dubious means.

    You are however correct Ted, because it won't stop someone wiping their Blackberry.  In addition, if you remove the application that would be re - install itself, then it's history anyway.

    I think that the advantages of using this method to tidy, after a deletion (for example delete associated files on the SD card) makes a worthwhile addition to the API.

  • Advanced Action help - the user must select all before moving on to the next slide

    I need a tip action that will require the user to select a number of option buttons containing information until the next button appears. I don't know how to write it. I want the user to be able to select each button in any order that they choose. Can someone give me a step by step process? Your help is greatly appreciated!

    What version do you use? Why radio buttons? The behavior expected normal of radio buttons is that only one can be selected, you seem to ignore what is generally accepted. As having a next button appears only after several items have been selected, this has been explained many times in this forum and have many examples in my blog. They are free, maybe not considered worth nothing...

    You need a variable associated with each item. Click on an item to trigger a conditional action advanced or shared with two decisions. First decision is simulated standard action, rotate the variable from 0 to 1, then is a real condition that will make the next visible button if all variables have the value 1.

  • Maxi of approval when removing the user from the user profile

    Hello

    I have a requirement like

    I have configured AD as auto updated in service.

    How to configure the approval workflow, when the administrator to remove the user from the user profile (form xellerate).

    FYI, the Delete assigned task as cancel the task for the user to create

    Thank you

    Published by: user11963802 on December 15, 2010 02:31

    Create an approval workflow and create a rule for the determination of the process like

    If
    Action request == "revoke".

    Attach this rule with RO.

    Hey sorry

    I shared information Revoking user of the target Application.

    Hide the button remove the user from JSP
    You can create a model with approval workflow resources to remove the user. And after getting the approval, you can use API DeleteUser to remove the user from the IOM.

    Published by: Rajiv Dewan

  • How can I move all my files from the user from one user to another on my pc?

    original title: moving files

    How can I move all my files from the user from one user to another on my pc?

    Log an administrator account. Open your folder 'user '. Select all the files, copy them, and paste them into the other folder 'user '.

  • Prevent the user from changing the page in URL - Apex 5

    Dear community of Apex,

    We seek to protect our handling of URL pages.  The protection of session state is enabled, and each page has page value «Arguments must have Checksum» access protection  However, the documentation seems to discuss in order to prevent the user from element values in the URL.  We want to prevent the user to change the page ID in the URL.  Currently, a user is able to hack the URL and take in the middle of a wizard process for example.  Is it possible to stop this?  Other that an element of creative previous train stop check.

    * Version: Application Express 5.0.1.00.06

    Thank you

    Barry

    bSamuel wrote:

    We seek to protect our handling of URL pages.  The protection of session state is enabled, and each page has page value «Arguments must have Checksum» access protection  However, the documentation seems to discuss in order to prevent the user from element values in the URL.  We want to prevent the user to change the page ID in the URL.  Currently, a user is able to hack the URL and take in the middle of a wizard process for example.  Is it possible to stop this?  Other that an element of creative previous train stop check.

    Hi Barry

    Affecting the security attribute Access Page Protection page No. URL Access and navigate between pages using the type of the Page Management Branch (uncheck the option creates a branch using redirection page in the Wizard) will avoid this:

    No URL access -Page can not be found using a URL, but the page can be the target of a type of Page Management Branch, is not doing a URL redirect.

    It is a little more restrictive that a normal direction of the session state values cannot be positioned or erased declaratively in the branch, but is not often necessary in a several step wizard, and it's pretty simple to work round using prior processes - or post-branche or by referencing the item values directly from other pages.

  • Unable to remove the user from database

    Hi all

    I'm unable to remove the user from the database and get the error shows:

    "must use DBMS_AQADM. DROP_QUEUE_TABLE to drop the queue tables"

    I find 3 table with AQ prefix in the schema, but unable to remove the table even using "sys" user.

    No idea how I can do?

    Kind regards

    Hello

    select object_name,object_type from dba_objects where owner='USERNAME' and object_name like '%AQ%';
    

    TO remove the table from the queue, sign in as the owner and

    exec DBMS_AQADM.DROP_QUEUE_TABLE(queue_table=>'PASTE_THE_OBJECT_NAME_FROM_ABOVE',force =>TRUE);
    

    Anand

  • How to prevent the user from creating jobs

    Hello

    We need to prevent the user from creating jobs on a dev environment. It's a 10.2.0.4 standard database on 64-bit linux.

    Their scheme has only connect and resource roles. Is it possible to prevent them from creating jobs? 11 g, it's permission to CREATE a TASK, but I don't know how I can do this in 10g.

    Thanks for all the ideas!

    I try again...

    If you revoke execute privilege on DBMS_JOB package with 'regular' users (i.e. non admin), then they will not be able to do anything, including by creating with the SUBMISSION process.

    No you want?

  • How to remove the user from the IOM by using Trusted Recon

    We trust Sun to IOM LDAP Recon. We delete usually old Sun LDAP users periodically. According to the requirement, these users should also be eliminated from IOM as well as all its databases that are put into service.

    Looks like that, the behavior by default of 'iPlanet Trusted remove user Recon Task' is to set the user status to 'Deleted' and 'Revoked' about the users corresponding IOM and resources put into service. How can I remove users from the IOM as well as the database placed in service in the case of user removed from Sun's LDAP?

    Thank you!
    Kabi

    Once a user is created in the IOM, you cannot remove it. As you said, the default behavior for the removal of the recon user approved is that the user will be disabled in IOM and revoked from all target applications. Revoke the user will remove the user from the target applications.

    This is done for the purpose of audit so that later we can determine which users have been removed or terminated.

    But as a you can manually delete the records of user database directly which is not recommended.

  • AJAX call to actions and the response of the PageFlow

    Hello

    in my portlet, I need to make calls ajax for certain actions. It works fine but I have a problem with the answer. I want to put in the answer that a message to display to the user (for example, "Update successful" or "Error!"), but WebLogic Portal write all the content of the page, even if I have everything set forward and I will return null in my action.

    @Jpf.Action)
    myAction() before protected throws IOException
    {
    content of the action

    Returns a null value.
    }

    How can I tell WebLogic Portal write anything in response when I returns null?

    Hello
    You can directly export the /webapp/folderofpageflow/action.do url (and depending on where your jsp is and using methods in the query, you can avoid to hardcode the name of the Web application / file name, but in most cases they do not change)
    Im not sure if Ajax can be disabled for particular Url Im to remember documentation about this, sorry
    concerning
    Deepak

  • Run each VI but then show after a different action by the user

    Hello everyone,

    Sorry for my English in advance, you will see some errors probably: 3 I hope you understand anyway!

    Well, I am a beginner with labview and I work in a project on a system that may take measures of speed and strength.

    I have already created several VI:

    -One for speed

    -One for the force

    -One to make a report

    - and another at the choice of the type of the event.

    To summarize, the system having to control 2 types of measures: 24 mph and 28 mph and we must conform to this 2 different tests, obviously.

    The goal is:

    (1) see the first VI: type of measure and leave the choice to the user about 24 or 28 miles an hour and then Labview tell if it complies or not after the measurement.

    (2) display the VI that show measures speed for users;

    (3) display the VI that show measures of force;

    (4) and finally the last VI to carry out the report: I have integrated checkbox, etc..

    I would like to help users switch in this VI through the buttons "previous" or "next".

    I already write a 'hand '. If I run the main I had a first push button to go in a VI, and then I had a few 'next' buttons to display the next VI.

    But now I have different problem and even if I try to tackle him I really don't understand how...

    I will develop my problems:

    -The main problem is execution of these screws: the test is in the 0, 6s. So I would run each VI during the test, record data and only then to show different for users through these VI data as I explained before. For the moment, as I understand it, my work just run different Vi when I click on the 'Next' button and finally I don't want to do that.

    -Another problem is that, in fact, the user can navigate between different VI, but they are not yet delete when the user clicks 'next' Finally it does nothing actually. In the example, I want the user to look at the speed of data, write them on another file, and then click Next, sign before removal and next show, write to another file, click Next, etc... and I do not understand how it is possible...

    -Finally, I think it's possible, but the best thing for me would be that different data stored in a file, with everything which is located on the front panel. If I had a graph, I would like the graph in a file, etc. And in the example for my last VI, the report, thanks to the box. If something is check, writing to a file, and if it didn't ignore it.

    Sorry for this very long text and my bad English. I hope you understand my problem... I really need help-_ - I am disappointed, this is an important project for me (learning) and I tried a lot last week, but I ask you cause now I have really idea more...

    Thank you in advance,

    I join my project to receive a little help and explanations for this problem

    Hello

    With your architecture, it is obvious that you can't go back.

    I would be more appropriate to have a main.vi with a State for example machine calling Subvi through sub - VI supanel controls front themain.vi.

    Here are a few documents:
    http://digital.NI.com/public.nsf/allkb/D587067E18E0E70186256D44007B91FE

    http://zone.NI.com/reference/en-XX/help/371361J-01/lvhowto/loading_panel_in_subpanel/

    Adrien

  • The files are encrypted without any action of the user!

    Recently received "Backup failed" Norton 360 backup. Reason: met encypted files. I never encrypted any file, but on verification, of course, a large number of files have been encypted without any input from me, the user. Any ideas?

    Files cannot be encrypted by themselves. You must actively do this thanks to Vista Professional Edition-full native encryption or using an encryption third-party program like TrueCrypt or that may occur if the computer is infected with a trojan ransomware. However, if it was the latter you would now get messages to "blackmail" him. I suggest you contact Symantec technical support.

    http://www.symantec.com/techsupp/index.html - Symantec technical support
    http://community.norton.com/norton/ - Norton forum

    Burning questions of Norton and patches - http://community.norton.com/norton/board/message?board.id=Announcements&message.id=17

    MS - MVP - Elephant Boy computers - don't panic!

  • How do I know if a call is disconnected by the user or by the appellant?

    When there is an incoming call, the phone user can log out by clicking on the red button, or it can be cut by the appellant. I must say that out of these two types.

    But no matter how the call is interrupted, the system continues to produce a callDisconnected event.

    Also, I tried to save an event key listener to monitor the events of the red button. But as the system have consumed the event, the system will not send this event of red button at my request.

    Do you have an idea how know if a call to imcomming is disconnected by the user or by the appellant?

    I tried, although the keydown event of the red button has been consumed by the system, but the keyup event is still distributed, so that the application can listen to the event keyup to know if the call is interrupted by the appellant or by user.

  • [ADF, JDev12.1.3] af:table: how to perform certain actions when the user clicks on a line?

    Hallo,

    When a line of my af:table is selected, I'd like to perform actions; in particular, I have to toggle a button based on the values of a group of fields to the selected line.

    What are the possible approaches to achieve this?

    Thank you

    Federico

    Use a generic selection listener (http://www.oracle.com/technetwork/developer-tools/adf/learnmore/23-generic-table-selection-listener-169162.pdf) and call your actions here before or after the selection of the new current line.

    Timo

  • Progress bar - prevent the user from moving forward

    Adobe Captivate 9

    Is it possible to prevent a user from moving the progress bar?  I like including the progress bar, so that users know their progress but do not want to make them to move anyway.

    Any ideas?

    The easiest (only for HTML output) using the new widget from CpExtra of InfoSemantics. It has many more features that can be very useful, but it is not free:

    Introduction to CpExtra | Infosemantics Pty Ltd

Maybe you are looking for