Page 1 of 1

Automate open file and manipulating with it

Posted: Mon Aug 17, 2009 9:35 am
by HookMan
Hello, please get me advice :idea: .
I need open or import the document absolute automatically to the editor. And after automated open, I need make new document event. I don't found any text about this problem. Thanks a lot for advice.. :)

Re: Automate open file and manipulating with it

Posted: Mon Aug 17, 2009 10:14 am
by sorin_ristache
Hello,

Oxygen opens automatically a file that is specified as parameter in the command that starts Oxygen. For example on Windows if you double click an .xml file and you associated .xml files with Oxygen in the Oxygen installer then Windows starts Oxygen and sends the file path of that .xml file for opening in Oxygen.

Also you can start Oxygen on Windows using the oxygen.exe launcher or the oxygen.bat script located in the Oxygen install folder. If you pass the file path of a file in the command that starts Oxygen that file isopened automatically:

Code: Select all

oxygen.exe folder/to/file1.xml
or:

Code: Select all

oxygen.bat path/to/file2.xsl
What is the new document event that you need? Do you want to create a new document after starting Oxygen? That is possible only with the action New from the menu File and from the toolbar File.


Regards,
Sorin