• 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
Java program called within applescript
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Java program called within applescript


  • Subject: Java program called within applescript
  • From: Tobias Langlotz <email@hidden>
  • Date: Sun, 13 May 2007 20:58:58 +0200

Hi,
I have the following problem: In my applescript program I place a call to a java programm like the following:

repeat 40 times
set this_result to do shell script "java -jar example.jar"
end repeat

It works fine but with this problem: If a error occurs in the Java program the applescript breaks at this point. So here my question: Is it possible to continue with the applescript even the Java program quits with an error and how to achieve this?!
Thanks in advance,
Tobias
--------------------------------------------------------------------
Tobias Langlotz

Bauhaus University Weimar
email@hidden
www.uni-weimar.de/~langlotz
--------------------------------------------------------------------


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

  • Follow-Ups:
    • Re: Java program called within applescript
      • From: Doug McNutt <email@hidden>
  • Prev by Date: Re: Converting MOD files
  • Next by Date: Re: Java program called within applescript
  • Previous by thread: Re: difficulty with list filtering
  • Next by thread: Re: Java program called within applescript
  • Index(es):
    • Date
    • Thread