Timfey Posted June 16, 2021 Share Posted June 16, 2021 Hello, 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 comment Share on other sites More sharing options...
Nine Posted June 16, 2021 Share Posted June 16, 2021 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. “They did not know it was impossible, so they did it” ― Mark Twain Spoiler Block all input without UAC Save/Retrieve Images to/from Text Monitor Management (VCP commands) Tool to search in text (au3) files Date Range Picker Virtual Desktop Manager Sudoku Game 2020 Overlapped Named Pipe IPC HotString 2.0 - Hot keys with string x64 Bitwise Operations Multi-keyboards HotKeySet Recursive Array Display Fast and simple WCD IPC Multiple Folders Selector Printer Manager GIF Animation (cached) Screen Scraping Multi-Threading Made Easy Link to comment Share on other sites More sharing options...
Developers Jos Posted June 16, 2021 Developers Share Posted June 16, 2021 Moved to the appropriate forum. Moderation Team SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
noellarkin Posted July 25, 2021 Share Posted July 25, 2021 Hey, @Timfey not sure which version of FF you're using, but if it's compatible with MozRepl, you can use the FF.au3 UDF and the following functions: _FFPrefSet() (set a config entry) _FFPrefGet() (gets existing config entry) _FFPrefReset() (resets a config entry) Firefox post-quantum doesn't support MozRepl, but I tested some active FF forks that still do support it and the XUL framework. I've listed those browsers here: Hope this helps! Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now