• 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
Re: Howto Display terminal return value??
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Howto Display terminal return value??


  • Subject: Re: Howto Display terminal return value??
  • From: montana <email@hidden>
  • Date: Sat, 18 Jan 2003 14:13:10 -0600 (CST)

Hi Everyone-

I think I figured it out. This is what I have:

display dialog "Enter start date:" default answer ""
set sdate to the text returned of the result

display dialog "Enter en date:" default answer ""
set edate to the text returned of the result

set this_result to do shell script B,
("timecalc.py" & " " & sdate & " " & edate) as string
display dialog this_result buttons {"Ok"} default button 1

Any ideas on how to make this code better?

Thanks.
SA
:)
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Howto Display terminal return value??
      • From: Michelle Steiner <email@hidden>
  • Prev by Date: Re: Microsoft Word - bringing a window to the front...
  • Next by Date: Re: Howto Display terminal return value??
  • Previous by thread: Howto Display terminal return value??
  • Next by thread: Re: Howto Display terminal return value??
  • Index(es):
    • Date
    • Thread