Hello,
Ran into an issue I could use some advice on how to approach. The web form is using a rich text editor.
The goal is to Select all text, delete and replace with new/updated text.
No problems getting to the editor field. In most cases, I've used CTRL + Shift + End to select all text and then send a delete.
However, this does not work if the Rich Text editor has a HTML table in it.
I want to be able to use (CTRL A + Delete) feature to clear all data in the rich text editor.
I am using Internet Explorer 11 to navigate to the site. I can manually perform the actions I require, however I cant seem to automate select all & delete. I've attempted several different ways to accomplish this:
This entry works for non HTML Tables:
Press CTRL
Press Shift
Press End
Release CTRL
Release Shift
Press Del
To delete the HTML tables, I've found I can manually do it two ways:
1. Using quick shortcut keys, I can manually send a CTRL + A then delete. It works.
In the Script, this doesn't work:
Press LALT
Press ea
Release LALT
Press Delete
2. Using IE Menus, I can use the ALT +E then A (Edit Menu, Select All) Then ALT + E then T ( Edit Menu, Cut)
In the Script, this doesn't work:
Press LALT
Press ea
Release LALT
Press LALT
Press et
Release LALT
I cannot automate either one of the two methods. Is Focus being lost?
Can anyone shed some light on how to accomplish the menial task?
Internet Explorer - Rich Text Editor - Select All/Replace
Moderators: JRL, Dorian (MJT support)
Re: Internet Explorer - Rich Text Editor - Select All/Replac
The Press command doesn't work with alphanumeric characters, you need to use the Send> command instead.
Code: Select all
Press LALT
Send>ea
Release LALT
Re: Internet Explorer - Rich Text Editor - Select All/Replac
Thank you for the kind response.