Page 1 of 1

Launch Author With File

Posted: Fri Aug 08, 2008 9:32 am
by msalvatori
From the Windows Explorer, or at a command line, I would like to launch Author with a file parameter that opens up in Author-mode. I can launch directly into Author-mode without arguments. However, when I provide a file argument, I start out in Edit-mode; clicking the Author-mode tab gets me where I want, but I want to avoid that extra step. :?

Re: Launch Author With File

Posted: Fri Aug 08, 2008 10:08 am
by sorin_ristache
Hello,

If you want to open the file in Author mode you must set the option Open XML in to value Author. The option is available from menu Options -> Editor -> Open/Save.


Regards,
Sorin

Re: Launch Author With File

Posted: Fri Jun 19, 2009 12:11 pm
by sijomon
On a realted note, is it possible to modify this config parameter exterfnally to Oxygen; i.e. is there some file I can write to to set this 'Open XML in' parameter. I need to be able to customise a number of client machine's installation of Oxygen, and i'd rather not involve the users, currently its all been done in an applet (with appropriate policy file).

Re: Launch Author With File

Posted: Fri Jun 19, 2009 12:17 pm
by sijomon
I just found the file:

com.oxygenxml/oxyOptionsSa10.0.xml

in my user dir. This file has the following XML:

<entry>
<String xml:space="preserve">editor.open.in.page</String>
<String xml:space="preserve">Author</String>
</entry>

I'm guessing this is what I'm after; am I right?

Re: Launch Author With File

Posted: Fri Jun 19, 2009 12:25 pm
by sorin_ristache
Yes, that is the option but you can do that with the actions Export Global Options (on the machine where you set the options once for all users) and Import Global Options (on all the machines where you want to have the same user options) available on menu Options.

In newer versions (version 10.2) the option is available from Options -> Preferences -> Editor -> Pages.


Regards,
Sorin

Re: Launch Author With File

Posted: Fri Jun 19, 2009 12:29 pm
by sijomon
Many thanks.