• 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: do shell script Results?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: do shell script Results?


  • Subject: Re: do shell script Results?
  • From: Doug McNutt <email@hidden>
  • Date: Sun, 17 Aug 2003 11:02:00 -0600

At 09:43 -0700 8/17/03, Marconi wrote:
> I've tried: set myresults to do shell script "perl -e.....
>
>But myresult is empty.

Either perl is not "printing" anything or you really have a simple typo. Do you mean myresult or myresults?

>Ideally, I'd like the results to go to a file I designate but I'd be pleased just to get the output into an AS variable.

You can redirect the perl output using the > redirection operator within the shell script but you'll have to mess with "POSIX path of" and" quoted from of" to get the filename transmitted via AppleScript.

--

Applescript syntax is like English spelling:
Roughly, but not thoroughly, thought through.
_______________________________________________
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: 
 >do shell script Results? (From: Marconi <email@hidden>)

  • Prev by Date: do shell script Results?
  • Next by Date: Re: Script Editor 2 beta 2: how come app launches?
  • Previous by thread: do shell script Results?
  • Next by thread: Re: do shell script Results?
  • Index(es):
    • Date
    • Thread