[libreoffice-users] BASIC script how to read/write system files, like /dev/null in Linux

2012-10-14 Thread chaonis
I am trying to write scripts accessing the system files, such as /dev/ttyS0. If I use Open I got the error Device I/O error message. Are there any special function call needed to be done for the system files? User permission is good as I can access to the file using any other Linux commands.

Re: [libreoffice-users] BASIC script how to read/write system files, like /dev/null in Linux

2012-10-14 Thread Tom Davies
: From: chaonis chao...@gmail.com Subject: [libreoffice-users] BASIC script how to read/write system files, like /dev/null in Linux To: users@global.libreoffice.org Date: Sunday, 14 October, 2012, 20:08 I am trying to write scripts accessing the system files, such as /dev/ttyS0. If I use Open I got

Re: [libreoffice-users] BASIC script how to read/write system files, like /dev/null in Linux

2012-10-14 Thread Thomas Taylor
and happy hunting! Regards from Tom :)  --- On Sun, 14/10/12, chaonis chao...@gmail.com wrote: From: chaonis chao...@gmail.com Subject: [libreoffice-users] BASIC script how to read/write system files, like /dev/null in Linux To: users@global.libreoffice.org Date: Sunday, 14 October, 2012, 20

Re: [libreoffice-users] BASIC script how to read/write system files, like /dev/null in Linux

2012-10-14 Thread Andrew Douglas Pitonyak
If you have trouble with these methods, then check out the SimpleFileAccess service. I have not tried it, but I am interested to know if it works. http://www.openoffice.org/api/docs/common/ref/com/sun/star/io/module-ix.html http://www.openoffice.org/udk/common/man/concept/streams.html On