Automate open file and manipulating with it

Are you missing a feature? Request its implementation here.
HookMan
Posts: 1
Joined: Mon Aug 17, 2009 9:27 am

Automate open file and manipulating with it

Post 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.. :)
sorin_ristache
Posts: 4141
Joined: Fri Mar 28, 2003 2:12 pm

Re: Automate open file and manipulating with it

Post 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
Post Reply