Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Trimming Text
#1
Ok so I am trying to figure out why trim text is acting up.

Function Start_Programs
Code:
Copy      Help
str number.getwintext("Notepad")
;Thats from beginning of notepad
number.trim("Untitled ");err
;Now saved file is usually a number in front like 6070391
number.trim("Notepad")
table.setwintext(id(225 "Instant Message"))
0.3
act "Instant Message"
'Y


;But when I do this, and say there is a 1 or a 5 at the end, it removes it and does not paste it in YIM, how come?


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)