How do I delete everything to the right (help)?

cesario678

Client
Регистрация
10.03.2022
Сообщения
201
Благодарностей
13
Баллы
18
In the image I am going to send, there is a black cursor. Its XPath is //*[@id="TIMELINE_CURSOR_ID"]/div[@class='timeline-play-cursor-bd-rnlSbv'] or //*[@id="TIMELINE_CURSOR_ID"]. Both move this cursor. I would like to know how to create a function that deletes everything to the right of it automatically. Everything on the right side, I want it deleted automatically. Does anyone know how to do this? Or does anyone have a suggestion on how to achieve this in another way?"

If you need further assistance with coding or implementing such functionality, feel free to ask!
 

Вложения

lokiys

Moderator
Регистрация
01.02.2012
Сообщения
4 862
Благодарностей
1 193
Баллы
113
SHIFT + CTRL + Right arrow, release pressed keys, then hit DELETE . This selects everything to the right of the cursor and then delete removes it.
 

cesario678

Client
Регистрация
10.03.2022
Сообщения
201
Благодарностей
13
Баллы
18

lokiys

Moderator
Регистрация
01.02.2012
Сообщения
4 862
Благодарностей
1 193
Баллы
113

cesario678

Client
Регистрация
10.03.2022
Сообщения
201
Благодарностей
13
Баллы
18

lokiys

Moderator
Регистрация
01.02.2012
Сообщения
4 862
Благодарностей
1 193
Баллы
113
With C#, do you think I can achieve this? Since I'm a beginner, I'll ask Chat GPT for help
I dont know if CapCut has any hotkeys. If one i posted before does not work then maybe you can try to emulate some mouse moves with mouse button pressed and held and then move mouse. Just like you highlight anything in PC. Not sure though.
 

cesario678

Client
Регистрация
10.03.2022
Сообщения
201
Благодарностей
13
Баллы
18
I dont know if CapCut has any hotkeys. If one i posted before does not work then maybe you can try to emulate some mouse moves with mouse button pressed and held and then move mouse. Just like you highlight anything in PC. Not sure though.
I understand, and thank you for the help. But it also doesn't solve the issue, because the data that needs to be deleted will always be in different locations, and even if I get the location of a specific point, it wouldn't work. I tried the "rise drag-and-drop" function, and it also didn’t work well on their site.
 

Кто просматривает тему: (Всего: 0, Пользователи: 0, Гости: 0)