NeoOffice Launch Shortcuts

From NeoWiki

(Difference between revisions)
Jump to: navigation, search
Revision as of 05:53, 17 June 2006 (edit)
Sardisson (Talk | contribs)
(Stub Applications: - limitations links)
← Previous diff
Revision as of 05:15, 7 July 2006 (edit) (undo)
Sardisson (Talk | contribs)
(add fabrizio's macro)
Next diff →
Line 1: Line 1:
 +There are several methods which allow you to launch NeoOffice into a particular application rather than into Writer.
 +
 +==Launch Shortcuts==
 +
[[User:Jake|Jake]] made a template file for each of the components that make up NeoOffice and OpenOffice.org. By selecting the template, you'll launch NeoOffice into that component (provided NeoOffice is default application for those filetypes; if not, just make NeoOffice the default for each of these files). You can stick them in your Dock for one-click launching of the desired component. [[User:Jake|Jake]] made a template file for each of the components that make up NeoOffice and OpenOffice.org. By selecting the template, you'll launch NeoOffice into that component (provided NeoOffice is default application for those filetypes; if not, just make NeoOffice the default for each of these files). You can stick them in your Dock for one-click launching of the desired component.
Line 8: Line 12:
This is especially helpful for NeoOffice 1.2 and above, which open to a blank Writer document. This is especially helpful for NeoOffice 1.2 and above, which open to a blank Writer document.
 +
 +You can also create your own template that has all of your normal document settings and use that file in the same manner as these launch shortcuts.
==== More information: ==== ==== More information: ====
http://trinity.neooffice.org/modules.php?name=Forums&file=viewtopic&t=445 http://trinity.neooffice.org/modules.php?name=Forums&file=viewtopic&t=445
-==== Stub Applications: ====+== Stub Applications: ==
You can also download a set of stub applications for each of the different components from http://www.toonetown.com/projects/downloads/NeoOfficeApps.zip. These stubs only work with the 2.0+ releases of NeoOffice for PPC. You can also download a set of stub applications for each of the different components from http://www.toonetown.com/projects/downloads/NeoOfficeApps.zip. These stubs only work with the 2.0+ releases of NeoOffice for PPC.
Line 22: Line 28:
'''N.B.''' There are some limitations to what the stub applications can do; see the discussion in [http://trinity.neooffice.org/modules.php?name=Forums&file=viewtopic&p=20280#20280 this and following] posts on trinity. '''N.B.''' There are some limitations to what the stub applications can do; see the discussion in [http://trinity.neooffice.org/modules.php?name=Forums&file=viewtopic&p=20280#20280 this and following] posts on trinity.
 +
 +==Macros==
 +
 +NeoOffice macro and database wizard fabrizio offered the following macro to launch NeoOffice into a particular application.
 +
 +You can easily change which application is loaded on launch with a macro.
 +For example my NeoOffice 1.2 starts opening the database forms using this macro:
 +
 +<pre>sub apri_documento
 +dim oFrame as object
 +dim Doc as Object
 +dim Url as String
 +oFrame = ThisComponent.getCurrentController().getFrame()
 +dim leggo(0) as New com.sun.star.beans.PropertyValue
 +
 +url="file:///Users/fabrizio/Desktop/Archivio/form database/eventi.sdw"
 +
 +leggo(0).Name="ReadOnly"
 +leggo(0).Value=TRUE
 +Doc = oFrame.loadComponentFromUrl(Url, "", 2, leggo())
 +
 +end sub</pre>
 +
 +You can change the macro, and after you have everything configured, choose '''Customize''' ('''Configure''' in NeoOffice 1.2) from the '''Tools''' menu; then go to the "Events" tab and link the macro to the "Start Application" event.
 +
 +====References====
 +[http://trinity.neooffice.org/modules.php?name=Forums&file=viewtopic&p=21081#21081 Thread on trinity] discussing this macro.
{{botlangbarEN|[[de:Start-Kurzbefehle_f%C3%BCr_NeoOffice|Deutsch]] [[Fr:Document_par_d%C3%A9faut_%C3%A0_l%27ouverture|Français]]}} {{botlangbarEN|[[de:Start-Kurzbefehle_f%C3%BCr_NeoOffice|Deutsch]] [[Fr:Document_par_d%C3%A9faut_%C3%A0_l%27ouverture|Français]]}}
[[Category:Tips and Hints]][[Category:NeoOffice]][[Category:OpenOffice.org]] [[Category:Tips and Hints]][[Category:NeoOffice]][[Category:OpenOffice.org]]

Revision as of 05:15, 7 July 2006

There are several methods which allow you to launch NeoOffice into a particular application rather than into Writer.

Contents

Launch Shortcuts

made a template file for each of the components that make up NeoOffice and OpenOffice.org. By selecting the template, you'll launch NeoOffice into that component (provided NeoOffice is default application for those filetypes; if not, just make NeoOffice the default for each of these files). You can stick them in your Dock for one-click launching of the desired component.

The files can be found here:

http://neo-downloads.sixthcrusade.com/neoofficeshortcuts_en.zip

http://neo-downloads.sixthcrusade.com/neoofficeshortcuts_de.zip

This is especially helpful for NeoOffice 1.2 and above, which open to a blank Writer document.

You can also create your own template that has all of your normal document settings and use that file in the same manner as these launch shortcuts.

More information:

http://trinity.neooffice.org/modules.php?name=Forums&file=viewtopic&t=445

Stub Applications:

You can also download a set of stub applications for each of the different components from http://www.toonetown.com/projects/downloads/NeoOfficeApps.zip. These stubs only work with the 2.0+ releases of NeoOffice for PPC.

Once unzipped, you need to place the applications from the NeoOfficeApps folder inside your /Applications folder (or wherever NeoOffice is installed).

You can then use those applications as if they were stand-alone applications (put them in the Dock, drop files onto them, etc.).

They use the OpenOffice.org icon set because corresponding icons for NeoOffice do not exist.

N.B. There are some limitations to what the stub applications can do; see the discussion in this and following posts on trinity.

Macros

NeoOffice macro and database wizard fabrizio offered the following macro to launch NeoOffice into a particular application.

You can easily change which application is loaded on launch with a macro. For example my NeoOffice 1.2 starts opening the database forms using this macro:

sub apri_documento
dim oFrame as object
dim Doc as Object
dim Url as String
oFrame = ThisComponent.getCurrentController().getFrame()
dim leggo(0) as New com.sun.star.beans.PropertyValue

url="file:///Users/fabrizio/Desktop/Archivio/form database/eventi.sdw"

leggo(0).Name="ReadOnly"
leggo(0).Value=TRUE
Doc = oFrame.loadComponentFromUrl(Url, "", 2, leggo())

end sub

You can change the macro, and after you have everything configured, choose Customize (Configure in NeoOffice 1.2) from the Tools menu; then go to the "Events" tab and link the macro to the "Start Application" event.

References

Thread on trinity discussing this macro.


This article in other languages:
Personal tools