Re: do shell script Results?
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.