On 2011/02/08 3:07 AM Rolf Lochbühler wrote:
Macs don't have separate start programs. The only executable file is
LibreOffice.app.
Actually they are there, just kind of hidden ;-)
LibreOffice.app is an application bundle, which is basically a directory. The difference
to other directories is that you cannot open an .app directory by (double) clicking it in
Finder. However, you may open LibreOffice.app via the "Show package contents"
function in its context menu, the one you get when you ctrl+mouse click on
LibreOffice.app. At command line level (that is, in Terminal) a, say, cd (change
directory) works like for any other directory.
To help solve the original issue, here's my (quick, but hopefully not too
dirty) attempt to come up with AppleScript code to start LibreOffice directly
in Calc mode:
1. Start Applications/Utilities/AppleScript-Editor.
2. Copy and paste the following three lines of code (ignoring ... do ... end
...) into the AppleScript-Editor window:
ignoring application responses
do shell script "/Applications/LibreOffice.app/Contents/MacOS/soffice -calc
2>&1>/dev/null&"
end ignoring
3. In AppleScript-Editor click Compile, to verify that the code will run.
This shouldn't trigger any error messages.
4. Save the script. In the save dialog window make sure to select Application
as file format, which will change the file name extension to .app. I suggest to
save the script as LibreCalc.app in /Applications.
Double clicking LibreCalc.app should now directly open a Calc sheet.
Hope that helps.
Rolf
There was a launcher developed for OpenOffice.org both for the GUI (with icons) and for the
command line. It is no longer maintained but someone could use it as a base for a launcher for
LibreOffice.
http://stuporglue.org/openoffice-org-aqua-rocks/
Larry
--
_________________________________
Larry I. Gusaas
Moose Jaw, Saskatchewan Canada
Website: http://larry-gusaas.com
"An artist is never ahead of his time but most people are far behind theirs." -
Edgard Varese
--
Unsubscribe instructions: E-mail to users+h...@libreoffice.org
List archive: http://listarchives.libreoffice.org/www/users/
*** All posts to this list are publicly archived for eternity ***