M2 right click menu
-
emc last edited by
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.
-
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 groupand
Reminder I
Reminder II
Reminder III
into another groupso 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. -
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""
-
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
-
stng last edited by
-
You need to add the new section [ReminderA_and_B]
-
Add "item=..." strings in this section.
-
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).
-
-
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. -
stng last edited by
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""
-
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. -
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.
-
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. -
stng last edited by
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).
-
Download NirCMD: http://www.nirsoft.net/utils/nircmd.html
-
Install NirCMD (use Administrator's rights)
-
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.
-
-
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............ -
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.
-
-
stng last edited by
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.
-
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. -
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/ -
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.... ) -
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.