Notice: This forum has been recovered from an old backup, so some content, links, and dates may be outdated. The forum is currently read-only while we restore sign-in and registration functionality. Details

If you find this forum valuable and would like to help keep it online, donations to help cover hosting and domain costs are greatly appreciated, but never expected. You can support the forum through Buy Me a Coffee or Ko-fi. Thank you for helping preserve the EventGhost community.

Browser forward and back buttons as actions, not events

If you have a question or need help, this is the place to be.
Post Reply
TitaniumDust
Posts: 5
Joined: Fri Oct 01, 2010 7:38 pm

Browser forward and back buttons as actions, not events

Post by TitaniumDust »

Hi! I'll get to the point right here... I need a way of sending browser forward and browser back commands as *actions*, not events. The mouse plugin allows quite a few types of clicks but no forward or back clicks. Right now I'm just running an application which is an autohotkey compiled script sending the forward or back commands as needed. I searched this forum and did some internet searches about python but I couldn't find the answer after a couple of hours searching. (I'm clueless about python scripting)

Here's a little more info should you desire to read. :wink:
I wanted my DeathAdder mouse forward button (xbutton2) to map to both forward and sensitivity using a macro... so I set the mouse driver to macro mode, and had it type the INS key when I press and release xbutton2. If I hold down the button and scroll the wheel, that's how I change the mouse sensitivity/speed. Anyways, this works fine, and I configured eventghost to wait for INS to be pressed and then I want to send the browser forward command. I was hoping there was a more elegant solution that having to run an external application just to send a browser forward command.

Thank you!
jonib
Plugin Developer
Posts: 1328
Joined: Thu Mar 26, 2009 9:33 pm
Location: Sweden

Re: Browser forward and back buttons as actions, not events

Post by jonib »

"Emulate Keystroke" action with {BrowserBack} and {BrowserForward} seems to do the trick.

jonib
XBMC2 plugin to control XBMC. If you want to flatter me Image
TitaniumDust
Posts: 5
Joined: Fri Oct 01, 2010 7:38 pm

Re: Browser forward and back buttons as actions, not events

Post by TitaniumDust »

Thank you jonib! I had actually tried {Browser_Forward} at one point, I was sooooo close! Problem solved, thanks again.
Post Reply