Question
ACL to get Editor startup command arguments
Inside ACL code I'd like to see if the Editor session was started as
read-only. I can see whether the specific documents are read-only using
the doc_read_only() function, but it will return 0 (not read-only) for a
given doc when Editor was started with the -r switch (session read-only)
and that doc had doc_read_only(doc, 0) called on it, even though the
session state seems to take precedence.
I can't seem to find anything in ACL or in the API for other languages
like Java that indicates whether Editor was started as read-only. I also
looked for something that would return the command line string that
started Editor so I could search for "-r" in that string, but I can't
seem to find anything like that, either. Any ideas?
Thanks,
--
Brian Jensen
bjensen@bluelid.com
read-only. I can see whether the specific documents are read-only using
the doc_read_only() function, but it will return 0 (not read-only) for a
given doc when Editor was started with the -r switch (session read-only)
and that doc had doc_read_only(doc, 0) called on it, even though the
session state seems to take precedence.
I can't seem to find anything in ACL or in the API for other languages
like Java that indicates whether Editor was started as read-only. I also
looked for something that would return the command line string that
started Editor so I could search for "-r" in that string, but I can't
seem to find anything like that, either. Any ideas?
Thanks,
--
Brian Jensen
bjensen@bluelid.com

