AutoHotkey Community

It is currently May 26th, 2012, 6:13 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 16 posts ]  Go to page 1, 2  Next

Is this script useful to you?
YES!
NO!
Somewhat
Needs improvement (described in a posted reply)
You may select 1 option

View results
Author Message
PostPosted: March 17th, 2005, 5:02 pm 
Offline

Joined: February 9th, 2005, 9:18 pm
Posts: 17
Location: United States
I wrote a very useful little script which allows the user to go Back and Forward within his/her web browser by simply holding down a mouse button and clicking another.

I would greatly appreciate any suggestions/improvements on this script!

Code:
~RButton & LButton::              ;Hold down Right mouse button and CLICK left button to step BACK
   SetTitleMatchMode, 2
   IfWinActive, Firefox         ;Type the window title of your browser here! (if you don't use Firefox, you should! :-)  http://getfirefox.com)
   {   
      Send,!{Left}           ;Send Alt-Left Arrow keystroke
   }

   return

~LButton & RButton::              ;Hold down Left mouse button and CLICK Right button to step FORWARD.
   SetTitleMatchMode, 2
   IfWinActive, Firefox         ;Type the window title of your browser here!
   {
      Send,!{Right}         ;Send Alt-Right Arrow keystroke
   }
   return      


I also use Chris's MouseWheel alt-tab solution, which is a great timesaver.
See post http://www.autohotkey.com/forum/viewtopic.php?p=16359#16359

_________________
RG


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: March 17th, 2005, 5:40 pm 
Offline
User avatar

Joined: August 11th, 2004, 1:47 am
Posts: 5347
Location: UK
Hi,
I use IE which allows me to press the back/forward button on the toolbar to navigate, and pressing backspace steps back a page; there are alot of preset Windows Hotkeys.
-Useful script for new Autohotkey users (with FF.).

_________________
GitHubScriptsIronAHK Contact by email not private message.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: March 17th, 2005, 7:24 pm 
Mouse Gestures - Firefox Extension

Mouse Gestures in Opera


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: March 17th, 2005, 9:37 pm 
Offline

Joined: November 13th, 2004, 4:08 am
Posts: 2951
Location: Minnesota
Nice script. I made something similar a while ago, but I always found Backspace and Shift+Backspace more useful than mouse hotkeys.

@Titan: I hope you aren't trying to imply that IE has better hotkeys than FF or Opera! If not, apologies. To those it may concern, Alt+Left, Backspace, and toolbar buttons are common to all the browsers I know of.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: March 17th, 2005, 9:56 pm 
Offline
User avatar

Joined: August 11th, 2004, 1:47 am
Posts: 5347
Location: UK
jonny wrote:
@Titan: I hope you aren't trying to imply that IE has better hotkeys than FF or Opera! If not, apologies. To those it may concern, Alt+Left, Backspace, and toolbar buttons are common to all the browsers I know of.
IE is better than FF/Opera, infact, all Microsoft products are better than anything else (MSN Search > Google).

Only Joking :P
I don't like FF because I'm not able to view certain pages correctly with it (commonly asp pages) but it could be something simple like my settings; I use IE because it's easy and 'mainstream' ;)

_________________
GitHubScriptsIronAHK Contact by email not private message.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: March 18th, 2005, 1:34 am 
Not that this discussion has any thing to do with AHK, but when it comes down to BROWSERS, I just cant swallow what I am reading here.

Since the time Adam left the Heavens, and Noah took his journey to save living beings, the search was on for the best Internet Browser.

It stopped with Opera 7.54. Hands down, the best Browser ever created.

It is fast and reliable, gives you so many features other browsers can't even begin to come close to it.

If anybody likes IE. I am surprised. FF is good but not even close to what Opera can offer you. All you have to know is how to configure it.

Sorry! IE fans. You haven't lived if you haven't tried Opera.


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: March 18th, 2005, 1:52 am 
Offline

Joined: November 13th, 2004, 4:08 am
Posts: 2951
Location: Minnesota
I agree that Opera is a very good internet browser, better than Firefox in fact, but for me the argument begins and ends with two simple FACTS:

  1. Firefox is free. Period. Opera may be free in a sense, but the free version is quite obviously flawed, which leads me to the second fact...
  2. Firefox, via the AdBlock extension, has nigh-flawless ad-blocking for all types of ads. Opera never bothered to try such a thing, to avoid the irony; THEY PUT THEIR OWN ADS IN!! (I never caps unless I'm really serious)


Tha's all there is to it. I'm a freeware junkie.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: March 18th, 2005, 2:25 am 
Offline
User avatar

Joined: December 29th, 2004, 1:28 pm
Posts: 2541
I would probably use it if I didn't have an Intellimouse explorer mouse. I have the 2 side buttons on the mouse set for forward and back when running IE :).

I tried Opera, was disappointed with the ads and do not intend to pay for a browser..., I use FF on when using RedHat FC3 but prefer IE6 by far...


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: March 18th, 2005, 2:47 am 
If the Ad banner is the only problem for you guys. This is no problem

I have two solutions.

Number 1:
Try MyPopupKiller from http://nirsoft.mirrorz.com

It can disable Opera Ads and it is free

Number 2:
This is my secial offer for users of this forum

Try these registeration parameters

Moderator: Please do not post cracks or serial numbers. Thank you.

It just might work


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: March 18th, 2005, 3:12 am 
Offline

Joined: November 13th, 2004, 4:08 am
Posts: 2951
Location: Minnesota
Thanks! But... #2 can't be legal. :lol:

Anyway, #1 won't work for Linux. :(


Report this post
Top
 Profile  
Reply with quote  
 Post subject: Brower Wars
PostPosted: March 18th, 2005, 1:28 pm 
Offline

Joined: February 9th, 2005, 9:18 pm
Posts: 17
Location: United States
Hello everyone! I didn't know I was starting the "war of the browsers" by beginning this post. :D I was simply putting up some useful (I thought) code for AHK, hoping for suggestions on improvements.

Obviously I'm a Firefox fan:
Yes, Firefox is great - it blocks popups, ActiveX trojans, etc, etc, etc... It has tabbed browsing, skinnable GUI, etc, etc..
But best of all, it gives MICROSOFT something to worry about! :lol:

_________________
RG


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: March 19th, 2005, 12:53 am 
Offline

Joined: November 13th, 2004, 4:08 am
Posts: 2951
Location: Minnesota
Psst. I tried #2 and it didn't work. :shock:


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: March 20th, 2005, 7:34 pm 
Offline

Joined: March 16th, 2005, 10:16 am
Posts: 9
Freeware != warez

Lame.


Report this post
Top
 Profile  
Reply with quote  
 Post subject: The final version
PostPosted: May 1st, 2005, 3:49 am 
Offline

Joined: February 9th, 2005, 9:18 pm
Posts: 17
Location: United States
Here is my final version of the browser forward/back script:

Code:

~LButton & RButton::
   SetTitleMatchMode, 2
   IfWinActive, Firefox
   {   
      Send,!{Left}
   }

   return

~RButton & LButton::
   SetTitleMatchMode, 2
   IfWinActive, Firefox
   {
      Send,!{Right}
   }
   return      




I have been using it now for several weeks and it has become second nature. MUCH faster and simpler than using brower forward/back buttons. :!:

I reversed the forward/back modes because the Firefox context menu kept appearing. So I figured that was OK for the Forward command since it's not used as often.
Any suggestions on preventing the context menu from appearing?:idea:

_________________
RG


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: May 1st, 2005, 11:18 am 
Offline

Joined: November 8th, 2004, 12:46 am
Posts: 1271
The context menu is appearing because you are allowing the default mouse action to happen by adding the tilde. Perhaps try sending {escape} after the right-click to cancel the menu showing?

_________________
"Anything worth doing is worth doing slowly." - Mae West
Image


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 16 posts ]  Go to page 1, 2  Next

All times are UTC [ DST ]


Who is online

Users browsing this forum: Google [Bot], Stigg and 13 guests


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group