[platypus-dev] Re: Using input box in bash script
- From: Sveinbjorn Thordarson <sveinbt@xxxxx>
- To: platypus-dev@xxxxxxxxxxxxx
- Date: Sun, 4 Dec 2005 09:41:07 +0000
On Nov 29, 2005, at 10:08 PM, Methnen (AKA Jamie) wrote:
Ok I have a shell script that I want to use an inputbox in. This
is the code I have....
cd="CocoaDialog.app/Contents/MacOS/CocoaDialog"
rv=`$1/BufferCups.app/Contents/Resources/$cd inputbox --text
"Buffer Cups Job Copy Menu" --informative-text "Type a number and
press 'OK'." --button1 "OK"`
Theproblem is thes cript doesn't do anything when it gets to this.
It doesn't open an input box. Am I doing something wrong?
The documentation is a bit out of date. rv shouldn't have to include
the name of the application bundle -- so that should be rv=`$1/
Contents/Resources/$cd inputbox...
Cheers,
Sveinbjorn Thordarson
Other related posts:
- » [platypus-dev] Using input box in bash script
- » [platypus-dev] Re: Using input box in bash script
cd="CocoaDialog.app/Contents/MacOS/CocoaDialog"
rv=`$1/BufferCups.app/Contents/Resources/$cd inputbox --text "Buffer Cups Job Copy Menu" --informative-text "Type a number and press 'OK'." --button1 "OK"`
Theproblem is thes cript doesn't do anything when it gets to this. It doesn't open an input box. Am I doing something wrong?