| View previous topic :: View next topic |
| Author |
Message |
runbei General User

Joined: 09 Feb 2005 Posts: 23 Location: Mountain View, CA
|
Posted: Wed Feb 09, 2005 10:11 am Post subject: Keyboard macro in Write |
|
|
I'm a writer. I like to edit with a WordStar-style keyboard. Easy to do in Word/WordPerfect, but I'm having difficulty with OO Write. Specifically, creating a ctrl-y macro that deletes the current line of text.
I type a line of text, go to Record Macro, name the new macro "ctrly," then press Home, F8, End, Delete (or Backspace) to delete the line, then stop recording. But when I play back the macro, it doesn't delete the line.
Any thoughts? Thanks. _________________ George Beinhorn
www.writeremedy.com |
|
| Back to top |
|
 |
Iannz OOo Advocate

Joined: 14 Feb 2004 Posts: 494 Location: Christchurch, New Zealand
|
Posted: Wed Feb 09, 2005 2:00 pm Post subject: |
|
|
The recorder comments out (starts with a REM) statement that corresponds to F8 (rem dispatcher.executeDispatch(document, ".uno:SetExtSelection", "", 0, Array())).
I suggest recording:
Home > Shift+End > Del
As this works for me in OOo1.1.4 for Linux. _________________ Cheers, Ian
http://wiki.services.openoffice.org/wiki/Extensions_development_basic a wiki about writing OpenOffice.org extensions. |
|
| Back to top |
|
 |
runbei General User

Joined: 09 Feb 2005 Posts: 23 Location: Mountain View, CA
|
Posted: Sat Feb 12, 2005 7:42 am Post subject: Works great |
|
|
Ian, thanks. This works fine. I also found a "delete row" key assignment that does the job, but I reckon it's best to save that for use with tables.
George _________________ George Beinhorn
www.writeremedy.com |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|