• 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: Bruce Carter <email@hidden>
  • Date: Wed, 30 Jun 2004 11:37:26 -0500

Yes, easily. Ala:

set username to do shell script "echo $USER"

On Jun 30, 2004, at 11:25 AM, 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?

--
Bruce Carter, ACTC, MacCSE, MCP http://www.nd.edu/~bcarter/
Senior Systems Engineer mailto:email@hidden
Riley Hall of Art, Room 217 AIM:bcarteratnd
University of Notre Dame +1 574 631 2967 Voice
Notre Dame, IN 46556-0539 +1 574 631 8201 FAX
_______________________________________________
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: Data Back from a Terminal Call
      • From: Jaime Magiera <email@hidden>
References: 
 >Data Back from a Terminal Call (From: Jaime Magiera <email@hidden>)

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