keyconfig 20110522

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

Post by dorando »

Code: Select all

commandDispatcher.advanceFocus();
and

Code: Select all

commandDispatcher.rewindFocus();
should match Tab and Shift+Tab.
User avatar
ekbworldwide
Posts: 53
Joined: May 28th, 2007, 3:53 am

find as you type (just links)

Post by ekbworldwide »

I'd like to set up
Ctrl+L
to work exactly as
'
does. In other words: find as you type (just links)

On page 43
http://forums.mozillazine.org/viewtopic ... 4efb3f9aaa

I found this

Code: Select all

gFindBar.openFindBar(true); 
gFindBar.setFindMode(FIND_TYPEAHEAD);
gFindBar.selectFindBar();
gFindBar.focusFindBar();


The problem is the code makes Ctrl+L almost the same as '

Example
If I do a google search ' works fine, but Ctrl+L sometimes gets stuck in the google search box.
...
dorando
Posts: 1203
Joined: January 9th, 2004, 9:57 am
Contact:

Post by dorando »

That code mimics <kbd>/<kbd> (Find As You Type Text), for <kbd>'</kbd> (Find As You Type Link) use

Code: Select all

gFindBar.openFindBar(true);
gFindBar.setFindMode(FIND_LINKS);
gFindBar.selectFindBar();
gFindBar.focusFindBar();
apotheossis
Posts: 3
Joined: November 4th, 2007, 10:27 am
Location: projectrol.com
Contact:

Post by apotheossis »

Sorry to be a bother, but I've been browsing through multiple pages on this topic, but could not find a solution to my seemingly menial problem. Generally, I am searching for the code to change the preferences in the pref.js file in Firefox. I want to use it on multiple bindings, but one specific example is that I want to turn on and off the "Load images automatically" setting. I've tried to use pref.SetBoolPref("","") because I saw a Thunderbird code use it without defining the variable pref, but it does not seem to do anything.

Nevertheless, it would be helpful if someone could direct me to the correct line to use to change the preferences. Thank you.
Zoolcar9
Posts: 2225
Joined: November 9th, 2004, 6:45 pm
Location: Jakarta, Indonesia (UTC+7)
Contact:

Post by Zoolcar9 »

Code: Select all

var prefString = "permissions.default.image";
var imgPermit = gPrefService.getIntPref(prefString);
gPrefService.setIntPref(prefString, imgPermit == 1 ? 2 : 1);

My Firefox information | Add-ons | GitHub

"With great power, comes great desire to show it off."
apotheossis
Posts: 3
Joined: November 4th, 2007, 10:27 am
Location: projectrol.com
Contact:

Post by apotheossis »

Ah, thank you! I'm assuming the gPrefService can be used to change anything in the pref.js with setIntPref, setBoolPref, setCharPref, etc. Nevertheless, that just opened up a whole new set of possible keyconfigs I can use, so I really appreciate it!
User avatar
DynaBMan
Posts: 383
Joined: November 15th, 2003, 9:46 pm
Location: Oklahoma

Post by DynaBMan »

Does anyone have a working keyconfig on the FF 3 beta?
LJ
My best friend is my wife!!
Political Realities
unabatedshagie
Posts: 8
Joined: February 25th, 2004, 12:03 pm
Contact:

Post by unabatedshagie »

Is it possible to use keyconfig to make a key that will open a link in the current tab if you have it held down when clicking on a link?

Something similar to what happens when you click on a link while holding down the control key, the link gets opened in a backgound tab.
antonyb
Posts: 3
Joined: November 18th, 2007, 8:04 pm

Cycle through Favo(u)rite Folders

Post by antonyb »

Hello,

Been struggling with this all weekend, so any & all help appreciated!

I'd like to assign a key in Thunderbird to cycle through my "Favourite Folders" while still keeping the Folder List on "All Folders" - i.e. hit the key and the current folder moves to the next in my favourites list, but that folder is highlighted in the "All Folders" view.

The reason is, I have a number of IMAP accounts that I use, and I'd like to be able to cycle through the Inboxes of them with a keypress - I've set each Inbox as a favourite folder, which speeds the process up, but i'd love to be able to cycle them without switching to favourites, selecting the next folder, switching back to all folders, etc etc.

Ideally, I'd also like to un-collapse all accounts except that one containing the current Favourite, but thats probably just being greedy...

Thanks :)

Ant.
dmfalk
Posts: 2
Joined: November 27th, 2007, 1:39 am
Location: Eureka, California, USA

Post by dmfalk »

Firefox updated to 2.0.0.10, Keyconfig reported as incompatible.

d.m.f.
mastavic
Posts: 1090
Joined: March 28th, 2004, 12:18 am
Location: San Francisco/San Jose, California

Post by mastavic »

dmfalk wrote:Firefox updated to 2.0.0.10, Keyconfig reported as incompatible.

d.m.f.

The very reason I am at this forum today. Can I do anything about this? keyconfig is one of my three favorite extensions (wish such a feature were built into Firefox). Thanks.
dmfalk
Posts: 2
Joined: November 27th, 2007, 1:39 am
Location: Eureka, California, USA

Post by dmfalk »

MaStAViC wrote:
dmfalk wrote:Firefox updated to 2.0.0.10, Keyconfig reported as incompatible.

d.m.f.

The very reason I am at this forum today. Can I do anything about this? keyconfig is one of my three favorite extensions (wish such a feature were built into Firefox). Thanks.

I use it, becayse somehow, on MacOSX, get a file is shift-g, and I changed it to alt-shift-g so it wouldn't conflict when I need a capital g... :P

So yes, Keyconfig is absolutely necessary for me...

d.m.f.
mpromber
Posts: 3
Joined: November 27th, 2007, 11:17 am

Post by mpromber »

dmfalk wrote:Firefox updated to 2.0.0.10, Keyconfig reported as incompatible.

d.m.f.


Same problem here.

Please make it come back!
mpromber
Posts: 3
Joined: November 27th, 2007, 11:17 am

Post by mpromber »

It's really odd ... I just upgraded to 2.0.0.10 on Xubuntu 6.10, and there was no complaint of keyconfig being incompatible, and it still works, all my settings are still there.

Upgrading on Xubuntu 7.10 said incompatible and disabled the add-on. Wasn't able to enable it; uninstalled it and installed it again from this site:

http://forum.addonsmirror.net/index.php?showtopic=254
(specifically http://forum.addonsmirror.net/ext/extfi ... 28-rep.xpi ) which claims to be compatible w/ "1.0 - 3.0.0.*". I see it as enabled, but the Preferences button in Add-ons is greyed out, adn Ctrl-Shit-F12 brings up an empty keyconfig dialogue box where I can't change anything.
mastavic
Posts: 1090
Joined: March 28th, 2004, 12:18 am
Location: San Francisco/San Jose, California

Post by mastavic »

Still no fixes for keyconfig to work with the newest stable version of Firefox (2.0.0.10)?
Post Reply