Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Few questions...
#14
You may want to look into setwintext that way it will know what window to put the text into. Like this...
Function Function4
Trigger F11     Help - how to add the trigger to the macro
Code:
Copy      Help
str b c s
b="<end>"
str k="<start>"
int i
for i 1 8
,s.format("text1-this is some text-text %i text" i)
,k.addline(s)
c.from(k b)
c.setwintext(id(15 "Notepad"))

or you can do it with key but you will prolly want to act the window to paste the words

Function Function4
Trigger F1     Help - how to add the trigger to the macro
Code:
Copy      Help
key "<start>"
key Y
int j
str s
for j 1 8
,s.format("text1-this is some text-text %i text" j)
,key (s)
,key Y
key "<end>"

or

Function Function4
Trigger F11     Help - how to add the trigger to the macro
Code:
Copy      Help
key "<start>"
key Y
str k=""
int i
for i 1 8
,str s
,s.format("text1-this is some text-text %i text" i)
,k.addline(s)
key (k)
key "<end>"


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)