MozillaZine


keyconfig 20110522

Announce and Discuss the Latest Theme and Extension Releases.
dorando
 
Posts: 1203
Joined: January 9th, 2004, 9:57 am

Post Posted May 19th, 2006, 2:55 am

Jim001 wrote:I was able to get the extension at the bottom of your page working - the one that says is from Onemen. When I try to install your extension, I get a box that says that it is only compatible with version up to 1.5. I'm running 1.5.0.3.
What you refer to sounds like the outdated listing at <a href="http://www.extensionsmirror.nl/index.php?showtopic=254">The Extensions Mirror</a> and not <a href="http://mozilla.dorando.at/readme.html">my page</a> indicated there and in the extension...

reevuur
 
Posts: 362
Joined: September 13th, 2004, 2:02 pm

Post Posted May 19th, 2006, 5:55 am

I would like to change the shortcut for Send email now button.

There's no option in keyconfig.
How can I add this shorcut?

Would llike to add as well these shorcuts:
CTRL-0 select inbox folder
CTRL-1 select sent folder
CTRL-2 select trash folder
CTRL-3 select drafs folder

Same stuff for Add Attachment (CTRL-H).

Is the CTRL-M shortcut not available in Keyconfig?

dorando
 
Posts: 1203
Joined: January 9th, 2004, 9:57 am

Post Posted May 20th, 2006, 1:00 am

reevuur wrote:I would like to change the shortcut for Send email now button.

There's no option in keyconfig.
This is listed as 'Send Now', be aware that you need to select the Compose window via right-click to edit shortcuts there.

reevuur wrote:Would [like] to add as well these shorcuts:
[...] select [...] folder
<code>SelectFolder('folderURI');</code>

The defult URIs should be <code>mailbox://nobody@Local%20Folders/<i><u>Folder</u></i></code> but it is also possible to get the folderURI by using:
<code>prompt("",gMsgFolderSelected.Value);</code>
or
<code>prompt("",gDBView.msgFolder.Value);</code>

reevuur wrote:Same stuff for Add Attachment (CTRL-H).
<code>goDoCommand('cmd_attachFile');</code>

reevuur wrote:Is the CTRL-M shortcut not available in Keyconfig?
Listed as 'New Message' in the main window.

reevuur
 
Posts: 362
Joined: September 13th, 2004, 2:02 pm

Post Posted May 20th, 2006, 9:53 am

Thank you very much dorando for your clear answer!

I have inserted this command to select the inbox:
SelectFolder('mailbox://nobody@Local%20Folders/Inbox');
and all works fine.

I do not understand what to do with the
prompt("",gMsgFolderSelected.Value); and the
prompt("",gDBView.msgFolder.Value); command

Both gives this Prompt box mailbox://nobody@Local%20Folders/Sent
if I have the Sent folder selected.

Other thing:
Keyconfig doesn't let me use the CTRL-M shorcut (with no command/key).

dorando
 
Posts: 1203
Joined: January 9th, 2004, 9:57 am

Post Posted May 21st, 2006, 5:23 am

reevuur wrote:I do not understand what to do with the
prompt("",gMsgFolderSelected.Value); and the
prompt("",gDBView.msgFolder.Value); command

Both gives this Prompt box mailbox://nobody@Local%20Folders/Sent
if I have the Sent folder selected.
This code is for getting the folderURI of the current selected folder as it is not always guessable.

reevuur wrote:Keyconfig doesn't let me use the CTRL-M shorcut (with no command/key).
Not sure what you mean but I'm able to assign this shortcut to other functions. Be sure to disable/change the default function which has Ctrl+M assigned before assigning it to something different.

reevuur
 
Posts: 362
Joined: September 13th, 2004, 2:02 pm

Post Posted May 21st, 2006, 6:01 am

@dorando,

The problem is that I do not have any option with CTRL-M shortcut in keyconfig.

dorando
 
Posts: 1203
Joined: January 9th, 2004, 9:57 am

Post Posted May 22nd, 2006, 12:46 am

What happens if you press Ctrl+M?
Support mozilla.dorando.at through donations/contributions.

reevuur
 
Posts: 362
Joined: September 13th, 2004, 2:02 pm

Post Posted May 22nd, 2006, 12:53 am

Nothing. Cannot insert the CTRL+M shortcut. The previous shortcut remain.
If I insert another shortcut all works fine.

dorando
 
Posts: 1203
Joined: January 9th, 2004, 9:57 am

Post Posted May 23rd, 2006, 1:50 am

I actually meant what happens if you press Ctrl+M in the main window, but that sounds like something at OS level or another app captures that keypress and it doesn't reach keyconfig, so there isn't anything I can do about it.
Last edited by dorando on May 24th, 2006, 1:13 am, edited 1 time in total.

reevuur
 
Posts: 362
Joined: September 13th, 2004, 2:02 pm

Post Posted May 23rd, 2006, 2:17 am

If I use the shortcut CTRL+M nothing happens in the main window.

amg27
 
Posts: 10
Joined: May 23rd, 2006, 12:19 pm

Post Posted May 23rd, 2006, 2:10 pm

I just downloaded Buttons and I am really enjoying the Archive feature. I particularly like being able to use a key shortcut to access the archive menu (using Keyconfig).

I'd like it even more if I could use different key shortcuts to move a message directly to a particular folder without going through the menu - i.e. type "A" to move to folder 1, "B" to move to folder 2, etc. Can anyone think of a way of doing this using Keyconfig or any other method or extension?

Thanks a lot!

reevuur
 
Posts: 362
Joined: September 13th, 2004, 2:02 pm

Post Posted May 23rd, 2006, 11:54 pm

@amg27

Try nostalgy to do this.
This extension has changed my way of working with Thunderbird.

TobyK
 
Posts: 103
Joined: December 4th, 2004, 12:32 am

Post Posted May 24th, 2006, 3:06 am

Hi,

is there a way to execute a command currently hold in the clipboard?
I'll try to explain with a example:
I'd like to define _one_ hotkey that performs different commands depending on the which command is currently copied to the clipboard:
Assumuing ? would be the hotkey this should work like this:

current clipboard content: alert("Hello");
hitting ? would execute alert("Hello"); -> showing Hello in an alert box

if the current clipboard content would be: alert("World");
hitting ? would execute alert("World"); -> showing World in an alert box

if the current clipboard content would be: goDoCommand('cmd_saveAsFile')
hitting ? would execute goDoCommand('cmd_saveAsFile') -> saving the currend message as draft

This would help testing commands and make it easier to automate things using external script languages like autohotkey.

Regards, Toby

reevuur
 
Posts: 362
Joined: September 13th, 2004, 2:02 pm

Post Posted May 24th, 2006, 3:13 am

Nice idea, but why using a clipboard? You will not be enable to copy an email address if you use the clipboard to execute commands.
It's enough to add a command prompt extension in TB.

TobyK
 
Posts: 103
Joined: December 4th, 2004, 12:32 am

Post Posted May 24th, 2006, 3:59 am

Why wouldn't I be able to copy an email address if I use the clipboard? I'd just need to make sure there is an command in the clipboard before I hit the hotkey.
An command prompt extension would be a good thing as well but it would still be a bit more of a hassle using external tools to execute tb commands: you have to make sure the window is open,...

Return to Extension/Theme Releases


Who is online

Users browsing this forum: No registered users and 2 guests