Create Shortcut for Right-Click Menu

I know you can create shorcuts from System Pref. - Keyboard - Keyboard shortcuts.
But this only works with commands that are on the menu bar, but not with menu that only appears when you click the right button of the mouse (or two finger tapping on trackpad)
I'd like to know if there is any way to make a shortcut (like apple + D or sth) for the mouse menu. I suppose Automator can give us some way to work it out?
Thanks

Similar Messages

  • How to display images for right click menu items

    I am trying to display some image to the left of my right click menu items.I have searched the help but did't find anything wich can add an image to the menu items. If anyone knows how to do it, Please share 
    Thank to all.
    If you are young work to Learn, not to earn.

    Hi Mr,
    you should have searched the topic 'Programming with Menu Bars'
    Use the ATTR_SHOW_IMAGES attribute to add a column in the menu in which images can be placed. Then use the ATTR_ITEM_BITMAP attribute to specify an image to use for a submenu or menu item

  • Add Custom Right click menu on editable AdvancedDataGrid

    Hi,
    I have an AdvancedDataGrid whose editable property is set to true and selectionmode is multipleCells.
    Is it possible to display custom right click menu when i right click on any cell? Am getting only the
    default menu items (Cut, Copy, Paste, Select All). Am using ContextMenu and ContextMenuItem class
    for creating the custom right click menu. The same code is working in Flex and not in AIR. Do we have
    to use NativeMenu in Adobe AIR? Please help. Attaching sample of my code.
    <mx:Script>
    <![CDATA[
    [Bindable] 
    private var cMenu:ContextMenu; 
    public function createContextMenu():void {
              cMenu =
    new ContextMenu();     cMenu.hideBuiltInItems();
         cMenu.addEventListener(ContextMenuEvent.MENU_SELECT, contextMenu_menuSelect);
         var cMenuItemCopy:ContextMenuItem = new ContextMenuItem("Copy Data");     cMenuItemCopy.addEventListener(ContextMenuEvent.MENU_ITEM_SELECT, contextMenuItemSelect_Copy);
         var cMenuItemPaste:ContextMenuItem = new ContextMenuItem("Paste Data");     cMenuItemPaste.addEventListener(ContextMenuEvent.MENU_ITEM_SELECT, contextMenuItemSelect_Paste);
         cMenu.customItems.push(cMenuItemCopy);     cMenu.customItems.push(cMenuItemPaste);
    this.contextMenu = cMenu;    
    private  
    function contextMenu_menuSelect(event:ContextMenuEvent):void { }
    private function contextMenuItemSelect_Copy(event:ContextMenuEvent):void {
         copy(event);
     private function contextMenuItemSelect_Paste(event:ContextMenuEvent):void {
         paste(event);
    ]]>
    </mx:Script><mx:AdvancedDataGrid  width="100%" height="72%" id="dProvider" creationComplete="init()"
          editable="true" itemEditBeginning="checkIfAllowed(event)" itemEditEnd="onEditEnd(event)"
          selectionMode="multipleCells" itemRenderer="renderer.ColorForDashBoard" contextMenu="{cMenu}"/ >

    I have same issue too. Can any one help
    Thanks

  • How to display a seperate right click menu for each item of a tree control?

    Hi I want to display a specific right click menu when a particular tree item is selected. I know how to create a menu and how to display it. I am using the function GetLabelFromIndex() to get the active tree item and then compare the label and based on the result display a manu for that item. Now my problem is that when I use the above function in the EVENT_RIGHT_CLICK it gives me the error "the Index passed is out of range" while using the same function with the same arguments in EVENT_SELECTION_CHANGE it gives no error...below is the part of my code
    case EVENT_RIGHT_CLICK:
    GetLabelFromIndex(panelHandle, PANEL_TREE, eventData2, label1);
    //The function gives the stated error here
    if(eventData1)//after it I compare the result and display the menu
    case EVENT_SELECTION_CHANGE:
    GetLabelFromIndex (panelHandle, PANEL_TREE, eventData2, label1);
    //The function works fine here
    if (eventData1)
     If any one have any idea whats going on or alternate way of doing this Please share knowledge...Thanks
    If you are young work to Learn, not to earn.

    Hi,
    one possible approach of solving this problem is looking closer at the error message: The error "the Index passed is out of range" tells you that something is wrong with the index, either it is too small or too large So why don't you set a breakpoint and check the index value, it might be useful information...
    The other hint is to check the meaning of eventdata2 (using the help): It is different for different events! For the event_right_click it gives the horizontal mouse position, not the index as event_selection_change does...

  • How to display right-click menu for JPanel?

    Hi...
    I am developing an application to display a JWindow in the screen along with a TrayIcon in the system-tray area. There should be a right-click menu in both the tray icon and JWindow for further options.
    I am able to create a JPopupMenu for tray icon. On right-clicking on the tray icon, the menu is being displayed. But not able to do the same for the JWindow. I am able to capture the right-click mouse event, but not able to display the menu.
    This is how I am displaying the menu for the tray icon
    PopupMenu  popupmenu = new PopupMenu();
    MenuItem  menuitem1 = new MenuItem("Exit");
    menuitem1.addActionListener(new ActionListener()
        public void actionPerformed(ActionEvent exx)
            System.exit(0);
    popupmenu.add(menuitem1);
    trayicon = new TrayIcon(Toolkit.getDefaultToolkit().getImage("./images/Icon.gif"),"Right-click for more options",popupmenu);For displaying the menu in the JPanel, I am using the following snippet...
        public class MyMouseListener extends MouseAdapter
            public class MyMouseListener() {}
            @Override
            public void mouseClicked(MouseEvent e)
                if (e.getButton() == MouseEvent.BUTTON3)
                   System.out.println("Clicked");
                   jp.setComponentPopupMenu(popupmenu);
        }Can anyone please help me to do this??
    Thanks in Advance...

    Hi,
    PFA the code I am using...
    import javax.swing.*;
    import java.awt.*;
    import java.awt.event.*;
    public class DisplayStrip extends JWindow implements MouseListener, MouseMotionListener
         Point location;
         MouseEvent pressed;
        JPanel jp ;
        JLabel jl ;
        JPopupMenu popupmenu ;
         public DisplayStrip()
              addMouseListener( this );
              addMouseMotionListener( this );
         public void mousePressed(MouseEvent me)
              pressed = me;
         public void mouseClicked(MouseEvent e) {}
         public void mouseReleased(MouseEvent e) {}
         public void mouseDragged(MouseEvent me)
              location = getLocation(location);
              int x = location.x - pressed.getX() + me.getX();
              int y = location.y - pressed.getY() + me.getY();
              setLocation(x, y);
         public void mouseMoved(MouseEvent e) {}
         public void mouseEntered(MouseEvent e) {}
         public void mouseExited(MouseEvent e) {}
         public void DisplayStripRun()
              setSize(100, 10);
              setAlwaysOnTop(true);
            jp = new JPanel();
              jp.setBackground(Color.GREEN);
              jp.addMouseListener(new MyMouseListener());
              jl = new JLabel();
              jl.setText("Right-click Here");
              jp.add(jl);
              add(jp);
              setVisible(true);
              pack();
              popupmenu = new JPopupMenu();
              JMenuItem menuitem = new JMenuItem("Exit");
              menuitem.addActionListener(new ActionListener()
                   public void actionPerformed(ActionEvent exx)
                        System.exit(0);
              popupmenu.add(menuitem);
         public static void main(String args[])
              DisplayStrip ds = new DisplayStrip();
              ds.DisplayStripRun();
        public class MyMouseListener extends MouseAdapter
            //public class MyMouseListener() {}
            @Override
            public void mouseClicked(MouseEvent e)
                if (e.getButton() == MouseEvent.BUTTON3)
                   System.out.println("Right clicked");
                   jp.setComponentPopupMenu(popupmenu);
                   popupmenu.setVisible(true);
    }

  • How to remove the option "Set as default background..." from the right-click menu on a picture, for all users.

    Hi! I would like to know if there is any possibility to remove the option "Set as default background..." from the right-click menu on a picture, for all users. I know that's possible to edit userContent.css or userChrome.css, but this concerns only a profile at a time and being in a domain, I would like to set this for all people using Firefox.
    Can it be possible to edit a mozilla.cfg file to get the same result?
    Thank you in advance for help and tips.

    AFAIK then there is no way to do that system wide. You can only do that via userChrome.css or an extension like the Menu Editor per profile .You can install extensions globally, but the user will have to enable them anyway. That is not required for userChrome.css code.

  • HT201403 It would be very helpful for Apple to re-instate the view as icon option for a pdf file in an email on the right click menu? As far as I can see no easy way for a basic user to get this back?

    Would be great for Apple to reinstate the pdf as icon in mail - but using the right click menu. It seems to have gone - and as a basic user there seems to be no simple solution - I used the rich/plain text swap but it didn't work...
    Apple - we need you to solve!

    http://www.apple.com/feedback/macosx.html
    It's highly doubtful that Apple will change this in Mac OS X 10.7 since that OS version has now been discontinued for quite some time. Whether they will change that in OS X 10.9 or a future version I can't say.
    If this is a serious issue for you, you can look into Attachement Tamer:
    http://lokiware.info/Attachment-Tamer
    It's not free, but it addresses much more than the issue of PDFs appearing as images, not icons, so it might be worth the price.
    Regards.

  • How do I make a feature request for Firefox? Need for "Keep this website" in right-click menu for History viewing.

    During my daily Firefox sessions (w/over 300 RSS feeds), I commonly visit about 50 web sites. At the end of a session I may only want to keep one or a few history entries and have to manually delete the rest. I always keep one in particular.
    It would be infinitely easier if the capability of "Keep this Site" option were available in the right-click menu which would mean deleting the remainder of the history entries not marked to be kept, in conjunction with the History delete options in Firefox Preferences.
    Note: This is a real User need I have, and possibly many others would like the versatility.

    You can click the star in the location bar to bookmark a site that you want to keep.
    *https://support.mozilla.com/kb/how-do-i-use-bookmarks

  • Copying a table with the right-click menu in schema browser fails to copy comments when string has single quote(s) (ascii chr(39))

    Hi,
    I'm running 32-bit version of SQL Developer v. 3.2.20.09 build 09.87, and I used the built in context menu (right-clicking from the schema browser) today to copy a table.  However, none of the comments copied.  When I dug into the PL/SQL that the menu-item is using, I realized that it fails because it doesn't handle single quotes within the comment string.
    For example, I have a table named WE_ENROLL_SNAPSHOT that I wanted to copy as WE_ENROLL_SNAPSHOT_V1 (within same schema name)
    1. I right-clicked on the object in the schema browser and selected Table > Copy...
    2. In the pop-up Copy window, I entered the new table name "WE_ENROLL_SNAPSHOT_V1" and ticked the box for "Include Data" option.  -- The PL/SQL that the menu-command is using is in the "SQL" tab of this window.  This is what I extracted later for testing the issue after the comments did not copy.
    Result: Table and data copied as-expected, but no column or table comments existed.
    I examined the PL/SQL block that the pop-up window issued, and saw this:
    declare
      l_sql varchar2(32767);
      c_tab_comment varchar2(32767);
      procedure run(p_sql varchar2) as
      begin
         execute immediate p_sql;
      end;
    begin
    run('create table "BI_ETL".WE_ENROLL_SNAPSHOT_V1 as select * from "BI_ETL"."WE_ENROLL_SNAPSHOT" where '||11||' = 11');
    select comments into c_tab_comment from sys.all_TAB_comments where owner = 'BI_ETL' and table_name = 'WE_ENROLL_SNAPSHOT' and comments is not null;
    run('comment on table BI_ETL.WE_ENROLL_SNAPSHOT_V1 is '||''''||c_tab_comment||'''');
    for tc in (select column_name from sys.all_tab_cols where owner = 'BI_ETL' and table_name = 'WE_ENROLL_SNAPSHOT')
        loop
       for c in (select comments from sys.all_col_comments where owner = 'BI_ETL' and table_name = 'WE_ENROLL_SNAPSHOT' and column_name=tc.column_name)
       loop
       run ('comment on column BI_ETL.WE_ENROLL_SNAPSHOT_V1.'||tc.column_name||' is '||''''||c.comments||'''');
    end loop;
    end loop;
    EXCEPTION
      WHEN OTHERS THEN NULL;
    end;
    The string of the table comment on WE_ENROLL_SNAPSHOT is this:
    WBIG table of frozen, point-in-time snapshots of Enrolled Students by Category/term/pidm. "Category" is historically, and commonly, our CENSUS snapshot; but, can also describe other frequencies, or categorizations, such as: End-of-Term (EOT), etc. Note: Prior to this table existing, Census-snapshots were stored in SATURN.SNAPREG_ALL. All FALL and SPRING term records prior-to-and-including Spring 2013 ('201230') have been migrated into this table -- EXCEPT a few select prior to Fall 2004 (200410) records where there are duplicates on term/pidm. NO Summer snapshots existed in SNAPREG_ALL, but were queried and stored retroactively (including terms prior to Spring 2013) for the purpose of future on-going year-over-year analysis and comparison.
    Note the single quotes in the comment: ... ('201230')
    So, in the above PL/SQL line 11 grabs this string into "c_tab_comment", but then line 12 fails because of the single quotes.  It doesn't know how to end the string because the single quotes in the string are not "escaped", and this messes up the concatenation on line 12.  (So, then no other column comments are created either because the block throws an error, and goes to line 22 for the exception and exits.)
    When I modify the above PL/SQL as my own anonymous block like this, it is successful:
    declare
      c_tab_comment VARCHAR2(32767);
    begin
    SELECT REPLACE(comments,chr(39),chr(39)||chr(39)) INTO c_tab_comment FROM sys.all_TAB_comments WHERE owner = 'BI_ETL'   AND table_name = 'WE_ENROLL_SNAPSHOT'  AND comments IS NOT NULL;
    EXECUTE IMMEDIATE 'comment on table BI_ETL.WE_ENROLL_SNAPSHOT_V1 is '''||c_tab_comment||'''';
    for tc in (select column_name from sys.all_tab_cols where owner = 'BI_ETL' and table_name = 'WE_ENROLL_SNAPSHOT')
        loop
       for c in (select REPLACE(comments,chr(39),chr(39)||chr(39)) comments from sys.all_col_comments where owner = 'BI_ETL' and table_name = 'WE_ENROLL_SNAPSHOT' and column_name=tc.column_name)
       loop
       EXECUTE IMMEDIATE 'comment on column BI_ETL.WE_ENROLL_SNAPSHOT_V1.'||tc.column_name||' is '||''''||c.comments||'''';
    end loop;
    end loop;
    EXCEPTION
      WHEN OTHERS THEN NULL;
    end;
    On lines 4 and 8 I wrapped the "comments" from sys.all_tab_comments and sys.all_col_comments with a replace command finding every chr(39) and replacing with chr(39)||chr(39). (On line 8 I also had to alias the wrapped column as "comments" so line 10 would succeed.)
    Is this an issue with SQL Developer? Is there any chance that the menu-items can handle single quotes in comment strings? ... And, of course this makes me wonder which other context menu commands in the tool might have a similar issue.
    Thoughts?
    thanks//jacob

    PaigeT wrote:
    I know about quick drop, but it isn't helpful here. I want to be able to right click on a string or array wire, navigate to the string or array palette, and select the corresponding "Empty?" comparator. In this case, since I do actually know where those functions live, and I'm already using my mouse to right click on the wire, typing ctrl-space to open quick drop and then typing in the function name is actually more work than navigating to it in the palette. It would just be nice to have it on hand in the location I naturally go to look for it the first time. 
    I don't agree with this work flow.  Right hand on mouse, left hand on home keys.  Pressing CTRL + Space is done with the left hands, and then you could assign "ea" to "Empty Array" both of which is accessible with the left hand.  Darren posted a bunch of great shortcuts for the right handed developer.
    https://decibel.ni.com/content/docs/DOC-20453
    This is much faster than waiting for any right click menu navigation, even if it is found in the suggested subpalette.
    Unofficial Forum Rules and Guidelines - Hooovahh - LabVIEW Overlord
    If 10 out of 10 experts in any field say something is bad, you should probably take their opinion seriously.

  • How do I add entries to PCManFM's right-click menu? [SOLVED]

    Hello there,
    Is there a way to customize PCManFM right-click menu? I'd like to add custom entries, for instance:
    right click a folder and choose "Start slideshow" to get the following command executed: "qiv -smt <selected_folder>"
    Can this be done? How?
    This could be a system-wide setting or a user setting, I don't really care.
    Thanks for any guidance.
    Last edited by brazzmonkey (2009-03-16 20:42:36)

    Inxsible wrote:Yup that's what I am doing, but on selecting an app from the All Applications tab, it creates a .desktop file in my home folder under the .local folder. The next time you try to go into the Open With menu, Geany (or any other app - that I selected from the All Applications list) shows up twice.
    Well , I'm not sure what's the problem here . I only see this when I attach a media player(e.g mplayer) to different file formats . PcManFM seems to insist on creating a .desktop file for each association but I don't see duplicate entries in the menu .
    ~/.local/share/applications$ ls | grep mplayer
    mplayer-usercreated-1-usercustom-0.desktop
    mplayer-usercreated-1-usercustom-1.desktop
    mplayer-usercreated-1-usercustom-2.desktop
    mplayer-usercreated-1-usercustom-3-usercustom-0-usercustom-0.desktop
    mplayer-usercreated-1-usercustom-3-usercustom-0.desktop
    mplayer-usercreated-1-usercustom-3.desktop
    mplayer-usercreated-1.desktop
    smplayer-usercustom-0-usercustom-0-usercustom-0-usercustom-0.desktop
    smplayer-usercustom-0-usercustom-0-usercustom-0-usercustom-1.desktop
    smplayer-usercustom-0-usercustom-0-usercustom-0.desktop
    Last edited by Nezmer (2009-03-16 22:50:28)

  • Removing right-click menu items

    When I highlight a group of text in a web page and right click the text, There are 4 options in the menu for converting the text to PDF.
    How do I remove these options from the menu?

    Why doesn't adobe have an option within settings to remove shell/context/menu items?
    For those who don't want the extra crap cluttering up their menus...
    In winXP
    -(with IE closed), click 'start', 'control panel', 'internet options'.
    -Click on the 'programs' tab.
    -click 'manage ad-ons'
    -Find the Browser Helper Object called 'AcroIEToolbarHelper Class',
    --highlight it and click 'disable'.
    -Click 'ok' to close the manage ad-ons window, click 'ok' to close the internet options window.
    You still need to remove the items from the right-click menu.
    (*everyone puts a disclaimer so here goes. If you are scared to edit the registry...don't. Create a restore point, don't touch any other entries except the ones listed.)
    -click 'start', 'run', type 'regedit', click 'ok'
    -go to this entry "[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\MenuExt]"
    -delete the 8 Adobe 'convert....' entries. (or just the ones you want gone).
    (You can export them if you want, just highlight, right-click, export, and save them somewhere, but it's not necessary. If you want them back just go to 'internet options' in 'control panel' and 'enable' the Browser Helper Object again. If you re-enable it, the next time you start IE the registry entries and right-click items are replaced.)

  • 2700 classic - shortcut for right selection key

    I bought Nokia 2700 classic recently.  When I tried to setup shortcut for right selection key, I am getting a list of application which I am not going to use frequently on a day to day basis.  If we get Music player or radio in this application list, it would be very much useful.  Guys do you have any idea how to get music player or radio on right selection key?
    Solved!
    Go to Solution.

    try menu/settings/shortcuts right selection key options change a list with apps or bookmarks should appear music play or radio should appear
    If  i have helped at all a click on the white star below would be nice thanks.
    Now using the Lumia 1520

  • Illustrator's weak right-click menu...

    Why is the right-click menu on Illustrator so weak? Other Adobe products seem to have a plethora of menu items when you right click on a selected object... I can't count the number of times I've right clicked in Illustrator to copy something only to rediscover that not even "cut" "copy" or "paste" are available. Why is this?

    Because right-click to bring up a menu is:
    Much faster and easier than keyboard shortcuts
    Reduces cognitive load by having a consistent way to display what can be done with what you are right-clicking on
    Would be more consistent with some other CS products
    Even when there are right-click menus available in similar places in CS products (such as the layers in Photoshop and InDesign), the menus are not the same.  Not even close, really.  This inconsistency with right-click menus matches the inconsistency with just about every other UI/UX aspect across the CS.  And that is inexcusable.  When working across multiple applications, these inconsistencies create a persistent cognitive load on the user, due to the need to keep in mind which application they are in and how to perform the same functions in this application as the other applications.  It is greatly complicated when one spends days or weeks working mostly in one application, then days or weeks working mostly in another application, and then switching back to the original one.  It is like learning it all over again.
    This prevents apps in the CS from every becoming natural and second-nature, where tasks are performed without concious thought on how to use the UI to accomplish them.  If a person was only ever in one application, this is not an issue. But it is sold and marketed as a suite, and even has "suite" in the name.  But the UI, UX, and workflows reflect the reality: it is a collection of individual applications that just happen to be sold as a package.

  • Is there a way to open the right click menu on the left side of your pointer?

    Whenever I try to right-click an object that's located on the right side of the screen, the pointer always automatically click whatever entry in the right-click menu which just happens to be under the pointer the moment the menu is opened. I noticed that the reason this happens is because the right click menu always forces itself to open on the right side of the pointer, and when there isn't enough space, the right-click menu will open underneath the pointer. Since this is horribly inconvenient, is there a way to open the right-click menu on the left side of your pointer?

    Are you saying you have an icon on the far right side and when you rt click on it, your pointer ends up opening wherever it lands? That is a two step process, or normally should be at least a two step process. Do you have a Mouse in your Control Panel? You should check, because there may be some properties with which you can play. For instance, I can switch primary and secondary functions on my mouse buttons by checking a box.
    When I rt click on right side, the menu opens on the left.
    When I rt click on left side, the menu opens on the right.
    In order for me to take an action, I then have to move to an area in that menu and click.
    I hope I understood your question correctly.

  • Right-click menu not showing certain options?

    When I highlight text, and right-click, it used to show options such as "Search Google for '(the highlighted text)'", or "Open Link in New Tab" if the text was a URL. Now, it shows none of these options, or copy, paste, cut, delete, select all, and others. I have a picture '''[http://i.imgur.com/q9N00.png here]''' as an example, and this is seriously annoying me, as the searching for highlighted text was one of my most used features. I've used multiple add-ons that edit the right-click menu, but none of them have worked.
    Any ideas on how I can get it back to normal? Thanks.

    dont know if this will help but heres the table i remembered :
    http://zone.ni.com/devzone/cda/tut/p/id/10383 
    Please remember to accept any solutions and give kudos, Thanks
    LV 8.6.1, LV2010,LV2011SP1, FPGA, Win7

Maybe you are looking for

  • Issue with calculating Top 20 % in Query Designer

    Hai I am working on Query designer 7.0 where I need to design a report which has 4 parts. The first 3 parts displays the Items with Top 20 Inventory Value with 3 respective divisions for 6 months . Now the 4th part is to display Top 20% of inventory

  • Lumia 630 bugs and defects.

    I am using Lumia 630 since last 4/5 months but now i am feeling some major problems . I am listing the problems below. Please help me to resolve then. And please tell me solution other then hard reset cause its not possible for me to re-download ask

  • Upgrading from 1gen mini to 30G video...

    Hi all, I'm currently awaiting the arrival of my new 30G video which will replace my old faithful mini. My husband is going to take the mini, so how do we do this painlessly? I would like to just disassociate the mini from my iTunes library somehow a

  • White line across top of edit page

    When I use edit page a white horizontal line apears across the the top of the page?

  • AES encryption performance

    I'm wondering if anyone has tried using the AES (Advanced Encyption Standard) via Oracle's Advanced Security Option (aka: Oracle Enterprise Security) to encrypt communications between an Oracle client and the Server. If so, did you notice any substan