Jump to content

How can I automate switching to Firefox and changing config settings? - (Moved)

Recommended Posts



Brand new AutoIT user. I've done some basic scripting with Python, Excel VBA, and the venerable AutoHotKey.


Could someone perhaps share some pointers on how I could do the following -


I want to make a hotkey so that if I press, say, win+ctrl+5, my current Firefox session will open a new tab (or opening a new session would work), go to about:config, and go to the "media.hardwaremediakeys.enabled" option, and toggle it from its current state, then close the tab.

A runner-up would be simply taking me to the about:config screen, pasting in "media.hardwaremediakeys.enabled", and then I manually toggle it and close the tab.


Please let me know if I should post elsewhere.

Link to post
Share on other sites

You should have posted in General Help & Support forum.  Mod will move it there soon.

You may want to look at WebDriver UDF to easily perform such a task.

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...