Modifying the behaviour of an existing Adobe ContextMenu Item

Hi,
My client wants to change the behaviour of the "Edit Original" menu option that appears when you right-click on a linked item in a document. (i.e. RtMouseLayout menu kContextEditOriginalMenuPosition)
Essentially, they want to have the option to edit the High-Res when available, even if the Low-Res is linked (and a few other niceties).
At the moment, I am proposing adding a new menu entry for this new feature but my client would much rather that the existing "Edit Original" was circumvented.
Is it possible to intercept the call to the actionproc for this menu entry?
If so, then how do I go about it?
Thanks for your help.
Jackeen.

Hi Narayan,<br /><br />Thanks for pointing me in the right direction.<br />Using the following code snippet, I was able to figure out the ActionIDs that I needed to filter:<br />>// You can run this code from a codesnippet in the debug build and watch the trace output (with the Test >> Trace >> Obsolete >> Obsolete:Actions category enabled)<br /><br />>MessageToConsole ("Dumping ActionID Info begin...\n");<br /><br />>InterfacePtr<IApplication> theApp(gSession->QueryApplication());<br /><br />>InterfacePtr<IActionManager> actionManager(theApp->QueryActionManager());<br /><br />>actionManager->DumpActionInfo(IActionManager::allActionInfo);<br /><br />Namely, I need to filter kEditOriginalActionID/kLinksPanelMenuComponentBoss and kEditOriginalSelectionActionID/kLinksPanelMenuComponentBoss<br />Everything seems straighforward for the kEditOriginalSelectionActionID ActionID. I just perform my action on the links currently selected in the current document.<br />For the kEditOriginalActionID though, it is necessary for me to know which links are selected in the Links Panel.<br /><br />Any idea how I might do this?<br /><br />Thanks again,<br /><br />- Jackeen

Similar Messages

  • Modify the behaviour of an aggregate function

    Hi all,
    I have to modify the behaviour of a measure (ex: MEASURE) object depending on the value assumed by a dimension (ex:DIMENSION) object.
    When the dimension objects is a number the measure is sum([measure])
    When the dimension is " " (in the DB there is a space when there is no value for that dimension object) the measure is 0 (the top would be putting "NA" instead of "0" but the measure is a numeric field so I'm not sure...)
    I'm working on BO 6.5, SQL SERVER and I noticed that only the function "CASE WHEN THEN ELSE" is supported.
    Can anybody tell me if I have to work on Web intelligence or Designer and write for me precisely the function I should use?
    Regards

    Hi
    what is the data type of you key figure in the database and in the BO universe?
    All error messages indicate problems on the DB side.
    I assume that you have to cast your key figure in the CASE statement to another data type than integer.
    Or you can try the following
    sum(CASE
    WHEN table1.dimension_objects = ' '
    THEN table2.measure_object
    ELSE 0.0
    END)
    This should return a float value
    Regards,
    Stratos

  • Question about modifying the size of an existing column in a table

    I am a new DBA. I am being asked to modify a column in an existing table that is populated with data. Our database is a 10g database, and the table name is Contacts. The column name is FName, and it is currently VARCHAR(10). It needs to be increased to VARCHAR(18). Would I use this statement: ALTER TABLE contacts MODIFY COLUMN FName VARCHAR(18)?
    I thank everyone who helps me with this question in advance.

    Hello,
    This is how you do it
    ALTER TABLE  A_ERROR_TABLE MODIFY(TEST VARCHAR2(18)); -- Example
    ALTER TABLE contacts MODIFY ( FName VARCHAR2(18));Regards
    Edited by: OrionNet on Apr 2, 2009 4:09 PM: Fixed typo

  • Need a powershell script that will modify the path of an existing Outlook 2010 OST file

    For new users we have a GPO in place that creates the OST file in the correct location.  The GPO also works on existing users who create a new Outlook Profile.
    The problem I am trying to solve is modifying an existing Outlook Profile and changing the location that the OST file is written to.
    I have to put the users OST file on the network.  Yes, I do know that this is not supported by Microsoft, but I have zero clients (WYSE units) on non-persistent VMware virtual machines.  This means they cannot keep the OST file on the PC. 
    Our email provider requires us to run in Cached-Mode so OST files are here to stay.
    Forcing 3000 users to create new Outlook profiles would not have a good outcome.
    I also have to relocate their PST files onto the network, which is also not supported.  I have been able to connect PST's with powershell, but disconnecting them has been challenging (can't make it work even once) so if I could get some help with that
    too that would be excellent.
    Thanks

    Hi,
    You may refer to the following article to create the registry keys and deploy it with logon script:
    http://www.slipstick.com/exchange/moving-outlook-ost-file/
    Best regards,
    Rex Zhang
    TechNet Community Support

  • Modifying the behaviour of spry tooltip - "pinning to the screen"

    Hi there,
    I have some spry tooltips containing content with links. These tootips are not really that large, but the links change the content of the tooltip. Often, since these tooltips contain links that may be near to the bottom of the visible tooltip content, if the linked-to content is smaller than the previous tooltip, the mouseout event will fire and the tootip will close.
    The triggers for the tooltips can be quite dense in frequency, and I want to keep the delay to a minimum to help swift movement over these dense areas. The problem is that the change in size of the tooltips can catch the browser unaware, and when the tooltip closes it can be quite annoying, (as  the browsing within the tooltip would have to be repeated from the first trigger to access the links in the tooltip.) Changing the hide delay option doesn't really work for me.. I want the showdelay to be quite small, so the hidedelay has to be small also.
    I want to place a checkbox in the tooltip to "pin" it open. I am completely stumped on how to do this. I can quite happily place and replace the checkbox, write event handlers etc.. but the complexity of the spry tooltip code seems indecipherable for me to modify it to my needs.
    I need a 'hack' that will disable the appear/disappear behaviour of the tooltip (as well as the triggers), so that leaving the tooltip or manoevering the mouse outside, and over any other triggers will not change the tooltip displayed, whilst keeping the internal content displayed with its links still working.
    Then, after the checkbox is cleared, normal behaviour to resume.
    If there is a simple fix,.. like duplicating the content into another div styled similarly and replacing the tooltip on screen altogether, at the same position - that'd be great... but how do I do this seamlessly and deactivate/reactivate the tooltip efficiently? I would need to access the position of the tooltip for this, So I still have trouble!
    Please, any help would be greatly appreciated!!
    Many thanks,
    Alex

    Hi Narayan,<br /><br />Thanks for pointing me in the right direction.<br />Using the following code snippet, I was able to figure out the ActionIDs that I needed to filter:<br />>// You can run this code from a codesnippet in the debug build and watch the trace output (with the Test >> Trace >> Obsolete >> Obsolete:Actions category enabled)<br /><br />>MessageToConsole ("Dumping ActionID Info begin...\n");<br /><br />>InterfacePtr<IApplication> theApp(gSession->QueryApplication());<br /><br />>InterfacePtr<IActionManager> actionManager(theApp->QueryActionManager());<br /><br />>actionManager->DumpActionInfo(IActionManager::allActionInfo);<br /><br />Namely, I need to filter kEditOriginalActionID/kLinksPanelMenuComponentBoss and kEditOriginalSelectionActionID/kLinksPanelMenuComponentBoss<br />Everything seems straighforward for the kEditOriginalSelectionActionID ActionID. I just perform my action on the links currently selected in the current document.<br />For the kEditOriginalActionID though, it is necessary for me to know which links are selected in the Links Panel.<br /><br />Any idea how I might do this?<br /><br />Thanks again,<br /><br />- Jackeen

  • Modifying the data type of existing field in CC&B

    Hi ,
    In log tab of Customer Contact page in CC&B there is a field (Trigger Date) which stores only date.I want to modify it so that it can store date and time also.
    Can anybody guide me how can i do this ??
    Thanks
    sunil

    its a base field from the table CI_CC_LOG. It is recomended that you do not change it.

  • How do i retrieve the serialnumber from an existing Adobe Acrobat x installation

    Hi there!
    i've 30 Licenses bought for Adobe Acrobat X but i do not know, which key is used for which installation!
    i need a scriptable solution to retrieve the key either from registry or files.
    i want to inventor my installations and assign the correct computer to the licenses.
    thanx in advcance,
    best regards,
    Jörg

    Thx for your answer!
    BUT:
    i do not need a program, that has to be installed...
    i want to run a script, which extracts the serial, that i entered during setup. if Belarc is able to read this info, there should be an other way too!

  • How do I modify the behaviour of "Image Sizing" Module in Export

    As part of the export process I want to re-size an image to a fixed size e.g., 5400x3600. The iamge should be scaled symmetrically and therefore some fill-in of black or white may be necessary.
    I know I can do this as a "post-process" action, but then I need to re-do sharpening, assigning colour profile etc.
    So is there a way in the SDK to "replace" the "Image Sizing" Module with one of my own making?
    Best wishes
    Terry

    You can disable the image sizing portion of the UI and use the updateExportSettings() function on your export service provider to force the image size to your desired size. (This function is not well documented. It takes a single parameter, exportSettings, which you may modify in place before the export starts.) For example (this would go inside your export service provider declaration):
    updateExportSettings = function( exportSettings )
        exportSettings.LR_size_resizeType = 'wh'  -- specific width and height
        exportSettings.LR_maxHeight = 3600
        exportSettings.LR_maxWidth = 5400
    end,
    hideSections = { 'imageSettings' },  -- hide the sizing panel
    However, there is not a way to get Lightroom to render a file that is cropped to a specific aspect ratio. Whatever sizing parameters are specified, we will always honor the aspect ratio of the source file. In your processRenderedFiles function, you could use a third-party tool like Mogrify to regenerate the output file with the fill necessary to satisfy the desired aspect ratio.

  • How to modify the names of existing Pages styles?

    In Pages 5.5.2 under Yosemite 10.10.2.
    1. How to modify the name of an existing style in both the Main styles list, and also in the Bullets & Lists styles list?
    2. How to delete unwanted styles from both styles lists?
    3. How to modify the default formulas for Bullets & Lists styles and make them stick for future documents?
    Appreciated.

    Click on it and you get the Formatting options for the selected text.
    If I had meant the Menus, I would have added that, but all the above is what you see when you have a document open in Pages 5.5.2.
    The > are clearly progressive steps. Except for the ">" which appears in the pop up menu, so I put it in quotes.
    I always assume that people on the forum will make some effort themselves, but can bring it down a notch if needed.
    Peter

  • New PC with ADE 4 activated with existing adobe ID, all books won't open with Error! Check Activation

    Hi
    I have recently bought a new PC with windows 7 and have installed Adobe Digital Editions v4.0.3
    I authorized the computer using my existing adobe ID, the same one used on my old PC that ran windows XP.
    I cannot seem to open any ebooks (files with the .acsm extension) or add them to the library. I get this unhelpful little error dialog:
    Error! Check Activation.
    I have tried to deactivate the computer (in order to retry activation), but that fails too with the error:
    Unable to Erase Authorization. Please try after some time.
    Please Adobe.... why does nothing work????

    Ok so, I finally managed to remove the failed activation and then I reactivated after which I could read the ebook.
    I used this method here: I can't de authorize my computer. It just keeps saying to try again later.
    to deactivate, and then repeated the activation process.
    Adobe, surely many many people have this problem with a new install, and to have to resort to editing the registry in order to fix it is just madness.
    Why does the activation fail the first time, and why then does deactivation also fail? PLEASE FIX YOUR PRODUCTS.

  • How can we change the behaviour of a method by using proxy ??

    Hi ,
    can anybody tell me how we can add or change the behaviour of a method in java using the proxy object ?? it would be better if u put ur idea with an example .
    Thanks ,
    Ganesh

    Please take your time to write full words: "you" instead of "u", "your" instead of "ur". It makes your posts a lot easier to read, especially for those of us who don't have English as their native language.
    You can not really "modify" the behaviour of a method by using a proxy, but you can create a proxy, direct all but one method to the original method and provide a separate implementation for the target method.
    This way you'll have two objects with the same interface (not only in the Java sense, but all methods look the same), but differing behaviour: the original object and the proxy.
    Now if you pass around the proxy instead of the original object, then it'll look as if you changed the behaviour of your object.

  • I keep getting an error. Error 1321. The installer has insufficient privileges to modify the file

    I have Adobe Acrobat 10.0. I keep getting an error. Error 1321. The installer has insufficient privileges to modify the file C:\Programs Files\Adobe\Acrobat10.0\Acrobat\rt3d.dll
    How do I fix this issue?

    This happened after a forced update. This copy of Adobe has been running fine on the laptop for about a year and a half now all the sudden I am getting this error. Is the only fix to uninstall and reinstall?

  • Modifying the production order from VBAP

    Hi Expers
    I need some modification and write a code so how to proceed with the following comments as below
    Modification to processing of Command Orders & Tickets
    Currently there is an assumption that every sales order (and its deliveries) will include a product which is made to order, i.e. for which a production order will be required.
    In ZINT_CSTPORD_ROUTINES, a check is made to identify the production order linked to the sales order. If there is no such production order (usually because of the customeru2019s credit status) then processing of the ticket is terminated.
    This assumption would fall down if an order was to be raised (in Command) on which there is no concrete material. For example, if we sold a bag of pigment or a screed to a customer. In this case the item would be sold from stock and there would be no need for a production order.
    The solution
    In the routine which checks for the existence of a production order, modify the code as follows:
    u2022     Inspect each item on the sales order
    u2022     If (and only if) there is at least one item with a category of u201CZTACu201D then check for a production order, otherwise process the order in the usual manner.
    Regards
    Piroz

    Thread closed

  • "the path does not exist" error opening shared adobe files on XP machine

    We recently upgraded a mac mini from Tiger (10.4.11) to Leopard (10.5.X) we updated to the most recent 10.5.
    We have an office with 3 macs and 1 XP.
    All users connect to the Mac Mini via SMB sharing.
    Everyone Authenticates as the same admin user.
    *The XP machine can open and save all file types EXCEPT Adobe Photoshop and Illustrator files.*
    They are using CS3.
    The mac and XP users could open save and share all files prior to the leopard update.
    We used the "Archive and Install" option to upgrade to leopard.
    The shared files had the "unknown Group" error which we solved by adding them to the ADMIN group. This step changed the error message the the XP user was receiving.
    I have tried many networking fixes, including group policy on windows, turning off IPv6 on the Mini, but we cannot open or save files directly from Illustrator.
    When the file
    We can move files to the XP desktop then open and save. Files saved on the XP machine can be moved back to the mini and opened directly by all of the Mac users.
    Any guesses why this might be occurring?

    There are actually two separate error messages received by the windows user when trying to open files off of the Mini.
    "the path does not exist" and "this file cannot be found".
    This happens when we navigate directly to the file with windows explorer.

  • While installing Acrobat XI Pro, the installation automatically rolls back and I get the message "The wizard was interrupted before Adobe Acrobat XI Pro (11.0.07) could be completely installed. Your system has not been modified. To complete installation a

    While installing Acrobat XI Pro, the installation automatically rolls back and I get the message "The wizard was interrupted before Adobe Acrobat XI Pro (11.0.07) could be completely installed. Your system has not been modified. To complete installation at another time, please run setup again." How to resolve it.
    How do I modify the system.

    Hi Rgardezi,
    The only reason why Acrobat installation fails and throw this error message is when there are some services running in the background causing the installer not to complete the installation. My take is try the following steps and suggest if you were able to install the products or not :
    1) Navigate to control panel and confirm that there is no line Item that talks about Acrobat. If you see Acrobat XI listed there, please remove them.
    2) Perform a selective Start up using the steps mentioned in this link.
    Please suggest if the above mentioned steps were able to resolve the query for you or not.
    Cheers,
    Kartikay Sharma

Maybe you are looking for

  • LR5.5 can't sync some images with LR Mobile over the cloud

    I have currently the problem that I can not sync to the Adobe cloud a set of photos to my LR mobile on the iPad. It concerns only 61 photos from one shooting. For the first 6 images it works, with the remaining 61 pieces not. With all the other image

  • Opportunities in Cloud Computing

    A recent article from CIO Journal indicates that there is an extreme labor shortage (in certain technology areas) that is is leading to upward pressure on wages for IT Workers. This represents a great opportunity for those with certain skill-sets, am

  • WCS reporting issue

    When reporting on Rogues in WCS ( all versions ) using Reports > Rogue AP's , the report never lists any other types of AP other than ' malicious ' , even though ' friendly ' AP's exist Any one else had this issue ?

  • PO Sending via mail

    Dear All, Need to send PO as PDF document via mail to the vendor, kindly send the step by step procedure with T. Code. Rgds Srinivasan

  • Problem with SQL 2005

    Hi All: After successful export with R3Load of a ECC5.00 (Kernel 6.40 Patch level 171) when we import the data into SQL2005 SP1 and after successful import into the target database, we have some inconsistencies in several DYNPROS, we got errors like