Jump to content

Sky Slate Blueberry Blackcurrant Watermelon Strawberry Orange Banana Apple Emerald Chocolate
Photo

Hotkey for Home, End, page up , down


  • Please log in to reply
7 replies to this topic
mdiephuis
  • Members
  • 4 posts
  • Last active: Feb 12 2010 03:48 PM
  • Joined: 11 Feb 2010
Hi!

I cann't seem to get a very simple script to work. Namely to get control - left arrow to give the 'Home' command, control-right arrow the 'End' etc


i.e
^Left::Home
^Right::End
^Up::PgUp
^Down::PgDn

The first 2 lines result in page up/down instead of home/end and the last two lines don't seem to do anything..

tnx!!

aaffe
  • Members
  • 1045 posts
  • Last active: Jan 16 2014 01:32 PM
  • Joined: 17 May 2007
For me it works.

HotKeyIt
  • Moderators
  • 7439 posts
  • Last active: Jun 22 2016 09:14 PM
  • Joined: 18 Jun 2008
Try it that way
^Left::Send {Home}

^Right::Send {End}

^Up::Send {PgUp}

^Down::Send {PgDn}


mdiephuis
  • Members
  • 4 posts
  • Last active: Feb 12 2010 03:48 PM
  • Joined: 11 Feb 2010
@HotKeyIt

That works for me! Thanks a lot for your help

mdiephuis
  • Members
  • 4 posts
  • Last active: Feb 12 2010 03:48 PM
  • Joined: 11 Feb 2010
New question if I may,

I am afraid I can not seem to get the same combination working with the shift button down to make a selection. i.e.
From
^Left::Send {Home}
To something like this
^+Left::Send {LShift & Home}

So I basically want it to select everything on a line from the current cursor position to home

tnx

SoLong&Thx4AllTheFish
  • Members
  • 4999 posts
  • Last active:
  • Joined: 27 May 2007
^+Left::Send {LShift}{Home} ; or

^+Left::Send {LShift down}{Home down}{Home up}{LShift up}
for example, btw look at the scripts section a similar script has been posted last week or so.

mdiephuis
  • Members
  • 4 posts
  • Last active: Feb 12 2010 03:48 PM
  • Joined: 11 Feb 2010
Tnx for the example. The first line didn't do anything, the second one removed the entire selected line. But it did help me to come up with this:
^+Left::Send {LShift down}{Home}
^+Right::Send {LShift down}{End}

Which works like a charm

tnx

  • Guests
  • Last active:
  • Joined: --

Which works like a charm

...that should be leaving LShift down (which is not good)...

Not tested...

^+Left::Send, +{Home}
^+Right::Send, +{End}