Page 1 of 1

Can PgUp/down keys be mapped to internet buttons?

Posted: Thu Jul 08, 2010 10:27 pm
by JaimitoBond
I miss the dedicated internet page buttons on my T series. Anyone got any tricks to map the keyboard on x100e to have those functions?

Re: Can PgUp/down keys be mapped to internet buttons?

Posted: Fri Jul 09, 2010 12:56 am
by hunterman223
I recall a program on my R40 called "Keyboard Customizer Utility". Does your X100e have that? What do you want the PgUp/Dn keys to do?

Re: Can PgUp/down keys be mapped to internet buttons?

Posted: Fri Jul 09, 2010 3:30 am
by rkawakami
You could use something like AutoHotKey. This utility automates keystrokes and mouse clicks by using a straight-forward scripting language. For your example, you can remap the Page Up and Page Down keys to "Browser Back" and "Browser Forward" functions by this code sequence in the script file:

Code: Select all

PgUP::
Send, {ALT Down}{Left}{ALT Up}
return

PgDn::
Send, {ALT Down}{Right}{ALT Up}
return
This may be somewhat of a simplistic key replacement since you can easily use the ALT-Left Arrow and ALT-Right Arrow key sequences on your own. Also, if you remap the keys this way, then you won't be able to use the Page Up and Page Down functions in programs like Word or Notepad. However, with a little bit of programming you can have it both ways:

Code: Select all

SetTitleMatchMode 2

PgUp::
IfWinActive Firefox
{
  Send, {ALT Down}{Left}{ALT Up}
  return
}
else
{
  Send, {PgUp}
  return
}

PgDn::
IfWinActive Firefox
{
  Send, {ALT Down}{Right}{ALT Up}
  return
}
else
{
  Send, {PgDn}
  return
}
This example assumes you are running Firefox as your browser. If Firefox is the active window, then pressing the PgUp and PgDn keys will result in sending the ALT-Left and ALT-Right arrow keystrokes. If Firefox is not the active window, then AutoHotKey issues the normal Page Up and Down commands. The first line (SetTitleMatchMode 2) tells AutoHotKey to consider the title string in the IfWinActive test (i.e., Firefox) to be a match if it appears anywhere within the window's title. Since most browsers will display the name of the web page in the title bar before its own name, you'll need to set this mode.

ref: http://www.autohotkey.com/

Re: Can PgUp/down keys be mapped to internet buttons?

Posted: Tue Aug 03, 2010 6:23 pm
by JaimitoBond
I dont use the touch pad usually, so I just used ultranav app and programed the touch left and right mouse click buttons to forward and backwards for web browsing.