• Login
    • Search
    • Categories
    • Recent
    • Tags
    • Users
    • Groups
    • Rules
    • Help

    Do more on the web, with a fast and secure browser!

    Download Opera browser with:

    • built-in ad blocker
    • battery saver
    • free VPN
    Download Opera

    M2 right click menu

    Opera for Windows
    3
    35
    8633
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • emc
      emc last edited by

      Hi all,

      What do I have to make if I am to put some of the item in a sub menu ?

      [Mail Item Popup Menu]

      Item, "Reminder A " DI_IDSTR_M2_MAILVIEWTOOLBAR_FORWARD=Forward mail & Insert, "abc@abc.com" & Focus previous widget & Focus previous widget & Next item & Next item & delay, 2000 & Send mail

      Item, "Reminder B " DI_IDSTR_M2_MAILVIEWTOOLBAR_FORWARD=Forward mail & Insert, "abcd@abc.com" & Focus previous widget & Focus previous widget & Next item & Next item & delay, 2000 & Send mail

      Item, "Reminder C " DI_IDSTR_M2_MAILVIEWTOOLBAR_FORWARD=Forward mail & Insert, "abcde@abc.com" & Focus previous widget & Focus previous widget & Next item & Next item & delay, 2000 & Send mail

      Item, "Reminder I " DI_IDSTR_M2_MAILVIEWTOOLBAR_FORWARD=Forward mail & Insert, "I@abc.com" & Focus previous widget & Focus previous widget & Next item & Next item & delay, 2000 & Send mail

      Item, "Reminder II " DI_IDSTR_M2_MAILVIEWTOOLBAR_FORWARD=Forward mail & Insert, "II@abc.com" & Focus previous widget & Focus previous widget & Next item & Next item & delay, 2000 & Send mail

      Item, "Reminder III " DI_IDSTR_M2_MAILVIEWTOOLBAR_FORWARD=Forward mail & Insert, "III@abc.com" & Focus previous widget & Focus previous widget & Next item & Next item & delay, 2000 & Send mail

      Say If I am to group:
      Reminder A
      Reminder B
      Reminder C
      into 1 group

      and
      Reminder I
      Reminder II
      Reminder III
      into another group

      so that in the right click menu it shows 2 lines
      ( 1 line fort reminder A, 1 line for Reminder I )

      Inside each of these 2 lines with ( reminder A, B & C ) & ( reminder I, II & III )

      Thank you
      edmond.

      Reply Quote 0
        1 Reply Last reply
      • stng
        stng last edited by

        Use "Submenu" command.

        For an example:

        [ReminderA_and_B]

        Item, "Reminder A " DI_IDSTR_M2_MAILVIEWTOOLBAR_FORWARD=Forward mail & Insert, "abc@abc.com" & Focus previous widget & Focus previous widget & Next item & Next item & delay, 2000 & Send mail
        Item, "Reminder B " DI_IDSTR_M2_MAILVIEWTOOLBAR_FORWARD=Forward mail & Insert, "abcd@abc.com" & Focus previous widget & Focus previous widget & Next item & Next item & delay, 2000 & Send mail

        [Mail Item Popup Menu]

        Submenu, "ReminderA_and_B", ReminderA_and_B="Show popup menu,,,, "Mail Accounts""

        Reply Quote 0
          1 Reply Last reply
        • sgunhouse
          sgunhouse Moderator Volunteer last edited by

          The part after the equals sign is not required on a Submenu listing but can be used to associate an icon with the item.

          Reply Quote 0
            1 Reply Last reply
          • emc
            emc last edited by

            Hi all,

            Sorry for being bothersome.............

            Please correct me where I did wrong as the item shows on the right click but is " dimmed " :

            [Mail Item Popup Menu]

            Submenu, "ReminderA_and_B", =Item, "Reminder A " DI_IDSTR_M2_MAILVIEWTOOLBAR_FORWARD=Forward mail & Insert, "abc@abc.com" & Focus previous widget & Focus previous widget & Next item & Next item & delay, 2000 & Send mail Item, "Reminder B " DI_IDSTR_M2_MAILVIEWTOOLBAR_FORWARD=Forward mail & Insert, "abcd@abc.com" & Focus previous widget & Focus previous widget & Next item & Next item & delay, 2000 & Send mail

            Thanks a lot !!

            Edmond

            Reply Quote 0
              1 Reply Last reply
            • stng
              stng last edited by

              @emc

              1. You need to add the new section [ReminderA_and_B]

              2. Add "item=..." strings in this section.

              3. In your [Mail Item Popup Menu] add:

              Submenu, "ReminderA_and_B", ReminderA_and_B="Show popup menu,,,, "Mail Accounts""

              where "ReminderA_and_B" is the name of section

              where "Mail Accounts" - is icon's name (from Opera's skin).

              Reply Quote 0
                1 Reply Last reply
              • emc
                emc last edited by

                Thanks stng !!

                Reply Quote 0
                  1 Reply Last reply
                • emc
                  emc last edited by

                  Hi stng,

                  Sorry as still unable to manage it.............

                  Can I ask in a simple way, if I am to make a submenu to:

                  a. Forward to my Boss David ( his email is david@david.com)

                  b. Forward to my Boss Peter ( his email is peter@peter.com)

                  How to make them onto a submenu ( in the mail item Popup menu ) ?

                  [Mail Item Popup Menu]

                  Item, DI_IDSTR_M2_MAILVIEWTOOLBAR_REPLY=Reply

                  Item, DI_IDSTR_M2_MAILVIEWTOOLBAR_REPLYALL=Reply All

                  Item, DI_IDSTR_M2_MAILVIEWTOOLBAR_FORWARD=Forward mail & Insert,"xxx@xxx.com" & Send mail

                  Thank you
                  edmond.

                  Reply Quote 0
                    1 Reply Last reply
                  • stng
                    stng last edited by

                    @emc

                    Add(create) new ini's section with any name, for an example:

                    [My_Forward_submenu]

                    Add following lines in [My_Forward_submenu] section

                    Item, "Forward to my Boss David"=Forward mail & Insert,"david@david.com" & Send mail

                    Item, "Forward to my Boss Peter"=Forward mail & Insert,"peter@peter.com" & Send mail

                    Add new string in [Mail Item Popup Menu]

                    Submenu, "My_Forward_submenu", My_Forward_submenu="Show popup menu,,,, "Mail Accounts""

                    Reply Quote 0
                      1 Reply Last reply
                    • emc
                      emc last edited by

                      Done it Stng ! Thanks & it works !

                      I noticed there's an icon at the left so that if I am able to use custom icon ?

                      As sgunhouse have said: The part after the equals sign is not required on a Submenu listing but can be used to associate an icon with the item.

                      Thank you
                      edmomd.

                      Reply Quote 0
                        1 Reply Last reply
                      • stng
                        stng last edited by

                        @edm

                        You can use any icon instead of ""Mail Accounts"

                        Here is a web page with list of standard Opera's icons: http://www.opera1.ovh.org/skinoskop.php

                        You can add your own icon in skin, but this is a different story.

                        Reply Quote 0
                          1 Reply Last reply
                        • emc
                          emc last edited by

                          Hi all,

                          How to add a new line in the mail body ?

                          As now it could seems only can do: ( in one row only )

                          Hi David, this is the weekly report. Tks! Best regards edmond.

                          I would like to do:

                          Hi David, this is the weekly report. Tks !

                          Best regards

                          edmond.

                          ( you know......... in paragraph style instead of just 1 line in 1 row )

                          [Mail Body Popup menu]

                          Item, " To David " DI_IDSTR_M2_MAILVIEWTOOLBAR_FORWARD=Forward mail & Insert, "david@david.com" & Focus Next Widget & Focus blah...blah...blah...blah...widget & Delay, & Insert, " Hi David, this is the weekly report. Tks! Best regards edmond." & Delay, 500 & send mail

                          Thank you !
                          Edmond.

                          Reply Quote 0
                            1 Reply Last reply
                          • stng
                            stng last edited by

                            @emc

                            Unfortunately, you can't emulate pressing the "Enter" button or carrying down to new line with Opera's commands.

                            But you can use external utility NirCMD (freeware, doesn't occuppy system memory, Windows only).

                            1. Download NirCMD: http://www.nirsoft.net/utils/nircmd.html

                            2. Install NirCMD (use Administrator's rights)

                            3. Edit your "To David" item in your Opera's menu configuration:

                            [Mail Body Popup menu]

                            Item, "To David"=Forward mail & Insert, "david@david.com" & Focus Next Widget & Focus Next Widget & Focus Next Widget & Focus Next Widget & Delay, 100 & Insert, "Hi David, this is the weekly report. Tks!" & Delay,200 & Execute program, "c:\windows\nircmd.exe","sendkeypress enter" & Delay,200 & Insert "Best regards edmond." & Delay,200 & Execute program, "c:\windows\nircmd.exe","sendkeypress enter" & Delay, 500 & Send mail

                            P.S.: "Execute program, "c:\windows\nircmd.exe","sendkeypress enter" " - emulates ENTER button.

                            Reply Quote 0
                              1 Reply Last reply
                            • emc
                              emc last edited by

                              Thanks again Stng !!!!

                              Old Opera is GOLD...............

                              Thank you
                              Edmond
                              P.S. I will advise David he need to get use to read mail in one row in future............

                              Reply Quote 0
                                1 Reply Last reply
                              • emc
                                emc last edited by

                                Hi Stng,

                                Thanks to the explanation & now I could be able to manage it everything you shown me.

                                New question, if I am to instruct M2 to:

                                • Focus email body

                                • High-light the 1st 3 rows. ( I may need to be specific to high-light 1st 4 rows or 5 rows )

                                What would be this command ?

                                I understand the Focus next widget... or Focus previous widget in order to make it Focus to mail body.

                                I just do not know that is the command on ' high-kighting '., the 1st few rows in the mail body.

                                and... what is the command on high-lighting a specific ' numbers ' of rows ?

                                I am trying to highlight the:

                                ---- forward message -----

                                sender: xxxxx

                                To: xxxxx

                                From: xxxxx

                                date: xxxxxx

                                Subject: xxxxxxxxx

                                Thank you!

                                edmond.

                                Reply Quote 0
                                  1 Reply Last reply
                                • stng
                                  stng last edited by

                                  @emc

                                  You need to emulate hold down of SHIFT keyboard button. It's possible only with NirCMD external utility.

                                  For compose window with enabled HTML-editing:

                                  Focus next widget & Focus next widget & Focus next widget & Focus next widget & Focus next widget & Go to start & Execute program, "c:\windows\nircmd.exe","sendkey shift down" & Delay,200 & Execute program, "c:\windows\nircmd.exe","sendkey end press" & Delay,200 & Execute program, "c:\windows\nircmd.exe","sendkey down press" & Delay,200 & Execute program, "c:\windows\nircmd.exe","sendkey down press" & Delay,200 & Execute program, "c:\windows\nircmd.exe","sendkey down press" & Delay,200 & Execute program, "c:\windows\nircmd.exe","sendkey shift up"

                                  Yeah, it's pretty much complicated but it works.

                                  What Nircmd does: pressing and holding shift, pressing end, pressing down, pressing down, releasing shift key.

                                  Reply Quote 0
                                    1 Reply Last reply
                                  • emc
                                    emc last edited by

                                    Thank you stng...............

                                    It's really a bit frightening for me to do with nircmd ( as I have tried before without success.... )

                                    Thanks anyway to your time......... !!!

                                    Thank you!
                                    Edmond.

                                    Reply Quote 0
                                      1 Reply Last reply
                                    • stng
                                      stng last edited by

                                      You can use it because it's complete solution.
                                      Here is instruction how to install NirCMD: http://www.blogtechnika.com/setup-use-nircmd-command-line-tool/

                                      Reply Quote 0
                                        1 Reply Last reply
                                      • emc
                                        emc last edited by

                                        Thanks stng !!!!

                                        Done it !!!

                                        Now it can............. highlight 4 lines ( and stop there )

                                        Thanks much stng !

                                        Edmond.
                                        P.S. what other command in NirCMD useful in Opean M2 ? ( if you have a web page link about it.... )

                                        Reply Quote 0
                                          1 Reply Last reply
                                        • emc
                                          emc last edited by

                                          HI stng,

                                          On my other copy of Opear, it does not hightlight the first few rolls in body of email. I saw the cursor jump a few line , it just does not hightlighting the rows in the mail body:

                                          Blah blah blah... Focus Next Widget

                                          & Execute program,

                                          "c:\windows\nircmd.exe","sendkey shift down"

                                          & Delay,200 & Execute program, "c:\windows\nircmd.exe", "sendkey end press"

                                          & Delay,200 & Execute program, "c:\windows\nircmd.exe","sendkey down press"

                                          & Delay,200 & Execute program, "c:\windows\nircmd.exe","sendkey down press"

                                          & Delay,200 & Execute program, "c:\windows\nircmd.exe","sendkey down press"

                                          & Delay,200 & Execute program, "c:\windows\nircmd.exe","sendkey shift up"

                                          Above does work in some of my other copy of Opera when some other copy not.

                                          Highlighting action should be sendkey down press ? And what would be the cause when some Opera M2 doesn't listen to these command ?

                                          Thank you
                                          Edmond.

                                          Reply Quote 0
                                            1 Reply Last reply
                                          • stng
                                            stng last edited by

                                            Hello

                                            Highlighting action should be sendkey down press ?

                                            "sendkey down press" simply emulates pressing of "down" key.

                                            "sendkey shift down" allows to emulate holding down "Shift" button.

                                            While Shift button in a pressed state(when the button Shift is holded by NirCMD), you can use "sendkey shift down" to highlight required amount of text lines.

                                            And what would be the cause when some Opera M2 doesn't listen to these command ?

                                            Keyboard cursor should be placed correctly (in correct field and in correct line) before NirCMD's macro(with "sendkey" arguments) execution.

                                            Also, do not forget to use "& Go to start " command after the last "Focus next widget" command. "Go to start" moves keyboard cursor at the beginning of mail body.

                                            Reply Quote 0
                                              1 Reply Last reply
                                            • First post
                                              Last post

                                            Computer browsers

                                            • Opera for Windows
                                            • Opera for Mac
                                            • Opera for Linux
                                            • Opera beta version
                                            • Opera USB

                                            Mobile browsers

                                            • Opera for Android
                                            • Opera Mini
                                            • Opera Touch
                                            • Opera for basic phones

                                            • Add-ons
                                            • Opera account
                                            • Wallpapers
                                            • Opera Ads

                                            • Help & support
                                            • Opera blogs
                                            • Opera forums
                                            • Dev.Opera

                                            • Security
                                            • Privacy
                                            • Cookies Policy
                                            • EULA
                                            • Terms of Service

                                            • About Opera
                                            • Press info
                                            • Jobs
                                            • Investors
                                            • Become a partner
                                            • Contact us

                                            Follow Opera

                                            • Opera - Facebook
                                            • Opera - Twitter
                                            • Opera - YouTube
                                            • Opera - LinkedIn
                                            • Opera - Instagram

                                            © Opera Software 1995-