0 Replies Latest reply on Jul 25, 2012 8:25 AM by bduffy323

    event listener to alt+shift+drag of mouse (on pc)

    bduffy323 Level 1

      Hello all, I am trying to set up an event listener for when a user selects a page item, then holds alt+shift and then drags the mouse in any direction. Doing this creates a duplicate of all selected page items. I can successfully listen to nudge up duplicate using:

       

       

      var maNudgeStep = app.menuActions.item("$ID/Nudge up duplicate");
      maNudgeStep.addEventListener("beforeInvoke",dupHandler);
      
      

       

       

      However, I can't find what to listen to that fires when using the alt+shift+drag shortcut. Any ideas?

       

       

      MORE INFO: On Adobes website they call this Duplicate a selected object as you transform. Here is the link http://help.adobe.com/en_US/indesign/cs/using/WSa285fff53dea4f8617383751001ea8cb3f-6f1aa.h tml.

      I would like to be able to tell when anything is duplicated. Is there anyway to set up a listener for that? Just listening to the duplicate menuaction does not accomplish that.

       

       

      Any help would be great, thanks!