Register forum user name Search FAQ

Gammon Forum

Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the password reset link.

Due to spam on this forum, all posts now need moderator approval.

 Entire forum ➜ MUSHclient ➜ General ➜ Moving the cursor?

Moving the cursor?

It is now over 60 days since the last post. This thread is closed.     Refresh page


Posted by Phydeaux   USA  (4 posts)  Bio
Date Sun 11 Dec 2005 01:02 PM (UTC)
Message
Is there a way to move the cursor to the very beginning of the command window? All the way to the left, and all the way up. I've looked and looked, but I can't find anything.
Top

Posted by Nick Gammon   Australia  (23,140 posts)  Bio   Forum Administrator
Date Reply #1 on Sun 11 Dec 2005 07:51 PM (UTC)
Message
Press Alt+Home to move the cursor to the start of the command window, and Alt+End to move to the end of it.

I must admit that was undocumented. I have changed the next version to document this behaviour.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by Phydeaux   USA  (4 posts)  Bio
Date Reply #2 on Mon 12 Dec 2005 08:36 AM (UTC)
Message
How would I do that in a script, though? That's the main thing I was looking for, and I'm not seeing how to go about that.
Top

Posted by Nick Gammon   Australia  (23,140 posts)  Bio   Forum Administrator
Date Reply #3 on Mon 12 Dec 2005 07:50 PM (UTC)
Message
In a script, eh? You didn't mention that.

See:

http://www.gammon.com.au/scripts/doc.php?function=DoCommand


This script function lets you queue up virtually any command you can do from the keyboard or menu item. In your case you want:


DoCommand "CommandHome"


Note the word "queue" - the command is not executed immediately, but queued up for when the script ends. Read the web page above for more details.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).

To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.


12,918 views.

It is now over 60 days since the last post. This thread is closed.     Refresh page

Go to topic:           Search the forum


[Go to top] top

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.