Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
use QM function to load and modify files of type .psl
#9
Code:
Copy      Help
str pt
inp pt
str s.getfile("$desktop$\abc.psl");; load the file into a string so you can work with it
str pt2=F"select partition {pt}"
;out pt2
s.findreplace("select partition 0" F"{pt2}")
out s
s.setfile("$desktop$\abca.psl");; uncomment when you want to save


Messages In This Thread
RE: use QM function to load and modify files of type .psl - by Kevin - 08-25-2018, 06:29 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)