Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
key long text files
#1
Is it possible to set up a macro that will paste a fairly long text file
in a document when I click the appropriate trigger? I've set up 3 macros for
real short text, never over 1 line, and they work great. I want to "key"
a text file that is 4.55 KB long and obviously has numerous lines. I've been
all over the help files and tried a lot of options. Nothing works. Help please!


Regards,

Karl
#2
Example:

Code:
Copy      Help
act "Notepad"
str s.getfile("$desktop$\test.txt")
sel(list("paste[]keys"))
,case 1 outp s
,case 2 key (s)
#3
Thank you very much! Between your help and poking around through
the program I came up with this.

str s.getfile("AUSA.txt")
outp s ;;paste text

It works great!


Forum Jump:


Users browsing this thread: 2 Guest(s)