Using ahk_class and ClassNN for pasting text
Posted: 10 May 2024, 03:35
There is an ahk_class TfmSubtitleWriterMain which has two ClassNN I want to use, TInnslag and TSubitle.
Today (if done manually) I can use the shortcut ctrl+enter to create new TInnslag, then tab (to get to TSubtitle), and then ctrl+enter for creating TSubitle1, 2, 3 etc.
What I dont understand is how I can use these two classes to perform a paste of text where I want it.
I have solved this by writing a script that simulates pressing all the shortcuts but I am thinking it is a lot faster if I can use the classes directly?
Or I am thinking wrong about this?
Today (if done manually) I can use the shortcut ctrl+enter to create new TInnslag, then tab (to get to TSubtitle), and then ctrl+enter for creating TSubitle1, 2, 3 etc.
What I dont understand is how I can use these two classes to perform a paste of text where I want it.
I have solved this by writing a script that simulates pressing all the shortcuts but I am thinking it is a lot faster if I can use the classes directly?
Or I am thinking wrong about this?