Problem with Button/AppleScript/Shell Script
Problem with Button/AppleScript/Shell Script
- Subject: Problem with Button/AppleScript/Shell Script
- From: Robert Whittle <email@hidden>
- Date: Fri, 4 Jun 2004 12:51:53 +0200
I've got what must be a rather trivial problem, but I can't seem to
solve it.
I have a simple interface (window with a Button) which has an Action
(clicked) linked to an AppleScript which in turn calls a "do shell
script"
When I run the Application (window with a single button on it) and
click on the button, the script runs (i.e. it works correctly, but the
button remains in the pressed position, and with the spinning rainbow
spinning... I then have to force-quit the application.
Here's the AppleScript
on clicked theObject
do shell script "/Applications/resin-ee-2.1.8/bin/start.sh &"
end clicked
Thanks
--------
Robert Whittle
BookAssist
email@hidden
http://www.bookassist.com
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.