Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
export text, create new file
#1
i see a makedir and how to edit files, copy , rename etc

i dont see how to make a new file and save data to it, is this possible within QM or does it have to be a manual process (open notepad, select window, paste (Ctrl+v) then navigate to file menu, etc ) ?  Or are there QM commands i can execute... assume file doesnt exist and data was created by the script, how can i ave to text file on desktop for example.  thanks
#2
Function Function11
Code:
Copy      Help
str s="test"
s.setfile("$desktop$\nameoftextfile.txt")
#3
thanks red, quick question in the helpfile it has a Flag 1 for setfile to "append new line charac" i assume this will place text on newline, below current text

not happening, am i understanding this wrong?  https://www.quickmacros.com/help/str/IDP_S_FILE.html

thanks
#4
Function Function11
Code:
Copy      Help
str s="test2"
s.setfile("$desktop$\nameoftextfile.txt" -1 -1 1)
#5
thanks


Forum Jump:


Users browsing this thread: 1 Guest(s)