Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Copy and paste text from wordpad
#1
Can someone please post an example of how to copy a line of text from wordpad. Then after it does the action I need it to, copy the next line in the wordpad, and repeat

Thanks
#2
wordpad to excel
Macro
Code:
Copy      Help
act win("" "WordPadClass") ;;activate wordpad
key Ca ;;select all
str s1.getsel ;;get selected text
act win("Microsoft Excel" "XLMAIN") ;;activate excel
str s2
foreach s2 s1 ;;for each line
,key (s2) Y ;;type in excel and press Enter
,;...
#3
is there anyway to make this select only the last line from the active window and/or only the visible text. eg if it was in a scrollbar menu.
#4
SendMessage EM_ / RichText
found it here thanks


Forum Jump:


Users browsing this thread: 1 Guest(s)