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

cesario678

Client
Joined
Mar 10, 2022
Messages
201
Reaction score
13
Points
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!
 

Attachments

lokiys

Moderator
Joined
Feb 1, 2012
Messages
4,863
Reaction score
1,193
Points
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
Joined
Mar 10, 2022
Messages
201
Reaction score
13
Points
18
SHIFT + CTRL + Right arrow, release pressed keys, then hit DELETE . This selects everything to the right of the cursor and then delete removes it.
This is the CapCut website, and it’s not possible to do this there. Is there another way?
 

lokiys

Moderator
Joined
Feb 1, 2012
Messages
4,863
Reaction score
1,193
Points
113
This is the CapCut website, and it’s not possible to do this there. Is there another way?
If CapCut does not have any hotkeys then probably not.
 

cesario678

Client
Joined
Mar 10, 2022
Messages
201
Reaction score
13
Points
18
If CapCut does not have any hotkeys then probably not.
With C#, do you think I can achieve this? Since I'm a beginner, I'll ask Chat GPT for help
 

lokiys

Moderator
Joined
Feb 1, 2012
Messages
4,863
Reaction score
1,193
Points
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
Joined
Mar 10, 2022
Messages
201
Reaction score
13
Points
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.
 

Users Who Are Viewing This Thread (Total: 0, Members: 0, Guests: 0)