Does anyone know how to set up text pad to open with the cursor starting at the next position it should begin with versus having to open the hit Ctrl End?
Thanks
cursor position
Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard
I think this should go in the "General" forum, but anyway, you can use command line parameters to give an initial cursor position, for instance:opens readme.txt and positions the cursor at the fifth character on line 10.
If you want to position the cursor at the end of the file, you could use a large linenumber:(Character position is optional, so I left it out here).
I don't think there's a way to have TP always open at the end of the file, but it should be possible to create a shortcut (with parameters) and place it in the Send To folder.
Edit:
It seems you can't do this using a shortcut, but you can create a batchfile in the Send To folder which contains:
Code: Select all
Textpad.exe readme.txt(10,5)
If you want to position the cursor at the end of the file, you could use a large linenumber:
Code: Select all
Textpad.exe readme.txt(100000)
I don't think there's a way to have TP always open at the end of the file, but it should be possible to create a shortcut (with parameters) and place it in the Send To folder.
Edit:
It seems you can't do this using a shortcut, but you can create a batchfile in the Send To folder which contains:
Code: Select all
start "TextPad" "C:\Program Files\TextPad 4\TextPad.exe" %1(100000)