• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Problem with Button/AppleScript/Shell Script
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


  • Follow-Ups:
    • Re: Problem with Button/AppleScript/Shell Script
      • From: Chris Espinosa <email@hidden>
  • Prev by Date: Re: Strip headers from imbedded frameworks
  • Next by Date: Framework size limits
  • Previous by thread: Re: xcodebuild library search path bug?
  • Next by thread: Re: Problem with Button/AppleScript/Shell Script
  • Index(es):
    • Date
    • Thread