Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
use QM function to load and modify files of type .psl
#11
How to save the modified file as a new file through the save dialog? I tried many times and could not succeed


Macro Macro2
Code:
Copy      Help
str s1
if OpenSaveDialog(0 s1 "psl files[]*.psl")
,;out s1
,str pt
,inp pt
,str s.getfile(s1);; load the file into a string so you can work with it
,
,s.findreplace("select partition" F"select partition {pt}")
,;out s
,;s.setfile("$desktop$\abca.psl")
,OpenSaveDialog(1 s1 "psl files[]*.psl")


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

Forum Jump:


Users browsing this thread: 1 Guest(s)