#!/bin/ksh # $Revision: 1.4 $ #------------------------------------------------------------------------------ # # Copyright (C) 1994, 1995 Taligent, Inc. All rights reserved. # # Project: StockBrowser # File: EmptyStockPickerApp # Build/Version: 1.0.0 # # Description: Script for launching empty StockPicker document via # RunDocument. You can supply a document name. If that # document exists, it will open the old document. If # it doesn't, it creates and opens a new document. If # you don't supply a document name, RunDocument will # use "Untitled" as the new document to try and create. # #------------------------------------------------------------------------------ if [ -n "$1" -a -d $TaligentRoot/Places/DefaultUserHomePlace/$1 ]; then RunDocument -o $1 else RunDocument -c -o 'TGUIModelPresenterStationeryFor' StockBrowser $1 fi