Skip to content. | Skip to navigation

FreeSMUG

Sections
Personal tools
You are here: Home OS X Portable Apps Source Code Portable AbiWord OS X source code
Navigation
Log in


Forgot your password?
New user?
active users
Registered: 647
Online: 0

IRC Chat


irc.freenode.net : #freesmug
 
Document Actions

Portable AbiWord OS X source code

by Gand last modified 2006-03-18 04:07 AM
Portable AbiWord OS X script source code:

Shell Script (Release 2.9)


Portable Adium.app is packaged using the Platypus script wrapper from
http://sveinbjorn.sytes.net/platypus

AppleScript (from release 2.1)

tell application "System Events" to set perc to the path of container of (path to me) as alias
set perc to quoted form of POSIX path of perc
do shell script "export HOME=" & perc & "app; open " & perc & "app/abiWord.app"

Shell Script (till release 1.0)


This is the script that start AbiWord from any device:
#!/bin/sh

here="`dirname \"$0\"`"
echo "Starting AbiWord from '$here'."
export HOME="$here"
open "$here/app/AbiWord.app"
echo "Done!"
echo "When finish, quit Terminal.app before eject your portable device."
EOF

Powered by Plone CMS, the Open Source Content Management System

This site conforms to the following standards: