• 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: Data Back from a Terminal Call
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Data Back from a Terminal Call


  • Subject: Re: Data Back from a Terminal Call
  • From: Graff <email@hidden>
  • Date: Wed, 30 Jun 2004 12:48:21 -0400

Sure, just set a variable to the command:
----
set theDate to do shell script "date"

display dialog theDate
----

There are notes on the "do shell script" command here:
<http://developer.apple.com/technotes/tn2002/tn2065.html>

- Ken

On Jun 30, 2004, at 12:25 PM, Jaime Magiera wrote:

Is there a way to get data back from a "Do shell script"? How are people getting return values back to their script from calls that require such?
_______________________________________________
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.


References: 
 >Data Back from a Terminal Call (From: Jaime Magiera <email@hidden>)

  • Prev by Date: Re: Hidden password entry in applescript
  • Next by Date: Re: Data Back from a Terminal Call
  • Previous by thread: Re: Data Back from a Terminal Call
  • Next by thread: Re: Data Back from a Terminal Call
  • Index(es):
    • Date
    • Thread