[texworks] Scripting read access
st.loeffler at gmail.com
Mon Dec 20 16:03:44 CET 2010
On 2010-12-20 12:43, Paul A Norman wrote:
> 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()?
That is only for readFile. Writing is disabled completely by default.
The rational behind it is that with writing enabled, the script could
alter other files that may be executed with different permissions
(examples include console scripts, plugin scripts with more
capabilities, or in the future other scripts with different security
More information about the texworks