Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
use QM function to load and modify files of type .psl
#7
thanks for your reminder  Heart

@kevin I have a problem, I want to use a variable, but I can't run successfully.   Huh


Macro Macro3
Code:
Copy      Help
str s.getfile("$desktop$\abc.psl");; load the file into a string so you can work with it
int pt=2
str pt2=F"select partition {pt}"
s.findreplace(F"select partition 0" ''{pt2}'')
out s
;s.setfile("$desktop$\abc.psl");; uncomment when you want to save


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

Forum Jump:


Users browsing this thread: 10 Guest(s)