EmEditor (text editor) Forum Index Questions and Answers about Macros
Jump to a given line | Register To Post |
| Threaded | Oldest First | Previous Topic | Next Topic | Bottom |
| Poster | Thread |
|---|---|
| QiaoJiao | Posted on: 1/2/2013 10:37 pm |
Not too shy to talk ![]() ![]() Joined: 10/25/2007 From: Posts: 31 |
Re: Jump to a given line I've just found that it is possible to use command line options for this:
It is not a macro, but it is much more powerful for my case. I am using it with Python script that counts lines, selects random line and starts a program. One difference is that SetActivePoint macro sets pointer to the bottom edge of a screen. And /l sets it to the middle. |
| QiaoJiao | Posted on: 12/15/2012 11:23 pm |
Not too shy to talk ![]() ![]() Joined: 10/25/2007 From: Posts: 31 |
Re: Jump to a given line Thank you, it is exactly what I am looking for.
Actually, I need to jump to a random line. Here is a code for it: |
| Yutaka | Posted on: 12/15/2012 4:25 pm |
Webmaster ![]() ![]() Joined: 9/28/2006 From: Redmond Posts: 2398 |
Re: Jump to a given line Hello,
The following macro will move the cursor to the n-th line. Thanks!
|
| QiaoJiao | Posted on: 12/15/2012 9:13 am |
Not too shy to talk ![]() ![]() Joined: 10/25/2007 From: Posts: 31 |
Re: Jump to a given line The closest way is:
Then you have to press "ctrl+v" and "enter". |
| QiaoJiao | Posted on: 12/15/2012 8:20 am |
Not too shy to talk ![]() ![]() Joined: 10/25/2007 From: Posts: 31 |
Jump to a given line Is it possible to jump to a given line in macros/scripts?
I only found But where do I write line's number? Or is it possible to open file and jump to a given line with arguments? |
| Threaded | Oldest First | Previous Topic | Next Topic | Top |
| Register To Post | |




