Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Macro reading from file/clipboard
#2
Code:
Copy      Help
[color=blue]str [/color]s
[color=green];...[/color]
s.getsel [color=green];;copy selected text to variable s[/color]
[color=blue]if[/color]([color=blue]find[/color](s "End of File" 0 1)>=0) [color=blue]ret [/color][color=green];;if string is found (case insensitive), exit
;...[/color]
s.setsel [color=green];;paste s. Or key (s)
;...
[/color]


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)