Community Discussions and Support
Open in browser button in the reader toolbar

I receive a lot of lazy html messages.

I know pmail is not showing the content for security reasons.

I'd like to use a button in the reader toolbar to open them in my browser instead of rightclick in the message and select open in browser.

Is there a simple way to do that in 4.51?

Feel free to link to an existing thread.

Thanks

<P>I receive a lot of lazy html messages.</P><P>I know pmail is not showing the content for security reasons.</P><P>I'd like to use a button in the reader toolbar to open them in my browser instead of rightclick in the message and select open in browser.</P><P>Is there a simple way to do that in 4.51?</P><P>Feel free to link to an existing thread.</P><P>Thanks</P>

This is not possible, the reader toolbar can't be customized.

Sven

 

<P>This is not possible, the reader toolbar can't be customized.</P><P>Sven</P><P> </P>

[quote user="SvenH"]This is not possible, the reader toolbar can't be customized.

Sven[/quote]

 

Thanks Sven... How about the same question for the main window toolbar?

[quote user="SvenH"]This is not possible, the reader toolbar can't be customized.<P>Sven[/quote]</P><P> </P><P>Thanks Sven... How about the same question for the main window toolbar?</P>

You can customize the main toolbar. Open the file "bpanel.txt" inside the directory "RESOURCE" within the Pegasus Mail program directory. Create your own toolbar.pm (use the examples from bpanel.txt) file and place it into the Pegasus Mail program directory. Insert the following line at the position of your choice:

0,10392,0,11841,"Open message in browser..."

When clicking this button the currently selected messagegets displayed in your standard browser. You may customize the bitmap ID (11841), although you must use one of the built-in pictures. For the "open in browser" function there is no specialized bitmap available. You may also want to use the bitmap IDs 1843 or 1845, or maybe 11844.

 

Sven

<P>You can customize the main toolbar. Open the file "bpanel.txt" inside the directory "RESOURCE" within the Pegasus Mail program directory. Create your own toolbar.pm (use the examples from bpanel.txt) file and place it into the Pegasus Mail program directory. Insert the following line at the position of your choice:</P><P>0,10392,0,11841,"Open message in browser..."</P><P>When clicking this button the currently selected messagegets displayed in your standard browser. You may customize the bitmap ID (11841), although you must use one of the built-in pictures. For the "open in browser" function there is no specialized bitmap available. You may also want to use the bitmap IDs 1843 or 1845, or maybe 11844.</P><P> </P><P>Sven</P>

That was easy... Thanks!

Where did you find the Control ID: 10392?

<P>That was easy... Thanks!</P><P>Where did you find the Control ID: 10392?</P>

Well, I am the German translator since 1999, so I should know about every control ID...   :-)

Inside the program the control ID is actually 392. In order to create a button that triggers any standard menu item in the Pegasus Mail menu hierarchy just add 10000 to the menu item's code then using that value as the button's control ID.

I looks like the bpanel.txt file needs to be updated since the ID 392 and some others are not mentioned here. A comprehensive list of valid menu IDs can be found here:
   http://www.vandenbogaerde.net/pegasusmail/p300_idmcodes.html

Sven

 

<P>Well, I am the German translator since 1999, so I should know about every control ID...   :-)</P><P>Inside the program the control ID is actually 392. In order to create a button that triggers any standard menu item in the Pegasus Mail menu hierarchy just add 10000 to the menu item's code then using that value as the button's control ID.</P><P>I looks like the bpanel.txt file needs to be updated since the ID 392 and some others are not mentioned here. A comprehensive list of valid menu IDs can be found here:    http://www.vandenbogaerde.net/pegasusmail/p300_idmcodes.html</P><P>Sven </P><P> </P>

[quote user="SvenH"]

You can customize the main toolbar. Open the file "bpanel.txt" inside the directory "RESOURCE" within the Pegasus Mail program directory. Create your own toolbar.pm (use the examples from bpanel.txt) file and place it into the Pegasus Mail program directory. Insert the following line at the position of your choice:

0,10392,0,11841,"Open message in browser..."

When clicking this button the currently selected messagegets displayed in your standard browser. You may customize the bitmap ID (11841), although you must use one of the built-in pictures. For the "open in browser" function there is no specialized bitmap available. You may also want to use the bitmap IDs 1843 or 1845, or maybe 11844.

Sven

[/quote]


You may as well use the menubtn extension to get the same effect. However, it also allows you to add your own button image as described in the following thread:

http://community.pmail.com/forums/thread/17963.aspx

Create a text file and name it <menubtn.fff> and place it e.g. in the PM program directory.

The following is the section I use. You may add it to the <menubtn.fff> file and adjust file and path names to your conditions.

; ------------------------------------
; Tom's Open Message in Web Browser window
; ------------------------------------

; Button name - just a label for your and the programs convenience
Form Name = "Open Message in Web Browser"
32-bit model = 1
; Call the extension dll, "~a" stands for the path to the Pmail "Programs" dir.
Form DLL = ~a\extensions\MENUBTN.DLL
Form type = COMPOSER
Form flags = 2
; Tell the button what to do (see bpanel.txt or Hans' list of mnemonics)
; Note that the 10392 (10000 + 392) option does not seem to work with this extension
Form data = "392"
; Define bitmap and path and define tooltip text
Bitmap file = ~a\icons\tms_pm_browser.bmp,Open Message in Web Browser ...
End
; ------------------------------------

Cheers

Thomas

 

[quote user=&quot;SvenH&quot;]&lt;p&gt;You can customize the main toolbar. Open the file &quot;bpanel.txt&quot; inside the directory &quot;RESOURCE&quot; within the Pegasus Mail program directory. Create your own toolbar.pm (use the examples from bpanel.txt) file and place it into the Pegasus Mail program directory. Insert the following line at the position of your choice:&lt;/p&gt;&lt;p&gt;0,10392,0,11841,&quot;Open message in browser...&quot;&lt;/p&gt;&lt;p&gt;When clicking this button the currently selected messagegets displayed in your standard browser. You may customize the bitmap ID (11841), although you must use one of the built-in pictures. For the &quot;open in browser&quot; function there is no specialized bitmap available. You may also want to use the bitmap IDs 1843 or 1845, or maybe 11844.&lt;/p&gt;&lt;p&gt;Sven&lt;/p&gt;&lt;p&gt;[/quote]&lt;/p&gt;&lt;p&gt; You may as well use the menubtn extension to get the same effect. However, it also allows you to add your own button image as described in the following thread: &lt;a href=&quot;/forums/thread/17963.aspx&quot; title=&quot;http://community.pmail.com/forums/thread/17963.aspx&quot; target=&quot;_blank&quot; mce_href=&quot;/forums/thread/17963.aspx&quot;&gt;&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;a href=&quot;/forums/thread/17963.aspx&quot; title=&quot;http://community.pmail.com/forums/thread/17963.aspx&quot; target=&quot;_blank&quot; mce_href=&quot;/forums/thread/17963.aspx&quot;&gt;http://community.pmail.com/forums/thread/17963.aspx&lt;/a&gt; Create a text file and name it &amp;lt;menubtn.fff&amp;gt; and place it e.g. in the PM program directory. The following is the section I use. You may add it to the &amp;lt;menubtn.fff&amp;gt; file and adjust file and path names to your conditions. &lt;font color=&quot;#0000ff&quot; size=&quot;2&quot; face=&quot;courier new,courier&quot;&gt;; ------------------------------------ ; Tom&#039;s Open Message in Web Browser window ; ------------------------------------ ; Button name - just a label for your and the programs convenience Form Name = &quot;Open Message in Web Browser&quot; 32-bit model = 1 ; Call the extension dll, &quot;~a&quot; stands for the path to the Pmail &quot;Programs&quot; dir. Form DLL = ~a\extensions\MENUBTN.DLL Form type = COMPOSER Form flags = 2 ; Tell the button what to do (see bpanel.txt or Hans&#039; list of mnemonics) ; Note that the 10392 (10000 + 392) option does not seem to work with this extension Form data = &quot;392&quot; ; Define bitmap and path and define tooltip text Bitmap file = ~a\icons\tms_pm_browser.bmp,Open Message in Web Browser ... End ; ------------------------------------&lt;/font&gt; &lt;/p&gt;&lt;p&gt;&lt;img src=&quot;file:///C:/DOCUME%7E1/stein/LOCALS%7E1/Temp/moz-screenshot.jpg&quot; alt=&quot;&quot;&gt;&lt;/p&gt;&lt;p&gt;Cheers&lt;/p&gt;&lt;p&gt;Thomas &lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;

Interesting extension Thomas, I had completely forgotten about that. Thank you for your comprehensive explaination.

Sven

 

&lt;P&gt;Interesting extension Thomas, I had completely forgotten about that. Thank you for your comprehensive explaination.&lt;/P&gt;&lt;P&gt;Sven&lt;/P&gt;&lt;P&gt;&nbsp;&lt;/P&gt;
live preview
enter atleast 10 characters
WARNING: You mentioned %MENTIONS%, but they cannot see this message and will not be notified
Saving...
Saved
With selected deselect posts show selected posts
All posts under this topic will be deleted ?
Pending draft ... Click to resume editing
Discard draft