04-07-2022, 12:53 PM
Macro Macro33
above slow and dangerous unless you block key and mouse input which could change focus - see BlockInput2, though this can also be tricky and sometimes dangerous to use.
This better:
tip: learn QM faster and more easily by using the 'wizards' in the toolbar, especially useful are the ones that put arrows on (though all eventually become lifesavers! thanks Gintaras!!!!)
int w=win("Untitled - Notepad" "Notepad")
act id(15 w) ;;editable text 'Text Editor'
str sBlock
for _i 1 10000
,_s.format("%04i" _i)
,key F"word{_s}[]";;[] adds new line; remove if you don't wantabove slow and dangerous unless you block key and mouse input which could change focus - see BlockInput2, though this can also be tricky and sometimes dangerous to use.
This better:
str sColl
for _i 1 10000
,_s.format("%04i" _i)
,sColl.addline(F"word{_s}")
int w=win("Untitled - Notepad" "Notepad")
sColl.setwintext(id(15 w)) ;;editable text 'Text Editor'tip: learn QM faster and more easily by using the 'wizards' in the toolbar, especially useful are the ones that put arrows on (though all eventually become lifesavers! thanks Gintaras!!!!)
