Redo Last Action Plug-in

Is it possible to make a plug-in that could repeat the last action? For example, user rotates Object1, then selects Object2, run plug-in — and Object2 rotates in the same way.
I wanted to implement this plug-in via Undo / Redo list of commands but CmdStackItem class is closed for third-parties. So... maybe it is possible by handling all processed command and saving the last one. How do you think?

You can observe the commands, but the aktual task is not trivial.
There is no silver bullet to clone a command, you'd have to implement that for about 1591 commands.
Also expect many surprises such as
- commands that target multiple items ( that's a UIDList for a purpose ... ).
- commands that screw up their parameters - see the recent "duplicate swatch" thread
- commands that schedule or process other commands, across multiple levels
Btw, for the use case you described, there are already the menu "Object" / "Transform again" actions.
Dirk

Similar Messages

  • How can I include in my VI actions like "Undo last action/redo last action"?

    I built a Vi and I want to include functions like Undo (last action) and Redo (last action).
    Any suggestion wellcome.
    Thank you

    Hi
    If you have the Menu Bar visible when your VI runs - this Forms your Default VI run-time Menu. You will discover a built in Undo and Redo Functions under "Edit" Menu. This fuction can be added to your custom Menus or .rtm files.
    However, this undo fuctionality is limited to data change only, which means it will erase the last control change. This Undo will not reverse any data propagated as a result of your last control change. Here is an example.
    Say you are taking a continuously polled value of a String control and building a Path using this, and you have a Button that says "Process Path" which ends the polling and brings you out of the While Loop. In this example if you change the value of String Control and Say Undo you will be reverted to Previo
    us Value. However If after changing the Value you Clicked the "Process Path" Button, you will be Out of your While Loop with the Path being built with the Last value of String Control before "ProcessPath" was clicked. Now Clicking Undo tries to Reverse the Last Control Which was "Process Path" This has no effect on Path Value. The Undo Function will not reverse the Data which has Propagated and take you backwards in the diagram. It will simply reverse the Data Changed on the last Control.
    Therefore if you want a robust "Undo" and "Redo" you will have to program this functionality, Basically you will have to trap values of all controls and on data change remember these values. On Undo you can then Change the values of Controls back to Previous Value and Also take your Diagram back to Where the Last action had impacted any data propagation.
    All this - mind you - is for a single level undo. It will get complex to do Multiple Level Undo.
    Good Luck! Dont you wish, you could Just
    Undo the Computer Age?!!
    Mache
    Good Luck!
    Mache

  • Redo last action not working

    I am new to Pages and am playing with it to see what it can do.  In the course of this I have tried to do an action e.g.: copy and paste some text on the page, and then redo this action again somewhere else in my doc and "Redo" last action is greyed out.  I wondered if this might be because of the type of action I was trying to do, so I tried again, this time applying a Paragraph style to some text one place in the doc and then trying to repeat this later on in the doc.  Still nothing.
    I repeated this process with several different types of actions and each time the "Redo" is greyed out.
    Am I doing something wrong?  I know that there is an alternative in that I can go and do each repeated action manually, but this takes more time when I have a 100+ page document to work on (and have RSI and prefer not to move my arm around too much.)
    Any tips welcome!
    Thanks

    That is not what Redo is.
    Redo undoes Undo. You can only Redo as many times as you have gone Undo.
    To apply styles, create a new style in the Format sidebar, click on the text you wish to apply it to and then on the Named Style in Format. This applies to Paragraph, Character, List and Object Styles.
    You can also Copy Style and Paste Style from under the Format menu.
    Peter

  • Redo last action

    I can't find any way (keyboard shortcut or menu item) of doing this.
    I think it's my most commonly used shortcut bar Ctrl-Z when I'm
    working in MS Office, where it's Ctrl-Y. Is there an equivalent?
    For example, the author of an article wants all names of people in
    bold. So I find the first name, highlight it and apply my bold
    character style. In Word, I can then highlight the next name and hit
    Ctrl-Y to bold it. What do I do in ID CS3?
    Noel

    Thanks to all three of you. Sure, I can assign keyboard shortcuts to
    *specific* actions (although using a laptop with no numeric keypad
    makes that a little bit more difficult). I was after a shortcut to
    repeat the *last* action taken, whatever that might have been. I
    gave the example of applying a character style; I could have
    mentioned an example from Excel - select a column and adjust its
    width. Then select some other columns, hit Ctrl-Y and they all
    assume the same width - very useful for, say, financial stuff, where
    automatic adjustment of column widths would give visually sloppy
    varying widths.
    Since none of you have come up with the answer, I have to accept it
    doesn't exist. Pity.

  • Migrating settings, actions, plug-ins etc. from CS5 to CS6 (Creative Cloud)

    Hi,
    I wondered if someone could help me with the transition from CS5 to CS6 (Creative Cloud). I'm on a Mac with Mountain Lion.
    I would like to migrate as many settings (i.e. workspaces where relevant), personal Photoshop actions, plug-ins (i.e. Type DNA, FontShop [Photoshop], Scriptographer [Illustrator] and Blurb Template Creator [InDesign]) as possible from CS5 to CS6. What is the easiest and smoothest way to do this?
    Some settings, actions and plug-ins might not work with CS6, I don't know. I can't find where my Photoshop actions are archived atm.
    Can I import extensions from Adobe Extension Manager CS5 to Adobe Extension Manager CS6?
    Should I uninstall all CS5 apps? I'd like to keep InDesign CS5 for backwards compatibility at least.
    Does Audition completely replace Soundbooth? What about Flash Catalyst, Device Central and OnLocation?
    Edit: I have already installed all the Creative Cloud applications btw. But I haven't uninstalled any CS5 apps yet.
    Thanks,
    Eivind

    Hi Elvind,
    I would suggest keeping both CS5 and CS6 versions on the system until you are fully transitioned, longer if you want. When you launch Photoshop CS6 it will ask you if you want to import settings from the prior version. Third party plug-ins may or may not be compatible between versions so you might need to check with the manufacturer to find out. You would most likely need to reinstall any third party plug-ins that integrate into existing Adobe product installations though.
    I found this document for Photoshop CS6
    http://helpx.adobe.com/photoshop/kb/preset-migration-photoshop-cs6.htm l
    For the PS actions, I normally open the actions panel, highlight the actions set (folder) I wanted to migrate, from the flyout menu of the panel choose the option to save the set, this creates the .atm file. There is another option for importing actions in the same menu.
    I can't speak to migrating in relation to the other products. I would recommend posting in the respective product forums.
    -Dave

  • Status of Last Action is "Failed"  when StartScriptEnabled is set to true

    Hi,
    I have set StartScriptEnabled to true in nodemanager.properties file and restarted managed server through console. After restart, eventhough the managed server state is "Running", the status of last action is "FAILED". When I stop the server through console, the state is showing as "FAILED_NOT_RESTARTABLE" although I can start the server after this message.
    Can someone help me why I'm seeing these messages when I set StartScriptEnabled is set to true. If I set this to false, I'm not seeing the "FAILED" messages.
    The only error I see is the below error in nodemanager.log file.
    <Sep 14, 2010 3:49:34 PM> <Warning> <Exception while starting server 'ms01': java.io.IOException: Server failed to start up. See server
    output log for more details.>
    java.io.IOException: Server failed to start up. See server output log for more details.
    at weblogic.nodemanager.server.ServerManager.start(ServerManager.java:303)
    at weblogic.nodemanager.server.Handler.handleStart(Handler.java:542)
    at weblogic.nodemanager.server.Handler.handleCommand(Handler.java:119)
    at weblogic.nodemanager.server.Handler.run(Handler.java:66)
    at java.lang.Thread.run(Thread.java:619)
    Thanks

    All the managed servers are running in without any errors. The only error I see is failed in node manager log. I don't see any error or warnings in stdout and stderr logs even if debug is enabled.
    Edited by: nlrreddy on Sep 15, 2010 9:50 AM

  • Solution manager last action time

    Dear Expert,
    I know in crm_dno_monitor have on column show "Change On"-it show the last action for complete the ticket.
    Now my concern is in crm_dno_monitor, is there any posibility to show on last reply time? i mean the consultant last reply solution to customer while the ticket haven close yet.
    As after consultant send solution then might wait for long time until customer close the ticket. So it will longer our resolution time.
    Please advice any solution for that as might enhance on crm_dno_monitor?
    Thanks
    regards,
    ng chong chuan

    hi,
    1. first you copy the profile and then you add (or copy the action)
    for support message we use SLFN0001 but I guess for AI_SDK_STANDARD this is about the same.
    the developer has developed his own ( method ) implementation of the badi EXEC_METHODCALL_PPF
    filter PPFDFLTVAL with a new filter value Z_SET_LAST_SOLUTION_TIME (something like that in your case)
    if you have 3 fields Just add some coding like
        lv_value-guid             = lv_guid_ref.
        lv_value-ZZCUSTOMER_H0101 = ls_customer_h-ZZCUSTOMER_H0101.
        lv_value-ZZCUSTOMER_H0102 = 'Xxxxxxx'.
       lv_value-ZZCUSTOMER_H0103 =  post time. (ask a programmer to define the write code)
    2. just add the new field(s) as new attribute
    3. I don't understand your question. Your programmer needs more info ? I am not a programmer and I can't help you further, if he knows programming he should know how to implement a new method
    Note : All of this is working if you schedule the action under the right condition via customizing or directly by Calling transaction SPPFCADM and select CRMD_ORDER , select your action profile
    br Xavier

  • IDVD working till I installed 2TB ED. Keep getting message"There was an internal iDVD error during the last action. This is not a movie." Any help is appreciated.

    iMovie message "There was an internal iDVD error during the last action. This is not a movie." comes up after trying to create a movie to burn to iDVD. Recently added a 2TB external drive to free up memory from HD. iDVD was working fine till the ED was added. Can't burn DVDs anymore. Any suggestions on how to fix the problem?

    What  folders did you move to the EHD? Any of the basic Home folders?  What format is the EHD?  It should be OS X Extended (journaled).  Do you have any files that iDVD uses on the EHS, i.e. project files, media files?
    OT

  • Automator in Leopard - Ignore results from last action?

    In the Tiger version of Automator there was an option on each (or most) of the actions you placed in the workflow (in the Automator window) to ignore results from the last action. I can't see how to do this in the Leopard version. How do I do it, or where's the option?

    It's now called "Ignore Input" and is accessed via right-click on the action menubar-- not the most friendly change!
    I wrote up a review of Automator 2 covering this and a few other issues:
    http://automatorworld.com/archives/automator-20-review/
    Message was edited by: Steve Weintraub

  • Undo last action in ibooks

    I just spent the last hour studying an article in iBooks highlighting various parts. Somehow at the very end of the article on my last highlight I went past the last. In the last sentence. It immediately highlighted the entire article. I cannot find any way anywhere to undo my last action. It combined the entire article highlights I had made into one. I just lost my last hour of work. Any ideas?

    These are user-to-user forums, if you want to leave feedback for Apple then you can do so via this page : http://www.apple.com/feedback/ibooks_ios.html

  • GarageBand file crashes entire application, every time. How can I undo my last action so I can open it and export what I have?

    I have an ENTIRE song that I just finished, thought I would add a drum loop track just to see what it sounded like with my natrual acoustics.
    Apparently that was an awful idea! Adding the track crashed the whole program, and no matter what actions I take I can't get that single file to reopen. I've checked all over the web for possible answers, but no one has ever gotten this particular problem figured out (from what I can find).
    I don't want to overload you guys with all the raw error report data unless you need it, so just let me know if that's something I should bother to post!
    Really, I just want a way to get rid of that one track, or "undo" my last action so that I can reopen the file and salvage the rest of my perfect song.
    Thank you so much for helping out!

    Your crashlog shows an "Bad Access" error.
    Crashed Thread:  0  Dispatch queue: com.apple.main-thread
    Exception Type:  EXC_BAD_ACCESS (SIGSEGV)
    That is very typical for corrupted media files. Is the last track you added a real-instrument track and you made an audio recording? Then it might help to remove the last added audio file from your GarageBand project.
    Or do you have a TimeMachine backup, so that you could restore the last version of your project from the backup?
    To remove an audio file from your GarageBand project ctrl-click the "xxxx.band" file of the song and select "Show Package Contents". Inside your package should be a folder called "Media" and it will contain your recordings as ".aiff" files, named like the tracks. Drag the newest ".aiff" to the Desktop and try to launch GB. You will probably get a warning about missing media - ignore it. Canyou launch GB this way?
    Regards
    Léonie

  • Bulk remove last action stop

    Hi,
    I have around 3000 fla files that I need to remove the last action stop in their actionscript.
    I have meanwhile found no way to do this. Any ideas?
    Much apprecaited!

    Thank you both for your replys...
    I have a software that enables people to add animations to IM softwares. In this case, the flash is sent to the recepient and run once.
    Now we are building a directory for the animations online and it makes sense that when browsing an animation, the animation will loop and not stop after 1 view.
    Any help would be greatly apprecaited as it will save me weeks of work
    thanks!

  • Is there a short cut key/command to repeat the last action?

    In excel Alt F4 (I think) repeats your last action.  I can't find a similar command or short cut key in numbers.  Can anyone help me?

    Kappy wrote:
    Isn't it supposed to be a clone of Excel within limits?  I don't use iWork.
    Who said/wrote that ?
    Numbers is not a clone of Excel. I doesn't share the Microsoft philosophy which include every asked feature.
    Apple engineers carefully select what may be added and what must remain as dreams/wishes.
    Basically, they apply the good old rule :
    ++-+-+-+-+-+-+-+-++
    Apple Human Interface Guidelines:
    Apply the 80 Percent Solution
    During the design process, if you discover problems with your product design, you might consider applying the 80 percent solution‚ that is, designing your software to meet the needs of at least 80 percent of your users. This type of design typically favors simpler, more elegant approaches to problems.
    If you try to design for the 20 percent of your target audience who are power users, your design may not be usable by the other 80 percent of users. Even though that smaller group of power users is likely to have good ideas for features, the majority of your user base may not think in the same way. Involving a broad range of users in your design process can help you find the 80 percent solution.
    +-+-+-+-+-+-+-+-+
    At this time they offer around 250 functions when Excel have about 500.
    Tables are limited to 256 * 65635 cells
    Numbers is slooooooooooooooooooooooooowwwwwwwwwwwwwww
    Excel offer some database features, Numbers doesn't
    In Excel, macros are back, they never arrived in Numbers.
    Yvan KOENIG (VALLAURIS, France) samedi 30 avril 2011 22:58:32
    Please :
    Search for questions similar to your own before submitting them to the community

  • Getting the last action from a managed bean

    Is it possible to get the last action that was submitted from within a backing bean.
    I have an application that has a context specific menu at the top of the page. The context menu is generated using a backing bean which is called from a tiled jsp, called contextmenu.jsp.
    The context menu backing bean needs to know what page it is on so that it can generate the correct menu, so is it possible to get hold of the last action submitted, or the current page from within the backing bean?
    Any help would be much apprecieated.
    Jamie Cash

    Thanks for your help,
    but ...
    We will be developing over 200 jsps and don't want to load the development effort with a backing bean for each jsp.
    The solution that I finally arrived at is using the following code in the menubean to get the view id, and make the decision based on that.
    public NavigationMenuItem[] getContextMenu()
         //Get view id
              String viewId = FacesContext.getCurrentInstance().getViewRoot().getViewId();
              logger.debug("view id: " + viewId);
              //Menu
              NavigationMenuItem[] contextMenu = null;
              if(viewId.equals("/home.jsp"))
                   .... Code to get context menu from Stateless Session bean     
              //Return menu
              return contextMenu;
    Regards
    Jamie

  • Repeat Last Action?

    I'm fairly new to FM9 and am wondering if this feature exists already (and I just don't know about it). Coming from MS Word, it has a great "repeat last action" function hooked up to the F4 key. As I've been selecting text in FM and applying a character tag over & over again, I began to wonder if there was a faster way. I used to use the pod to begin with, but now have resorted to just right-clicking to navigate to the character tags. A "repeat last action" would be great in this case.

    Jeff_Coatsworth wrote:
    I'm fairly new to FM9 and am wondering if this feature exists already (and I just don't know about it). Coming from MS Word, it has a great "repeat last action" function hooked up to the F4 key. As I've been selecting text in FM and applying a character tag over & over again, I began to wonder if there was a faster way. I used to use the pod to begin with, but now have resorted to just right-clicking to navigate to the character tags. A "repeat last action" would be great in this case.
    Not quite, but useful for your request:
    * Tap and release these keys in sequence:
    - Escape c c (lowercase c) repeat last font command
    - Escape j j (lowercase j) repeat last paragraph command
    Searching Google for "framemaker repeat last paragraph format shortcut" without quotes finds this:
    http://help.adobe.com/en_US/FrameMaker/9.0/Using/WSd817046a44e105e21e63e3d11ab7f7862b-7f70 .html
    HTH
    Regards,
    Peter
    Peter Gold
    KnowHow ProServices

Maybe you are looking for

  • Multiple users support

    Hi , I am required to install CFB 3 to support multiple users access on a development environment. Developers are working on a same server. Once the CFB 3 get installed, only the admin user can run the program but no other. Whenever the CFB 3 starts,

  • How to set default database selection in forms 11g

    Hello, In the past (Forms 10g), we could set the default database by setting userid=@dbname in formsweb.cfg. We have migrated to Forms 11g. When we set this parameter, we have the message ORA-01017 Invalid Username but the dbname is well set in the c

  • PDF Digital Signature using SM2 Encryption

    Hi, Is there any way to use SM2 encryption for digital signature in PDF instead of the default encryption? Thanks, Amir Mehmood

  • How can i stop itunes from finding duplicate tracks from my external hard drive?

    All my music is stored on C: drive and backed up on an external hard drive. when I install I iTunes it detects all tracks from both sources giving me 20000 duplicates.  I have tried uninstalling iTunes and then installing without the external drive p

  • FR Reports Backup in v9.3.1

    Hi All, How we can take backup of the FR Reports automatically instead of manually exporting The Reports through Worspace and then Importing the Report to restore. Thanks, PVR