[phpBB Debug] PHP Notice: in file [ROOT]/includes/session.php on line 2208: Array to string conversion
[phpBB Debug] PHP Notice: in file [ROOT]/includes/session.php on line 2208: Array to string conversion
[phpBB Debug] PHP Notice: in file [ROOT]/includes/session.php on line 2208: Array to string conversion
[phpBB Debug] PHP Notice: in file [ROOT]/includes/session.php on line 2208: Array to string conversion
[phpBB Debug] PHP Notice: in file [ROOT]/includes/session.php on line 2208: Array to string conversion
[phpBB Debug] PHP Notice: in file [ROOT]/includes/session.php on line 2208: Array to string conversion
[phpBB Debug] PHP Notice: in file [ROOT]/includes/session.php on line 2208: Array to string conversion
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4688: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4690: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4691: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4692: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
Poco Forums • View topic - Junk Mail Icon on Toolbar

Junk Mail Icon on Toolbar

Help and advice on using Barca

Moderators: Eric, Tomas, robin

Junk Mail Icon on Toolbar

Postby ghj » Tue Aug 19, 2008 8:31 am

I would like to have an icon on the Barca toolbar that marks the selected email as junk and moves it to the Junk Mail folder. Will appreciate some help on how to do this.

Thanks,
Hugh
ghj
Drop-in Visitor
 
Posts: 7
Joined: Tue Aug 19, 2008 12:20 am

Postby Eric » Tue Aug 19, 2008 5:15 pm

You could assign the following script to a user button.
Save this script first (Move to Junk).
Code: Select all
{###Move mail to Junk
{Script will move selected mail
{to the Junk Mail folder

AppendToFile True
SaveMessage %message "Junk Mail"
{ Finally, deleting the original message }
DeleteMessage %message


Press F9 > Edit Script and press New Script. Paste the script and Save.
If no user button present, you can add one by right-clicking on the Toolbar > Customize Toolbar.
Next Press F9 again and go to the Buttons tab. Chose your script from the dropdown menu and Close.

It should work now. :)

However if you use the Preview pane, both buttons are already present. 8)
Eric
 

Junk Mail Icon on Toolbar

Postby ghj » Wed Aug 20, 2008 12:38 am

That worked! Thanks very much. I now have a button with a large red number 4 and the word Junk at the bottom of the button. Is there a way to remove the big red 4 and just have junk on the button?

Hugh
ghj
Drop-in Visitor
 
Posts: 7
Joined: Tue Aug 19, 2008 12:20 am

Re: Junk Mail Icon on Toolbar

Postby Eric » Wed Aug 20, 2008 1:50 am

ghj wrote:That worked! Thanks very much.
You're welcome Hugh. ;)
Is there a way to remove the big red 4 and just have junk on the button?
Unfortunately not, but you can display the text label.
Right-click on the Toolbar and check 'Show text labels'.

If you hover over a User button it will show the name of the script as well. :)
Eric
 


Return to Barca Help and How-To

Who is online

Users browsing this forum: No registered users and 4 guests

cron