M2 right click menu

  • Hi,

    I have made the below in menu.ini ( under Mail Item Popup Menu )

    Item, "Forward" DI_IDSTR_M2_MAILVIEWTOOLBAR_FORWARD=Forward mail & Insert, "myemail@myemail.com" & delay, 9000 & Send mail

    Like this:

    [Mail Item Popup Menu]

    Item, DI_IDSTR_M2_MAILVIEWTOOLBAR_REPLY=Reply
    Item, DI_IDSTR_M2_MAILVIEWTOOLBAR_REPLYALL=Reply All
    Item, "Forward" DI_IDSTR_M2_MAILVIEWTOOLBAR_FORWARD=Forward mail & Insert, "myemail@myemail.com" & delay, 9000 & Send mail

    I have about 5 email accounts in M2, Is it possible I can insert some instruction to this command so that M2 would also select 1 of my email account as sender ?

    Above forward rule works fine but I have to manually select sender account which I am not sure if any special command I can add in order to let M2 also automatically select ?

    Thank you
    edmond.

  • Your formatting seems to have been lost there ... I see three "=" signs but it is all run together.

    It is possible to navigate through the fields, so it should be possible to choose a specific account - which one (as in, first, last, ... the account name doesn't matter, only where it appears on the dropdown list)?

  • emc

    Try this:

    Forward mail & Insert, "myemail@myemail.com" & Focus previous widget & Focus previous widget & Previous item & Previous item & Delay, 9000 & Send mail

    • "Previous item" can be replaced with "Next item"
    • The number of "previous/next item" commands depeneds on what sender account you want use.

    BTW, why you need delay 9000ms ?

  • Thank you Stng,

    Your suggestion works & BINGO. ( It saves me lots of time with this setting )

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

    I do not need anymore 9000ms as it was used to let have have some time to click & choose the sender account so I need to " & Delay, 9000ms ". Now I need only 2000ms , for ma have a final glance on the sender box if is the correct one.

    Thank you!
    edmond

  • Thank you sgunhouse !!

    I think I made mistake coping with === together.

    Now is okay & Thanks much to the time.

    Thank you
    edmond.

  • HI There,

    When I am reading a mail, highlight some word from mail body, I could right click ( below command is added to right click )

    [Hotclick Popup Menu]

    --------------------1
    Submenu,MI_IDM_SEARCH_DUMMY_PARENT, Internal Search With
    --------------------2
    Item, "copy then forward "=Copy & Deselect all & Forward Mail & Insert, "myemail@myemail.com" & Focus next widget & Focus next widget & Focus next widget & Deselect all & go to line start & paste & insert, " Reminder " & Send mail

    The highlight word would be in the subject & also it will auto insert " Reminder " after the hight light words.

    However, the previous tricks " & previous item" or " & Next item " seems does not do the job.

    No matter how many I add them ( either previous item or next item ) sender is remain the same.

    e.g.

    [Hotclick Popup Menu]

    --------------------1
    Submenu,MI_IDM_SEARCH_DUMMY_PARENT, Internal Search With
    --------------------2
    Item, "copy then forward "=Copy & Deselect all & Forward Mail & Insert, "myemail@myemail.com" & Focus next widget & Focus next widget & Focus next widget & Previous item & Deselect all & go to line start & paste & insert, " Reminder " & Send mail

    Is it I need to insert " previous item or next item " in different position in the command ?

    Thank you
    edmond
    P.S. Also, how to post .jpg image in this Forumn ?
    In old forum is [IMG=abc.jpg]

  • You may need to include a small delay - it does require some time for focus to shift. Speaking of focus ... the Focus next widget in this button is different from the Focus previous widget in the last - is the From account getting set properly?

  • emc

    Try this:

    Item, "Copy reminder and forward (from x@x.com mailbox)" = Copy & Deselect all & Forward Mail & Insert, "myemail@myemail.com" & Focus next widget & Focus next widget & Focus next widget & go to line start & paste & insert, " Reminder " & Delay, 200 & Focus previous widget & Focus previous widget & Focus previous widget & Focus previous widget & Focus previous widget & Previous item & Delay, 3000 & Send mail

    • The number of "Previous item" (or "Next item") actions defines the mailbox that will be used.
  • Thank you all !!

    Above is works ! ( but only works when using & Next item )
    I tries use ' & Previous item ', no joy., only ' & Next item ' could do the job.

    Thanks again !

    Edmond.

  • 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.

  • 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""

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

  • 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

  • @emc

    1. You need to add the new section [ReminderA_and_B]
    1. Add "item=..." strings in this section.
    1. 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).

  • Thanks stng !!

  • 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.

  • @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""

  • 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.

  • @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.

  • 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.

Log in to reply
 

Looks like your connection to Opera forums was lost, please wait while we try to reconnect.