Opening file and position caret
Posted: Tue May 31, 2011 3:51 pm
Hi!
We'd like to open a file and position the caret at some point. Additionally we'd like to force Oxygen to open the file in Text-Page, not in Author or Grid. So far we haven't found any clean way to do this.
The best way would be to do this via command line.
So far I've only managed to do something by dabbling with some files in APPData, but that's not nice and doesn't work if Oxygen is already open.
Writing a plugin didn't give any good results either: I can open a file and I can position the caret, but I couldn't find any way to select the active Page, and to open a file and position the caret without any user interaction (e.g. pressing a toolbar-button).
Thanks in advance,
Bernd Fuhrmann
We'd like to open a file and position the caret at some point. Additionally we'd like to force Oxygen to open the file in Text-Page, not in Author or Grid. So far we haven't found any clean way to do this.
The best way would be to do this via command line.
So far I've only managed to do something by dabbling with some files in APPData, but that's not nice and doesn't work if Oxygen is already open.
Writing a plugin didn't give any good results either: I can open a file and I can position the caret, but I couldn't find any way to select the active Page, and to open a file and position the caret without any user interaction (e.g. pressing a toolbar-button).
Thanks in advance,
Bernd Fuhrmann