AkelPad.WriteFile
Posted: Thu Jul 02, 2020 5:57 pm
I want to save the path to the running text file.
I wrote this code:
var sFile = “B:\TEMP\info.txt”;
var sEditFile = AkelPad.GetEditFile(0)
sEditFile = AkelPad.GetEditFile(0)
AkelPad.WriteFile(sFile, sEditFile, 1250, 0, 0)
but it saves in the binary file and besides the path many other junk.
What should the code look like to write only the path:
„D:\WinCMD\AkelPad86\AkelFiles\Plugs\Scripts\Test.js”
in file: B:\TEMP\info.txt
What code are scripts.js written here? ECMAScript?
I wrote this code:
var sFile = “B:\TEMP\info.txt”;
var sEditFile = AkelPad.GetEditFile(0)
sEditFile = AkelPad.GetEditFile(0)
AkelPad.WriteFile(sFile, sEditFile, 1250, 0, 0)
but it saves in the binary file and besides the path many other junk.
What should the code look like to write only the path:
„D:\WinCMD\AkelPad86\AkelFiles\Plugs\Scripts\Test.js”
in file: B:\TEMP\info.txt
What code are scripts.js written here? ECMAScript?