[texworks] Scripting read access

Paul A Norman paul.a.norman at gmail.com
Mon Dec 20 12:43:02 CET 2010


Hi,

> On 2010-12-06 11:11, Paul A Norman wrote:
>> Could I also please request that script readFile  (and even writeFile)
>>  be available by default for the whole script folder and
>> subdirectories to facilitate libraries and saving global
>> configurations? ...

> You can request it, of course, but the probability of this hitting
> before 0.4 is very small. I originally intended to do what you suggest,
> but there are implementation-specific problems. The only thing directly
> available is the folder in which the script file is saved
....
> HTH
> Stefan

Question please,

"       relative paths are taken to be relative to the folder containing the
        executing script's file"

writeFile('authorName.txt', 'Blah Blah');

Can that write into the scripts own folder without write permissions
turned on in preferences? Or is that only for readFile()?

Paul



More information about the texworks mailing list