February 14, 2007 at 9:11 pm #4178
webern
Member
…hm it’s my fault, i’m sorry.
it should be the document.selection.Mode = eeModeStream (not eModeStream)
Code:
document.selection.Mode = eeModeStream;
document.selection.SelectLine();
Quit();
So if you ‘re using EE Pro you need to create plain text file with .jsee extension (e.g SelectLine.jsee) then put the above code in it.
Then register the macro in EE: Macros menu->Customize->New